Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please show me an example admin configure.php?


SoulAssassin

Recommended Posts

Posted

It worked fine locally, but now my paths in the admin configure.php doesn't work.

It's asking for a absolute path, which was when I was running locally

Module Directory: C:/apache2triad/htdocs/catalog/includes/modules/payment/

 

here's my configuration:

define('HTTP_SERVER', 'http://www.mydomain.co.za');

define('HTTP_CATALOG_SERVER', 'http://www.mydomain.co.za');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'http://www.mydomain.co.za');

define('DIR_FS_DOCUMENT_ROOT', '/home/nas17ent/s/mydomain.co.za/user/htdocs/');

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/nas17ent/s/mydomain.co.za/user/htdocs/catalog/admin/');

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/nas17ent/s/mydomain.co.za/user/htdocs/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/');

Posted

Create a file called phpinfo.php delete all code inside this file and insert this code

 

<?php
phpinfo()
?>

 

...and upload to your root folder - load this file in your browser and look at your paths - this will give you the right paths to add into your respective configure files - any problems then let me know and i am happy to login with your permission to set the configure files up for you

 

regards

 

Mark

Regards

 

Mark A Reynolds

Posted

where is the store located in catalog folder or root

 

define('DIR_FS_DOCUMENT_ROOT', '/home/nas17ent/s/mydomain.co.za/user/htdocs/');

Regards

 

Mark A Reynolds

Posted

Thanks for the quick response.

Store is located in catalog folder.

 

I would greatly appreciate it if you could help me out with this config problem.

 

I will try your method, but if you mail me at [email protected] , I will give you the permissions.

 

Thanks

Posted
Thanks for the quick response.

Store is located in catalog folder.

 

I would greatly appreciate it if you could help me out with this config problem.

 

Thanks

 

define('DIR_FS_DOCUMENT_ROOT', 'http://www.mydomain.co.za');
define('DIR_FS_DOCUMENT_ROOT', '/home/nas17ent/s/mydomain.co.za/user/htdocs/');
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/nas17ent/s/mydomain.co.za/user/htdocs/catalog/admin/');
define('DIR_WS_CATALOG', '/'); // absolute path required

 

you have the DIR_FS_DOCUMENT_ROOT defined twice and the path for the WS_CATALOG is wrong

try this

define('DIR_FS_DOCUMENT_ROOT', '/home/nas17ent/s/mydomain.co.za/user/htdocs/catalog/');
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/nas17ent/s/mydomain.co.za/user/htdocs/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

  • 4 weeks later...

Archived

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

×
×
  • Create New...