jreid Posted August 30, 2010 Share Posted August 30, 2010 I messed up something now I can login to my admin side but I it will not connect to any modules or my images. Can someone help me with this issue this is very urgent. My code: <?php define('HTTP_SERVER', 'http://www.heattreatdepot.com'); define('HTTP_CATALOG_SERVER', 'http://www.heattreatdepot.com'); define('HTTPS_CATALOG_SERVER', 'http://www.heattreatdepot.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/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/'); define('DB_SERVER', 'xxx.xxx.com'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'heattreatdepot'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
FIMBLE Posted August 30, 2010 Share Posted August 30, 2010 this define('DIR_FS_DOCUMENT_ROOT', '/'); this define('DIR_FS_ADMIN', '/'); and this define('DIR_FS_CATALOG', '/public_html/'); are all incorrect, they should be your absolute path, something like /home/user/public_html/ and /home/user/public_html/admin/ Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
jreid Posted August 30, 2010 Author Share Posted August 30, 2010 this define('DIR_FS_DOCUMENT_ROOT', '/'); this define('DIR_FS_ADMIN', '/'); and this define('DIR_FS_CATALOG', '/public_html/'); are all incorrect, they should be your absolute path, something like /home/user/public_html/ and /home/user/public_html/admin/ Nic Nic, I changed it to this and still doesn't work <?php define('HTTP_SERVER', 'http://www.heattreatdepot.com'); define('HTTP_CATALOG_SERVER', 'http://www.heattreatdepot.com'); define('HTTPS_CATALOG_SERVER', 'http://www.heattreatdepot.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/HTDepot/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/HTDepot/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/HTDepot/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/'); define('DB_SERVER', 'xxx.xxx.com'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'heattreatdepot'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
MrPhil Posted August 30, 2010 Share Posted August 30, 2010 Is your store installed into /home/HTDepot/public_html/catalog by any chance? Link to comment Share on other sites More sharing options...
jreid Posted August 30, 2010 Author Share Posted August 30, 2010 Is your store installed into /home/HTDepot/public_html/catalog by any chance? No I put it straight into public_html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.