I 4 copies of oscommerce working on one server, i am doing this because the client wants the shop for four different countries and it works out best this way.
The shop is mainly UK. So the main shop sits happily in a folder called johns (this is temporary)
The other shops sit in johns/country1 johns/country2 etc. The country1,2 and 3 work perfectly.
The main UK shop works fine except for the admin section.
This is the state of my admin section
[img]http://img831.imageshack.us/img831/1079/brokenadmin.png[/img]
I tried copying the files from another countries admin and changed the includes/configure.php accordingly.
This hasnt worked, my country1 admin looks like this
[img]http://img685.imageshack.us/img685/6266/workingadmin.png[/img]
This is the code in configure.php (minus the database code). Ive tried using the database from the other countries so I dont think its database related.
Are there any other files I might need to edit? Ive tried the stylesheet too.
define('HTTP_SERVER', 'http://www.mywebsite.com/johns');
define('HTTP_CATALOG_SERVER', 'http://www.mywebsite.com/johns');
define('HTTPS_CATALOG_SERVER', 'http://www.mywebsite.com/johns');
define('ENABLE_SSL_CATALOG', 'false');
define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/mywebsite.com/httpdocs/johns/');
define('DIR_WS_ADMIN', '/admin/');
define('DIR_FS_ADMIN', '/var/www/vhosts/mywebsite.com/httpdocs/johns/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_FS_CATALOG', '/var/www/vhosts/mywebsite.com/httpdocs/johns/');
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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');






Find content
Not Telling
