 | Upgrade to 22/EM question (help needed!) |  |
Posted: 01/02/2007 10:22 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
OK I ran the code changes through EM but I got a critical error
Critical Error
FIND FAILED: In file [posting.php] could not find:
break;
case 'delete':
case 'poll_delete':
I looked myself and its there so why wasn't it picked up??
www.babydreamz.net/public/postingphp.txt
Next question its says
| Code:
|
#
#-----[ FIND ]---------------------------------------------
# Line 573
break;
case 'delete':
case 'poll_delete':
#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ($error_msg != '')
{
message_die(GENERAL_MESSAGE, $error_msg);
}
|
In my file I have this
| Code:
|
break;
case 'delete':
case 'poll_delete':
$is_auth_type = 'auth_delete';
break;
|
Do I do the ADD AFTER change, after the $is_auth_type = 'auth_delete'; code? or after the case 'poll_delete': ??
Thanks  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/02/2007 3:24 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
For a FIND to fail, all it takes is an extra character, space, or row to make the difference in an exact match or failure. In this case, the FIND has an extra line between the break; and the case 'delete':, which means there is not a match. So this is what you do to correct the problem...
OPEN
phpbb-2.0.21_to_2.0.22.txt
FIND
| Code:
|
#
#-----[ FIND ]---------------------------------------------
# Line 573
break;
case 'delete':
case 'poll_delete':
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]---------------------------------------------
# Line 573
break;
case 'delete':
case 'poll_delete':
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/02/2007 3:41 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
Nope still the same error  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/03/2007 5:08 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
I tried it manually and ran the install and its saying its updated. NO idea why EM didn't pick it up without the extra space  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/03/2007 5:37 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
Could you post the error message that you received this last time???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/03/2007 6:36 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
Critical Error
FIND FAILED: In file [posting.php] could not find:
break;
case 'delete':
case 'poll_delete': |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/04/2007 6:47 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
Do you want me to take a closer look at it for you Karen???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/04/2007 7:56 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
That would be good, then I will know for future installs
I'll pm you the details  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/06/2007 8:18 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
I don't even see the 2.0.22 Update in your admin/mods folder. Did you remove it or am I looking in the wrong place???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Upgrade to 22/EM question (help needed!) |  |
Posted: 01/07/2007 4:02 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 9:36 AM
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|