 | [Solved] Arcade Mod Error |  |
Posted: 04/05/2007 4:33 AM |
|
|
|
|
|
| Seagull |
| Posts |
111 |
| Word Cnt. |
6,112 |
| BDay |
May 8 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 12:56 PM
|

|
|
|
|
 |
I was installing arcade mod 2.1.8 and have the following error
Critical Error
IN-LINE AFTERADDFAILED: Malformed script. An IN-LINE FIND was not previously performed.
MOD script line #473 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Arcade Mod Error |  |
Posted: 04/05/2007 7:31 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 8:56 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| Can you attach the MOD script |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Arcade Mod Error |  |
Posted: 04/05/2007 11:14 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:56 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, as AB mentioned, it would help if we could see a copy of the MOD script that you are using. It sounds like an IN-LINE FIND was accidentally deleted...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Arcade Mod Error |  |
Posted: 04/07/2007 12:38 AM |
|
|
|
|
|
| Seagull |
| Posts |
111 |
| Word Cnt. |
6,112 |
| BDay |
May 8 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 12:56 PM
|

|
|
|
|
 |
sighs i tried but when use post reply to add attachment i dont get the buttons to submit post
Edit:
I just remembered something that struck me as odd , I had dl'ed the mod from here and was installing it and had to do a few edits to make it keep progressing then after that error and a few trys at fixing it i came bk and dl'ed it again to see if i did erase something b4 i got to it and the odd thing was in my ezmod panel i dont think it was reading it properly , I say this because as i got to looking around i noticed that in earlier parts of the install it said find .... add ..... inline find,...... and on the part that i had error it said find not inline find so i went and looked at both copies of the mod and both my mods said inline find on them |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Arcade Mod Error |  |
Posted: 04/07/2007 10:58 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:56 PM
Location: St Pete, FL
|

|
|
|
|
 |
Could you provide a text link to the MOD script that is causing the problem? It only takes a small mistake to cause a problem like you are describing...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Arcade Mod Error |  |
Posted: 04/07/2007 11:52 AM |
|
|
|
|
|
| Seagull |
| Posts |
111 |
| Word Cnt. |
6,112 |
| BDay |
May 8 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 12:56 PM
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Arcade Mod Error |  |
Posted: 04/07/2007 1:05 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:56 PM
Location: St Pete, FL
|

|
|
|
|
 |
The problem is in the FIND statement. The # sign is a comment for EM and it ignores everything on the rest of the line. So this is the problem:
OPEN
arcade_mod_2.1.8.mod
FIND
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
# SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm,
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm,
|
I would shorten the FIND to this:
REPLACE WITH
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
SET " . $username_sql .
|
Save, upload, and try again using EM...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Arcade Mod Error |  |
Posted: 04/07/2007 1:48 PM |
|
|
|
|
|
| Seagull |
| Posts |
111 |
| Word Cnt. |
6,112 |
| BDay |
May 8 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 12:56 PM
|

|
|
|
|
 |
| Ok going to give it a try now |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Arcade Mod Error |  |
Posted: 04/07/2007 2:06 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 12:56 PM
Location: St Pete, FL
|

|
|
|
|
 |
Good Luck with it Cowboy69!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Arcade Mod Error |  |
Posted: 04/07/2007 2:14 PM |
|
|
|
|
|
| Seagull |
| Posts |
111 |
| Word Cnt. |
6,112 |
| BDay |
May 8 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 12:56 PM
|

|
|
|
|
 |
Blah this is where i got stuck before then when tried to edit the find i got that error i posted
Critical Error
FIND FAILED: In file [includes/usercp_register.php] could not find:
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm,
and this is what I had that you suggested SET " . $username_sql .
this is the last 3 things in ezmod where says actions preformed
FIND #466
SET " . $username_sql .
IN-LINE FIND #469
, user_notify_pm = $notifypm,
IN-LINE AFTERADD #473
games_block_pm = $games_block_pm, |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|