Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Transfer Of Oscommerce Site


mhoppes

Recommended Posts

Posted

Hi,

We just transfered an osCommerce website from one webserver to another, and are now having an odd issue.

 

When we go to: http://site/admin and log in, we get a bunch of things that look like descriptors, rather then the text.. ie:

 

osCommerce

BOX_ENTRY_SUPPORT_SITE

BOX_ENTRY_SUPPORT_FORUMS

BOX_ENTRY_MAILING_LISTS

BOX_ENTRY_BUG_REPORTS

BOX_ENTRY_FAQ

BOX_ENTRY_LIVE_DISCUSSIONS

BOX_ENTRY_CVS_REPOSITORY

BOX_ENTRY_INFORMATION_PORTAL

 

My english language files are available in:

/home/site/public_html/site.com/catalog/includes/languages/english.php

and

/home/site/public_html/site.com/admin/includes/langues/english.php

Posted

You need to update your admin configure.php file.

Posted
You need to update your admin configure.php file.

 

Ok, what do I need to update it to? The configure.php file under the /admin/ section has nothing but defaults in it. Somehow this worked on the old server.

 

 

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

Posted

Ok,

Turning on errors in PHP shows this:

 

Warning: main(includes/languages/english/) [function.main]: failed to open stream: No such file or directory in /home/inet_chase/public_html/chase/admin/includes/application_top.php on line 134

 

Warning: main() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/share/pear') in /home/inet_chase/public_html/chase/admin/includes/application_top.php on line 134

 

I don't get it. Where do you go to change this, as this path looks right.. but obviously it must not be.

Archived

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

×
×
  • Create New...