
Originally Posted by
glamourdolleyes
Some back details:
- Just moved from HostGator to GoDaddy on Sunday, September 28th. My Condolences, out of the frying pan, into the fire.
- Using version v1.5.1
- Admin section is working fine
- Customers are experiencing blank pages. The website works and then all of the sudden it doesn't work, getting blank pages and some even get server error.
- I have gotten many successful orders since transferring so it's not happening all the time.
I contacted GoDaddy and they say everything is working properly on their side and to contact Zen Cart. I contacted the guy who did my transfer and he says it's an issue with my hosting. I don't know what to do now. I am losing customers.
I have looked in the DEBUG files:
[06-Oct-2014 19:59:22 UTC] PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in /home/xxxxx/public_html/includes/functions/functions_general.php:614) in /home/xxxxx/public_html/includes/functions/password_funcs.php on line 86
[06-Oct-2014 19:59:22 UTC] PHP Warning: require(includes/classes/db/mysql/query_factory.php): failed to open stream: No such file or directory in /home/xxxxx/public_html/includes/functions/sessions.php on line 54
[06-Oct-2014 19:59:22 UTC] PHP Warning: require(includes/classes/db/mysql/query_factory.php): failed to open stream: No such file or directory in /home/xxxxx/public_html/includes/functions/sessions.php on line 54
[06-Oct-2014 19:59:22 UTC] PHP Fatal error: require(): Failed opening required 'includes/classes/db/mysql/query_factory.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/includes/functions/sessions.php on line 54
My website is glamourdolleyes.com.
Any suggestions? I am completely at a loss.
Notice the path (above in red) that is repeated. That tells me that your includes/configure.php has a bad listing.
PHP Code:
/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://yoursite.com');
define('HTTPS_SERVER', 'https://yoursite.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
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', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
This is how yours should look IF your shop is in the root directory of your site.