Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[color=red][size=18]Problem with Index page and parse error.


Guest

Recommended Posts

Posted

I've gone over this and over this and can't figure out the problem. This is the error I get:

 

Parse error: parse error, unexpected ';', expecting ')' in /home/virtual/site8/fst/var/www/html/osadmin/admin/index.php on line 56

and this is the index script:

array('title' => BOX_HEADING_TOOLS,

'image' => 'tools.gif',

'href' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'),

'children' => array(array('title' => TOOLS_BACKUP, 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools')),

array('title' => TOOLS_BANNERS, 'link' => tep_href_link(FILENAME_BANNER_MANAGER, 'selected_box=tools')),

array('title' => TOOLS_FILES, 'link' => tep_href_link(FILENAME_FILE_MANAGER, 'selected_box=tools'))));

 

$languages = tep_get_languages();

$languages_array = array();

for ($i=0; $i<sizeof($languages); $i++) {

$languages_array[] = array('id' => $languages[$i]['code'],

'text' => $languages[$i]['name']);

}

 

The last array('title' is line 56...................Please help me :cry:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...