Hi Zenners!
I just installed the latest version of Zen Cart on my website hosted on Godaddy.
Here the details:
Zen Cart 1.3.8a
Installed/downloaded on: September 12, 2008
Domain name: domainname.com
URL: domainname.com/zencart/
Admin URL: domainname.com/zencart/admin/login.php
FTP path: /zencart/
Server technologies: LINUX, PHP 5.1, CGI 2.0, PERL 5.0, PYTHON 2.4, RUBY 1.8.4, MYSQL 4.0.27, 4.1, 5.0
Problem:
After installation completed, the store-front (/index.php) work fine and there are no error messages, but when I try to access the admin page (/admin/index.php), it does not load and display blank page. (IE: loading... forever; FireFox ErrMsg: Redirect Loop).
I have read through all the posts on this forum and tried out all the mentioned methods or solutions but unfortunately nothing does help. I even contact Godaddy's technical support for assistance but I have been told to consult Zen Cart technical personnel, because this is not their (Godaddy's) issue.
However, I have been working on the solution for about a week, all the following methods I have tired but still can't figure it out what's wrong:
1. Ensure the browser and Firewall allowed to accept cookies.
2. Ensure no file is uploaded with 0 byte.
3. Verify the admin configuration at /admin/includes/configure.php:
Set all HTTP/HTTPS SERVER to http://domainname.com (without prefix "www.", this is Godaddy's inistial setting, the prefix is not require.)
Set ENABLE_SSL_CATALOG & ENABLE_SSL_ADMIN to 'false'
Set SQL_CACHE_METHOD to 'none'
Full admin/includes/configure.php info:
define('HTTP_SERVER', 'http://domainname.com');
define('HTTPS_SERVER', 'https://domainname.com');
define('HTTP_CATALOG_SERVER', 'http://domainname.com');
define('HTTPS_CATALOG_SERVER', 'https://domainname.com');
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');
define('DIR_WS_ADMIN', '/zencart/admin/');
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
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', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_ADMIN', '/home/content/d/o/m/domainname/html/zencart/admin/');
define('DIR_FS_CATALOG', '/home/content/d/o/m/domainname/html/zencart/');
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_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'dbname.secureserver.net');
define('DB_SERVER_USERNAME', 'dbusername');
define('DB_SERVER_PASSWORD', 'dbpassword');
define('DB_DATABASE', 'dbusername');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home/content/d/o/m/domainname/html/zencart/cache');
4. Ensure the configure.php in /admin/includes and /includes are set to chmod 444.
5. Ensure the Database was created successfully.
6. Ensure website is CGI support and PHP version 5 and above. (I am using Godaddy's Deluxe Hosting plan hence the CGI support is enabled)
7. Read through the tutorials and tried all the instruction mentioned:
- I can't login to the Admin after installing Zen Cart
(https://www.zen-cart.com/tutorials/index.php?article=84)
- I am getting a blank page (or blank part of a page)
(https://www.zen-cart.com/tutorials/index.php?article=82)
- When I log into Admin, first page is slow or it just hangs forever.
(https://www.zen-cart.com/tutorials/index.php?article=81)
- I can't stay logged in to my Admin area -- or -- PHP Session Handling isn't working for me.
(https://www.zen-cart.com/tutorials/i...hp?article=281)
8. Uninstall / Re-install the Zen Cart, drop/delete DB and install new DB for Zen Cart
9. Install Zen Cart 1.3.8 from Godaddy's HostingConnection Site (https://hostingconnection.godaddy.com). The reason doing this is because to avoid the issue of "uploaded 0 bytes file" through FTP and also use the "friendly & compliance version" web application that already verified by Godaddy.
10. Install Zen Cart 1.3.8a onto my other website that hosted on other web hosting. Results- work perfectly, no issue with the same setting and configuration. (It proved that my computer's Browser and Firewall setting has no problem)
11. Changed setting:
- Set version_check=off in skip_version_check.ini file
- Tried renaming the .htaccess in the admin/includes directory, but it can't solved the problem.
- "cache" folder set to read/write (chmod 777)
12. Tried to load the admin page with/without the prefix (www.) e.g http://www.domainname/zencart/admin/login.php and http://domainname/zencart/admin/login.php
All these suggestions/solutions/methods don't work, I have no idea what to do now…
Any help would be much appreciated.
Best Regards,
Kenny










