aelalfy1989 Posted January 19, 2010 Share Posted January 19, 2010 Hi, I'm having a little trouble, I can't seem to set up my admin configure.php file to work properly, it loads perfectly but for example i get an error when i go on my catalog : Error: Catalog images directory does not exist: /home/images/ I also receive no modulus when i click on modules in admin, it shows the correct path from what i see but nothing in it, even tho there is files in that directory. I know I'm doing one thing wrong in the admin configure.php but i cant figure out what. The difference between the two servers are where the folders are located. I'll also attach the /home/include/configure.php at the end, to show what worked to produce a working website. Here is my old admin configure.php: <?php define('HTTP_SERVER', 'http://www.bestmacdiscounts.com'); define('HTTP_CATALOG_SERVER', 'http://www.bestmacdiscounts.com'); define('HTTPS_CATALOG_SERVER', 'http://www.bestmacdiscounts.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/bestmacd/public_html/'); define('DIR_WS_ADMIN', '/bestmacadmin/'); define('DIR_FS_ADMIN', '/home/bestmacd/public_html/bestmacadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/bestmacd/public_html/'); 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/'); Here is my new admin configure.php: <?php define('HTTP_SERVER', 'http://www.dare2review.com'); define('HTTP_CATALOG_SERVER', 'http://www.dare2review.com'); define('HTTPS_CATALOG_SERVER', 'http://www.dare2review.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/'); define('DIR_WS_ADMIN', '/bestmacadmin/'); define('DIR_FS_ADMIN', '/home/bestmacadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/'); 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/'); ?> Here is my new configure.php found in the /home/includes/configure.php <?php define('HTTP_SERVER', 'http://www.dare2review.com'); define('HTTPS_SERVER', 'http://www.dare2review.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.dare2review.com'); define('HTTPS_COOKIE_DOMAIN', 'www.dare2review.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ?> Thank you in advance, AE Link to comment Share on other sites More sharing options...
Guest Posted January 19, 2010 Share Posted January 19, 2010 Error: define('DIR_WS_ADMIN', '/bestmacadmin/'); should be: define('DIR_WS_ADMIN', '/bestmac/admin/'); Error: define('DIR_FS_ADMIN', '/home/bestmacadmin/'); should be: define('DIR_FS_ADMIN', '/home/bestmac/admin/'); Chris Link to comment Share on other sites More sharing options...
BryceJr Posted January 19, 2010 Share Posted January 19, 2010 These 2 lines are too short to qualify for a full path. define('DIR_FS_DOCUMENT_ROOT', '/home/'); define('DIR_FS_CATALOG', '/home/'); If you know your full path, use it. If not, try this. define('DIR_FS_DOCUMENT_ROOT', $_server['document_root']); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . '/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.