Forums / Basic Configuration / Blank Index Page

Blank Index Page

Locked

Views: 3,978

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
4 Nov 2006, 11:52 PM
#1
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Blank Index Page

I have searched the forums and found similiar problems but nothing that has helped me resolve this matter. My problem is as follows:

Administration works fine, everything is there, everything is listed, I can access everything with no problem. When I try to run the store front however I get a blank page. I try to look at the source code but it is blank as well. The site is https://www.abundanthomeliving.com. You will need to specify index.php right now because I have had to put back the index.html until I resolve this problem. The admin user is admin; password admin (don't worry, I have a backup of the data and can restore anything if someone tries to be malicious but please don't).

Here is the information from the Admin Version:

Server Host: script3.scaledsystems.com (209.132.98.45)
Server OS: FreeBSD 5.4-RELEASE
Server Date: 11/04/2006 15:30:05
PHP Version: 4.4.2 (Zend: 1.3.0)
Database Host: mysql1.simplenet.com (209.132.98.61)
Database: MySQL 4.1.12-SN-LinuxThreads-log
Database Date: 11/04/2006 15:30:05
HTTP Server: Apache

I'm running Zen-Cart 1.3.6. This works on my development system but when I loaded it on this server it no longer works. The way I installed it was to ftp all the files from my development server to this one, ran zc_install as a new install to build the database and config files properly and make sure all went well. Then I went into PHPAdmin and loaded a copy of the data from my server so that this one is populated. Then I signed in to the admin and checked everything. All the products are there, all my settings are there, and so on. Then I tried to bring up the storefront and nothing! :no:

Here are the config files:
admin/includes/configure.php:

<?php
//
/**
*

  • @package Configuration Settings
  • @copyright Copyright 2003-2006 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */

/*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. /
/
**** The 2 files should be kept separate and not used to overwrite each other. ***********/

// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
/*

  • URLs for your site will be built via:
  • HTTP_SERVER plus DIR_WS_ADMIN or
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
    
  • HTTP_SERVER plus DIR_WS_CATALOG or 
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    
  • ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://www.abundanthomeliving.com');
    define('HTTPS_SERVER', 'https://abundanthomeliving.ssl.simplenet.com');
    define('HTTP_CATALOG_SERVER', 'http://www.abundanthomeliving.com');
    define('HTTPS_CATALOG_SERVER', 'https://abundanthomeliving.ssl.simplenet.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', '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_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

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/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/shared/links/a/b/u/n/abundanthomeliving.com/site/htdocs/admin/');
define('DIR_FS_CATALOG', '/shared/links/a/b/u/n/abundanthomeliving.com/site/htdocs/');

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 our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'ahl');
define('DB_SERVER', 'mysql1.simplenet.com');
define('DB_SERVER_USERNAME', '2931_ahl');
define('DB_SERVER_PASSWORD', 'REMOVED FOR SECURITY REASONS');
define('DB_DATABASE', '2931_ZenCart');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/shared/links/a/b/u/n/abundanthomeliving.com/site/htdocs/cache');

?>

includes/configure.php

<?php
/**
*

  • @package Configuration Settings
  • @copyright Copyright 2003-2006 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */

/*************** 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.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.abundanthomeliving.com');
define('HTTPS_SERVER', 'https://abundanthomeliving.ssl.simplenet.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/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/shared/links/a/b/u/n/abundanthomeliving.com/site/htdocs/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'ahl');
define('DB_SERVER', 'mysql1.simplenet.com');
define('DB_SERVER_USERNAME', '2931_ahl');
define('DB_SERVER_PASSWORD', 'REMOVED FOR SECURITY REASONS');
define('DB_DATABASE', '2931_ZenCart');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/shared/links/a/b/u/n/abundanthomeliving.com/site/htdocs/cache');

?>

I have tried loading the files several times (:cry: arg!!) thinking maybe a file was corrupted but no help. Any assistance would be greatly appreciated and time is of the essance as this is a client's site that was supposed to go live last night.

5 Nov 2006, 12:28 AM
#2
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

I forgot to mention, I also tried changing the template to the Classic Contemporary Green thinking some of my changes might have broken something, but this didn't work either.

5 Nov 2006, 12:36 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Blank Index Page

are you showing any errors in the error logs?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

5 Nov 2006, 12:46 AM
#4
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

Unfortunately I don't have access to any error logs from the server.

5 Nov 2006, 12:52 AM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Blank Index Page

no cpanel access?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

5 Nov 2006, 1:18 AM
#6
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

I have access to the control panel but there are no logs there, other than bandwith statistics that is.

5 Nov 2006, 1:56 AM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Blank Index Page

simplenet right? I went to their site and crawled through the demo "control panel"......sucks. Personally I would pick up and move.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

5 Nov 2006, 1:59 AM
#8
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

Yea, but unfortunately that's not my decision. This is a client's site, not mine. I've tried suggesting a cheaper better alternative but they like these guys.

5 Nov 2006, 2:02 AM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Blank Index Page

Sounds like an incorrect path setting.

As your Admin area is working properly but absolutely no information is being passed on for the main site, best to confirm with your Hoster that path used for the main site is correct.

The learning is in the doing.

Potent Products

5 Nov 2006, 4:28 AM
#10
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

Okay, after some investigation here is what I've traced down. Now I'm no expert at PHP or the inner workings of Zen-Cart so I may be way off base or I may be on to something. Any insight from those in the know would be greatly appreciated.

Following the logic flow and the use of some strategically placed echo statements I have traced the following:

I place an echo statement in index.php just to verify whether or not it was loading, it was because the statement showed. So I know that much.

Next I determined that it was calling 'includes/application_top.php, so I did the same with that file, just to find out if it was loading or not. It was.

Now while I was in the application_top.php file I saw a flag 'define('DEBUG_AUTOLOAD', false) (now this is where I may be way off base) I decided to turn this flag on just to see what happens. Well I got a screen full of stuff I don't understand but at the bottom there was a fatal error. Coming from a background of programming medical software I've learned fatal errors are just that - fatal.

Fatal error: Cannot instantiate non-existent class: phpbb in /shared/volumes/userdata1/2/2931/site/htdocs/includes/autoload_func.php on line 81 (the line number changes due to echo statements I've played with)

I checked to see what line 81 in the autoload_func.php was and had no clue - $$objectName = new $className(). So I place yet another echo statement just prior to this to echo $$objectName to see what that would show. I got this - $phpBB.

So it appears that this has something to do with phpBB, but during the install I selected the option to not install this. Also where is the directory /shared/volumes/userdata1/2/2931/site/htdocs/ coming from? I don't see this setup in the config file.

So does this make sense to anyone or help point someone in the right direction to where they may shed some light on this issue?

5 Nov 2006, 4:35 AM
#11
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,664
Plugin Contributions:
0

Re: Blank Index Page

Good detective work. A bit more is needed. A search for that error regarding the forum software should yield your answer.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

5 Nov 2006, 5:55 AM
#12
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Blank Index Page

http://www.zen-cart.com/forum/showthread.php?t=46946&highlight=phpbb

you've suffered enough and kim already gave you a gold star for all the detective work. hmmmm why didn't I think to search for "blank page" in the first place?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

5 Nov 2006, 11:31 AM
#13
margueritte avatar

margueritte

Inactive

Join Date:
Aug 2005
Posts:
44
Plugin Contributions:
0

Re: Blank Index Page

Try something else, check your html_includes permissions.. I have had a similar problem and that solved it!!

5 Nov 2006, 1:37 PM
#14
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

:D :D :D

Thank you everyone for your tremendous help. This problem has been resolved.

I renamed includes/classes/class.phpBB.php to includes/classes/class.phpbb.php and all was fine (I had to go back and remove all my debugging statements, then all was fine:smile: )

Please, everyone head over to the internet coffee house, drinks are on me!

5 Nov 2006, 10:43 PM
#15
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Blank Index Page

Good job on finding and correcting the problem.

What I wonder though, how did the file get renamed to use 'class.phpBB.php'???
Both v1.3.5 & v1.3.6 use all lowercase characters for that file name.

Or, do we chalk this up to one of life's little mysteries? :laugh:

The learning is in the doing.

Potent Products

6 Nov 2006, 12:32 AM
#16
inthysite avatar

inthysite

New Zenner

Join Date:
Dec 2005
Posts:
25
Plugin Contributions:
0

Re: Blank Index Page

The problem occured because I was running version 1.3.0 which uses class.phpBB.php. I had put off upgrading to 1.3.5 but figured I needed to do it before going live. For some reason when copying the files over it didn't overwrite some of the files. I had some indication of this when running the admin on my developer site, the nav bar was the standard brown that I am used to, but when I ran the admin on the client's new site I saw that it was green. I thought it strange but was too worried about the fact that the index wasn't loading so I figured I worry about that later, not connecting the dots and figuring one had to do with the other.:blush: Live and learn. I'm just glad that it's working now. Again, thank you everyone. I was bragging to my client about how wonderful the Zen Community is and you all proved it again.:D