Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin DHTML Menus no longer work after PHP pgrade


PopTheTop

Recommended Posts

I did notice that when this error started to happen, PHP on the server was upgraded to PHP Version 4.3.10. I do not know if this means anything or if it is just a coincidence.

 

Now I need help...

My site was working great. Now the Admin will not load using the Admin DHTML Menus contribution.

 

I uploaded a FULL backup AND imported my SQL backup twice.

 

The store works fine at http://www.popthetop.com/catalog/index.php but the Admin will not load.

 

I can load the main Admin main index page with all the links and order status, but if I click on Configuration, Backup, Orders, or anything in the Admin, all I get is this...

 

Warning: main(includes/boxes/0): failed to open stream: No such file or directory in /home/popthet/public_html/catalog/admin/includes/header_navigation.php on line 30

Fatal error: main(): Failed opening required 'includes/boxes/0' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/popthet/public_html/catalog/admin/includes/header_navigation.php on line 30

 

 

Line 30 is:

foreach($box_files_list as $item_menu) require(DIR_WS_BOXES. $item_menu[1] );

 

 

Here is the whole header_navigation.php file:

<?php
/*
$Id: header_navigation.php,v 1.19 2003/04/27 16:11:52 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
Updated by Gnidhal ([email protected])
*/
$menu_dhtml = MENU_DHTML;
$box_files_list = array(  array('configuration'  , 'configuration.php', BOX_HEADING_CONFIGURATION),
                         array('catalog'        , 'catalog.php', BOX_HEADING_CATALOG),
                         array('modules'        , 'modules.php' , BOX_HEADING_MODULES),
                         array('customers'      , 'customers.php' , BOX_HEADING_CUSTOMERS),
                         array('taxes'          , 'taxes.php' , BOX_HEADING_LOCATION_AND_TAXES),
                         array('localization'   , 'localization.php' , BOX_HEADING_LOCALIZATION),
                         array('reports'        , 'reports.php' , BOX_HEADING_REPORTS),
                         array('tools'          , 'tools.php' , BOX_HEADING_TOOLS),
                         array('quicklinks'     , 'quicklinks.php' , 'Quick Links')
                       );

echo '<!-- Menu Bar START --><div class="menuBar" style="width:100%;">';
foreach($box_files_list as $item_menu) {
  echo "<a class=\"menuButton\" href=\"\" onclick=\"return buttonClick(event, '".$item_menu[0]."Menu');\" onmouseover=\"buttonMouseover(event, '".$item_menu[0]."Menu');\">".$item_menu[2]."</a>";
}
echo "</div><!-- Menu Bar END -->";
foreach($box_files_list as $item_menu) require(DIR_WS_BOXES. $item_menu[1] );

?>

 

 

Again...

I did notice that when this error started to happen, PHP on the server was upgraded to PHP Version 4.3.10. I do not know if this means anything or if it is just a coincidence.

 

If anyone can help, please state your input.

L8r,

PopTheTop

 

Published osC Contributions:

- eCheck Payment Module v3.1

- Reviews in Product Display v2.0

- Fancier Invoice & Packingslip v6.1

- Admin Notes / Customer Notes v2.2

- Customer Zip & State Validation v2.2

- Search Box with Dropdown Category Menu v1.0

 

Pop your camper's top today!

It's a popup thing...

You wouldn't understand

Link to comment
Share on other sites

Thanks, but last night the guys from the hosting server got it working. They said they made some configuration changes, but that means they could have done anything.

 

Anyway, everything is working now.

 

Thanks!

L8r,

PopTheTop

 

Published osC Contributions:

- eCheck Payment Module v3.1

- Reviews in Product Display v2.0

- Fancier Invoice & Packingslip v6.1

- Admin Notes / Customer Notes v2.2

- Customer Zip & State Validation v2.2

- Search Box with Dropdown Category Menu v1.0

 

Pop your camper's top today!

It's a popup thing...

You wouldn't understand

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...