PopTheTop Posted December 26, 2004 Share Posted December 26, 2004 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 (fx@geniehalles.com) */ $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. Quote 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 More sharing options...
user99999999 Posted December 28, 2004 Share Posted December 28, 2004 Hi, I messed around with the froeach() section there and figured it must be some kind of bug. And walla.... You need to update Zend Optimzer. http://www.zend.com/zend/week/week215.php Quote Link to comment Share on other sites More sharing options...
PopTheTop Posted December 28, 2004 Author Share Posted December 28, 2004 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! Quote 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 More sharing options...
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.