Guest Posted July 8, 2003 Share Posted July 8, 2003 Hello everyone, I have just installed my cart and when I tried to access the modules, such as "payment" or "shipping, I get: Module Directory: /home/project/public_html/dir/dir/includes/modules/payment/ I dont know what causes the double directory as shown above and I cant see where in my configuration I could modify. Below is a copy of my configuration file in case anyone would like take a look. If another file is the cause please let me know... define('HTTP_SERVER', 'http://mydomain.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/aproject/public_html/dir'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/dir/'); 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/'); ? Link to comment Share on other sites More sharing options...
Silencer Posted July 8, 2003 Share Posted July 8, 2003 define('DIR_FS_DOCUMENT_ROOT', '/home/aproject/public_html/dir'); define('DIR_WS_CATALOG', '/dir/'); That's reason. Remove dir from one of those lines. define('DIR_FS_DOCUMENT_ROOT', '/home/aproject/public_html/dir'); define('DIR_WS_CATALOG', '/'); for example. There is always more than one way to do it. And always Keep It Simple, Stupid. Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 I removed the dir name from DIR_WS_CATALOG and it will allowed me to access the modules, however, now the link to my catalog and who knows what is effected. Is the link to the cart from the admin panel the only thing effected? If so, I guess I can live with it, but I find it hard to believe that the developers would define that just for the link in the admin cart... Link to comment Share on other sites More sharing options...
Silencer Posted July 9, 2003 Share Posted July 9, 2003 File /admin/includes/configure.php affects only admin area. There is always more than one way to do it. And always Keep It Simple, Stupid. Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 I am aware that the configuration file in the admin folder only effects the admin section. My concern was if, by leaving off the name of the directory, would anything else in the admin area be effected. I am concerned because this installation is peformed via an auto installation script in my cpanel. If this problem wont effect anything else I will update the installation script to leave out the directory name. However, if it does effect other features in the admin panel, then I must find another way. thanks again for your assistance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.