montytx Posted January 14, 2005 Posted January 14, 2005 Not sure what I changed inthe admin Index file but I can no longer get to the admin console. Can anyone tell me what this error should be: Parse error: parse error, unexpected ',' in /home/downdogs/public_html/oscommerce/admin/index.php on line 45
WiseWombat Posted January 14, 2005 Posted January 14, 2005 Not sure what I changed inthe admin Index file but I can no longer get to the admin console. Can anyone tell me what this error should be:Parse error: parse error, unexpected ',' in /home/downdogs/public_html/oscommerce/admin/index.php on line 45 <{POST_SNAPBACK}> Here are the lines from 41/45 try compairing the two?? array('title' => BOX_HEADING_LOCALIZATION, 'image' => 'localization.gif', 'href' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization'), 'children' => array(array('title' => BOX_LOCALIZATION_CURRENCIES, 'link' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')), array('title' => BOX_LOCALIZATION_LANGUAGES, 'link' => tep_href_link(FILENAME_LANGUAGES, 'selected_box=localization')))), ( WARNING ) I think I know what Im talking about. BACK UP BACK UP BACK UP BACK UP
montytx Posted January 14, 2005 Author Posted January 14, 2005 I dont even have that line in my admin. I added it under the pretense that maybe I deleted it. But I am still getting the same error. I cant find a comma anywhere to remove. Can you possibly paste the entire admin file up so I can overwrite all of mine. Thanks in advance
Guest Posted January 14, 2005 Posted January 14, 2005 Your 41-45 match mine. I think we need more code to compare.
WiseWombat Posted January 15, 2005 Posted January 15, 2005 Your 41-45 match mine. I think we need more code to compare. <{POST_SNAPBACK}> here is line 46/50 array('title' => BOX_HEADING_REPORTS, 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), ( WARNING ) I think I know what Im talking about. BACK UP BACK UP BACK UP BACK UP
Guest Posted January 15, 2005 Posted January 15, 2005 here is line 46/50 array('title' => BOX_HEADING_REPORTS, 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), <{POST_SNAPBACK}> Post 1-45. If the error message identifies line 45 as where it sees a problem, the error is on that line or above.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.