Phantomhp Posted September 28, 2005 Posted September 28, 2005 Hey, might be something easy I am overlooking but I can go to my modules page in my admin section but nothing shows up except the Install button and directory location. Acts like there are no modules in the folder but there is. Here is my /includes and /admin/includes config files (minus database name and password) /includes/config define('HTTP_SERVER', 'http://www.phantomhp.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.phantomhp.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/estore/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/estore/'); 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', '/estore/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'mysql63.secureserver.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'phantomhp_estore'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> /admin/includes/config define('HTTP_SERVER', 'http://www.phantomhp.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'http://www.phantomhp.com/estore'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/estore/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/estore/admin/'); // absolute path required define('DIR_FS_ADMIN', '/estore/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/estore/'); // absolute path required define('DIR_FS_CATALOG', '/estore/'); // absolute path required 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 our database connection define('DB_SERVER', 'mysql63.secureserver.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'phantomhp_estore'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Here is a screenshot of how it looks: Thanks, Mike
Guest Posted September 28, 2005 Posted September 28, 2005 You may want to look these over - and change the values. from your admin config: define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'http://www.phantomhp.com/estore'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module The above reads "Don't use SSL for catalog module (false) - BUT - you have defined the https URL - AND - did not define the http URL. I know these paths are relative to the doc root - but for troubleshooting purposes I would put in the full path: define('DIR_FS_DOCUMENT_ROOT', '/estore/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/estore/admin/'); // absolute path required define('DIR_FS_ADMIN', '/estore/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/estore/'); // absolute path required define('DIR_FS_CATALOG', '/estore/'); // absolute path required Then restart your web server and try again. Good Luck, Tim
dasonix2000 Posted September 28, 2005 Posted September 28, 2005 im also haveing this same problem after a server move i have tried the above and all is still the same
Phantomhp Posted September 28, 2005 Author Posted September 28, 2005 Yeah, i fixed that problem but still nothing. I keep changing things but nothing ever helps. I am on GoDaddy servers using a Linux box so not sure if that will make a difference as it seems everything else is working fine. Mike
♥Vger Posted September 28, 2005 Posted September 28, 2005 define('DIR_FS_DOCUMENT_ROOT', '/estore/'); needs to be the full path, something like /var/www/html/estore/ define('DIR_FS_ADMIN', '/var/www/html/estore/admin/'); // example define('DIR_FS_CATALOG', '/var/www/html/estore/'); // example If the configure.php files are set correctly and the modules still don't appear then it's probably due to wrong permissions on the folders - which need to be 755 or 777. Vger
Phantomhp Posted September 28, 2005 Author Posted September 28, 2005 Thanks, I will try that and check my permissions In my FTP program all I see is / as my root (since I am on linux) then whatever folders are after which is estore then so on. Mike
Guest Posted September 28, 2005 Posted September 28, 2005 you can also try $DOCUMENT_ROOT for the setting
Phantomhp Posted October 2, 2005 Author Posted October 2, 2005 Well still no luck. I have tried everything it seems. I put the absolute path as it shows in my wsftp program yet nothing. When I put the real path then it puts that path after the webaddress and displays page can not be found. Fixed one problem switching from a windows server to linux which in turn caused others problems. Any idea are greatly appreciated Thanks, Mike
EdTheGreat Posted October 2, 2005 Posted October 2, 2005 Well still no luck. I have tried everything it seems. I put the absolute path as it shows in my wsftp program yet nothing. When I put the real path then it puts that path after the webaddress and displays page can not be found. Fixed one problem switching from a windows server to linux which in turn caused others problems. Any idea are greatly appreciated Thanks, Mike Hi Mike Thanks for the hint abt linux...:) Replace your path to be like define('DIR_FS_ADMIN', '/home/estore/public_html/admin/'); // example define('DIR_FS_CATALOG', /home/estore/public_html/'); // example Cheers! Ed
Phantomhp Posted October 2, 2005 Author Posted October 2, 2005 Thanks for the advice. I am no linux expert so switching to a linux box has thrown me off alittle bit. In GoDaddy FAQ's it shows to use this as my absolute path: This is the absolute path for your Linux hosting account: /home/content/1/2/3/username/html/ Where "/1/2/3/" are the first three letters of your user name and "username" is the user name you used to set up your hosting account. For example, if your user name were "johndoe," then your absolute path would be: /home/content/j/o/h/johndoe/html I have done it with their path and all I get is my 404 page. If I do the "estore/admin" type solution the modules page pulls up but no modules are there. Shouldn't be this hard but it is it kicking my butt lol. Thanks, Mike
Phantomhp Posted October 2, 2005 Author Posted October 2, 2005 Anybody have any other ideas of why this problem is happening?
Phantomhp Posted October 3, 2005 Author Posted October 3, 2005 YES!! Finally got it all fixed and I feel stupid. The path was correct the entire time. Forgot that Linux is case sensitive. Used a small php file to find the absolute path and copy and pasted and worked. Anybody else who needs help try this: Put the text below in a text file and save it as path.php <?php$p = getcwd(); echo $p; ?> Then put it on your webserver where you want the path to be and go to that file (ex: www.yourdomain.com/path.php). This will display your absolute path. Mike
Recommended Posts
Archived
This topic is now archived and is closed to further replies.