Parse error, unexpected
T_string on line 292 in public_html/forumsdirectory/magic_toolbox.php
I'm not a coder but I was compelled to find the parse and syntax errors.. Here is what I edited to make this work in my VB 3.6.9 Once I cleared line 292, then line 296 and so on. Everything in Red is the error
I just Installed this today.
So as a note to the Author of the Magic Toolbox: For VB 3.6.9 what you have available for down load here causes syntax and parse errors located in the magic_toolbox.php This is a great mod, just needs a little clean up.
In Your magic_toolbox.php
Find
Code:
<td><a name="H_'.$tool.'"><div style="background-color:'.$firstaltcolor.';padding:5px;"><img border="1" align="middle" src="images/toolbox/'.$tool.'.gif" onclick="openHelp(\'T_'.$tool.'\')" style="cursor:hand"></div>';
echo '<div name="DIVs" id="T_'.$tool.'" style="background-color:'.$secondaltcolor.';padding:5px;display:';
if ($toolsel == "")
Replace with
Code:
<td><a name="T_'.$tool.'"><div style="background-color:'.$firstaltcolor.';padding:5px;"><img border="1" align="middle" src="images/toolbox/'.$tool.'.gif" onclick="openHelp(\'T_'.$tool.'\')" style="cursor:hand"></div>';
echo '<div name="DIVs" id="T_'.$tool.'" style="background-color:'.$secondaltcolor.';padding:5px;display:';
if ($toolsel == "")
Now for the Syntax Errors:
Find
Code:
????? ??????? :
15 : use numbers ( 0 = didin't parts numbers ? more than 0 = show parts numbers and begin from the number you enter )
Replace
didin't with didnot
Find
Code:
Note :
on poem you should use (=) to Separat betwen the lines partes . and if there Just one part don't use ( =)
Replace the word
don't with dont
The big problem was the apostrophe
' added to a few words.
The template edits work good
The uploads work good
The.xml product works good
Just the magic_toolbox.php tweak needed
Hope this helps someone.