natewlew Posted September 4, 2006 Share Posted September 4, 2006 I moved my store to a new server and now it is broken. When you go to my home page you can see my new products and specials. You can go to the new products and specials page and see the items but when you click on the item itself it says "Product not found!". My categories are also broke. When you click on one of the categories it does nothing. It says cpath=xx in the url bar and just stays on my home page. In the admin section I have two errors at the top: Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /path~to~my~dir/admin/includes/application_top.php on line 133 Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/share/pear') in /path~to~my~dir/admin/includes/application_top.php on line 133 the includes/languages/english/ is there. I am really stuck, Please Help :blink: Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search! Link to comment Share on other sites More sharing options...
pyramids Posted September 4, 2006 Share Posted September 4, 2006 I moved my store to a new server and now it is broken. When you go to my home page you can see my new products and specials. You can go to the new products and specials page and see the items but when you click on the item itself it says "Product not found!". My categories are also broke. When you click on one of the categories it does nothing. It says cpath=xx in the url bar and just stays on my home page. In the admin section I have two errors at the top:the includes/languages/english/ is there. I am really stuck, Please Help :blink: With out more info it looks like the includes/config.php file needs to be corrected Have you move the site to a different folder? Link to comment Share on other sites More sharing options...
natewlew Posted September 4, 2006 Author Share Posted September 4, 2006 No, its in the root directory. I believe your right. I doesn't matter what I put in my configure.php. It does the same thing. Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search! Link to comment Share on other sites More sharing options...
pyramids Posted September 4, 2006 Share Posted September 4, 2006 post the part of your config file that shows the paths as shown below. [DO NOT post any user info] (Replace your user name with USERNAME) (Replace your domain name with DOMAIN) define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I think this will show where the problem is! Link to comment Share on other sites More sharing options...
natewlew Posted September 4, 2006 Author Share Posted September 4, 2006 define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.domain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/home/domain/www/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I'm running Fedora Core 5 and I thought it was a problem with selinux but I disabled it and I still have the same problem. Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search! Link to comment Share on other sites More sharing options...
natewlew Posted September 5, 2006 Author Share Posted September 5, 2006 I canned fedora core 5 and installed Engarde. Solved my problem. Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search! Link to comment Share on other sites More sharing options...
♥Vger Posted September 5, 2006 Share Posted September 5, 2006 You could have just turned 'Use Search Engine Friendly URL's' to false in osCommerce admin. They only work on some servers. Vger Link to comment Share on other sites More sharing options...
natewlew Posted September 9, 2006 Author Share Posted September 9, 2006 I have now moved again to suse and it has the same problem. I searched oscomerce php5 and found a post saying: 1: Change in php.ini register_globals = On register_long_arrays = On All I had to do was turn the register_long_arrays = On and you can now go to all the products in my store. I'm not sure why I had the errors in the admin section though? Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search! Link to comment Share on other sites More sharing options...
BadChoice Posted December 23, 2009 Share Posted December 23, 2009 I have now moved again to suse and it has the same problem. I searched oscomerce php5 and found a post saying: 1: Change in php.ini register_globals = On register_long_arrays = On All I had to do was turn the register_long_arrays = On and you can now go to all the products in my store. I'm not sure why I had the errors in the admin section though? Thankyou this is useful for me !!! about you problem: "Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /path~to~my~dir/admin/includes/application_top.php on line 133" i solved it in this way: Open :/admin/includes/application_top.php and near line 133 replace: $current_page = basename($PHP_SELF); with: $current_page = basename($_SERVER['PHP_SELF']) ; i'm not sure about the reason, but it works i think the cause amy be the version of PHP in the new server. Bad Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.