Guest Posted December 31, 2004 Posted December 31, 2004 Jack, Finally figured out how to get the SQL script to load into the database, but the same error that I had before (Not mentioned until now) still arises. Here it is: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/upper/public_html/catalog/admin/includes/boxes/tools.php on line 29 :blink: Have no idea how this is happening. Followed installation to the "T" Any help would be great. P.S. Thanx for all the previous help you have provided. Helped out alot. Quote
Guest Posted December 31, 2004 Posted December 31, 2004 Its a typo on or above line 29 in catalog/admin/includes/boxes/tools.php - post part of that file. Matti Quote
Guest Posted December 31, 2004 Posted December 31, 2004 Jack, Finally figured out how to get the SQL script to load into the database, but the same error that I had before (Not mentioned until now) still arises. Here it is: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/upper/public_html/catalog/admin/includes/boxes/tools.php on line 29 :blink: Have no idea how this is happening. Followed installation to the "T" Any help would be great. P.S. Thanx for all the previous help you have provided. Helped out alot. <{POST_SNAPBACK}> Posting the code around the line indicated (like lines 20 to 35, for example) would make it easier for someone to figure out what the problem is if it is a coding problem. Quote
Guest Posted December 31, 2004 Posted December 31, 2004 Sorry bout that. Kinda new at the "posting" Thing. Here is the code: if ($selected_box == 'tools') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' . '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_DEFINE_LANGUAGE) . '" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' '<a href="' . tep_href_link(FILENAME_MAIL) . '" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SEO_ASSISTANT) . '" class="menuBoxContentLink">' . BOX_TOOLS_SEO_ASSISTANT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'); } Quote
Guest Posted December 31, 2004 Posted December 31, 2004 More info: the only thing added to this file was this line: '<a href="' . tep_href_link(FILENAME_SEO_ASSISTANT) . '" class="menuBoxContentLink">' . BOX_TOOLS_SEO_ASSISTANT . '</a><br>' . Other than that, it is the original. Oh, I belive that I removed this line and restore the file back to its orginal content and recieved the same error. I am attempting to install Jacks Contribution of SEO Assistant. Quote
Guest Posted December 31, 2004 Posted December 31, 2004 (edited) More info: the only thing added to this file was this line: '<a href="' . tep_href_link(FILENAME_SEO_ASSISTANT) . '" class="menuBoxContentLink">' . BOX_TOOLS_SEO_ASSISTANT . '</a><br>' . Other than that, it is the original. Oh, I belive that I removed this line and restore the file back to its orginal content and recieved the same error. I am attempting to install Jacks Contribution of SEO Assistant. <{POST_SNAPBACK}> Change line 29 from this: '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' to this: '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' . (in other words, add " ." without the quotes at the end of the line). Better yet, comment out the line by changing it to this: //'<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' Edited December 31, 2004 by baddog Quote
Guest Posted January 1, 2005 Posted January 1, 2005 >_< DOH! You may verbaly mame me now. I can not belive I missed that. It even took me while to figure out the answer you sent. (Didn't see the period) and it even said it right there. Don't really understand though how it got removed. All I did was add a line of code. As soon as I put the period back, everything worked great, the first time. Thank you for your time. It is appreciated. Quote
Guest Posted January 1, 2005 Posted January 1, 2005 >_< DOH! You may verbaly mame me now. I can not belive I missed that. It even took me while to figure out the answer you sent. (Didn't see the period) and it even said it right there. Don't really understand though how it got removed. All I did was add a line of code. As soon as I put the period back, everything worked great, the first time. Thank you for your time. It is appreciated. <{POST_SNAPBACK}> My pleasure. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.