Patch Posted May 23, 2003 Posted May 23, 2003 Hi, I'm having problems with my Payment module. I have followed a few other threads that have had a similar problem to me, but no luck so far. The message i get when accessing the Payment Module section is this: Module Directory: /home2/inetters/public_html/catalog/includes/modules/payment/ The configure.php looks like this, if it helps: define('HTTP_SERVER', 'http://www.purospuros.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.purospuros.com'); define('HTTPS_CATALOG_SERVER', 'http://www.purospuros.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); 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/'); Hope this helps. Any suggestions? Thanks. Patch
Ajeh Posted May 23, 2003 Posted May 23, 2003 Change this: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); To be your real path to your root rather than the reference $DOCUMENT_ROOT
Patch Posted May 27, 2003 Author Posted May 27, 2003 Thanks for your help. Still having the same problem, have entered the root document which i grapped from the server info. My configure.php now looks like this. define('HTTP_SERVER', 'http://www.purospuros.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.purospuros.com'); define('HTTPS_CATALOG_SERVER', 'http://www.purospuros.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', /home2/inetters/public_html)// Is this correct? Thanks. Patch
Ajeh Posted May 28, 2003 Posted May 28, 2003 You are missing the quote marks: define('DIR_FS_DOCUMENT_ROOT', '/home2/inetters/public_html')//
Ajeh Posted May 28, 2003 Posted May 28, 2003 And I am assuming you already have a semi-colon on the end of that define ... define('DIR_FS_DOCUMENT_ROOT', '/home2/inetters/public_html');
Patch Posted May 29, 2003 Author Posted May 29, 2003 Yeh i realised after i got a parse error. Now sorted, thanks for your help! Patch
Recommended Posts
Archived
This topic is now archived and is closed to further replies.