Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Oscommerce not working after moved to a new server


Recommended Posts




Since I moved all my website to a new server, oscommerce is not working good, now when I click to any categories on the homepage it's not working and I only stay in the homepage. >_<


Also on the admin, it has the same problem, click to any option of the menu and it refresh the page but still stay on the same page.


The writing of all the title on the admin has been changed to (i give you some examples) :












Every title on the admin section has been changed like that, so I do not understand what's the problem, if somebody could help me, thank you very much.

Link to comment
Share on other sites



I have checked and everything are correct with the files, on my previous server all was working fine, just after move to the new server I have this issue, so I think it should be a problem with the server, I have contact also the support of the company who manage the server but they are apparently not available to resolve it...


Anybody know if it's possible that the problem can be on some php option not active on the server?

Link to comment
Share on other sites

Your issue is the language files need to show the correct name instead of what your seeing? In other words the language files cant be found. Either you missed moving the language files or you have the wrong address to them in your admin config.php.

Link to comment
Share on other sites

My config.php :




osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://****'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://****'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://****');

define('HTTPS_COOKIE_DOMAIN', 'http://****');

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', '/var/www/vhosts/****.com/httpdocs/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '****');

define('DB_SERVER_PASSWORD', '****');

define('DB_DATABASE', '****');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'




There is any problem on the file config.php ?

Link to comment
Share on other sites


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

  • Create New...