Jump to content


Corporate Sponsors


Latest News: (loading..)

silv3r007

Member Since 15 Oct 2008
Offline Last Active Jan 05 2012, 20:10
-----

Topics I've Started

Admin section appears broken, style is messed up and options are expanded

19 August 2011, 14:33

Hello Guys,

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/');

Discount codes and paypal express

14 July 2011, 23:09

Hi there,

I have the KGT Discount Code system applied to my website.

It works fine with the credit card option. I tried applying the paypal express patch but after installing it, it not only doesnt apply the discount but it also takes the total order amount and trebles it!

anyone any idea why this would happen?