Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2011
    Location
    Melbourne, Australia
    Posts
    31
    Plugin Contributions
    0

    Default Blank Home screen after Install

    Hi, I've just loaded up a new store and I have my admin screen and can log in and work as normal. However, I can't get the actual store to come up. I only get a blank screen. When I click on the link to open my store from within the admin panel I get this: http://www.girlsgotgroove.com.au/sto...php?main_page=
    And the page is blank.

    I have checked my debug logs and I get this message: [01-Jun-2013 09:47:22 Australia/Perth] PHP Warning: require(includes/languages//index.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/girlsgot/public_html/store/index.php on line 48
    [01-Jun-2013 09:47:22 Australia/Perth] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages//index.php' (include_path='.:/usr/lib/php') in /home2/girlsgot/public_html/store/index.php on line 48

    I'm not too sure when to go from here as it's getting a bit technical for me! Can you offer some tips or help here?

    Cheers
    Tanya

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Home screen after Install

    Based on the double slashes showing in the error statement ... you might first check your files for:
    /includes/configure.php
    /your_admin/includes/configure.php

    You can post them, from the server, without the database password information or admin directory name, if in the older style configure.php for the Admin ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2011
    Location
    Melbourne, Australia
    Posts
    31
    Plugin Contributions
    0

    Default Re: Blank Home screen after Install

    Thanks Ajeh, this is the admin/includes/configure.php file that I have. I can't see where it is incorrect!! Sorry to post it like this, but couldn't work out how to do it otherwise as an attachment.

    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2013-05-31 07:14:25
    */


    /*************** 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. ***********/

    /**
    * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    define('HTTP_SERVER', 'http://www.girlsgotgroove.com.au');
    define('HTTPS_SERVER', 'https://www.girlsgotgroove.com.au');
    define('HTTP_CATALOG_SERVER', 'http://www.girlsgotgroove.com.au');
    define('HTTPS_CATALOG_SERVER', 'https://www.girlsgotgroove.com.au');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'false');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', 'false');

    // 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)
    $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    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)
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home2/girlsgot/public_html/store/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/home2/girlsgot/public_html/store/logs');

    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', 'girlsgot');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxxxx_xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', 'girlsgot_groove');

    // 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', '/home2/girlsgot/public_html/store/cache');


    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.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
    */
    // EOF

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Blank Home screen after Install

    Quote Originally Posted by My_Red_Zebra View Post
    Thanks Ajeh, this is the admin/includes/configure.php file that I have. I can't see where it is incorrect!!
    Me neither. The problem is more likely to be in the
    /includes/configure.php file though (not this one from /admin/) because you did mention that you've no problem with the admin side of things.

    Also check that you *don't* have a file called .htaccess in your /store/ folder. If you do, rename it to see if the problem goes away before looking any further.

    Cheers
    Rod

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Home screen after Install

    That looks fine, how about the file, from the server, for:
    /includes/configure.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Sep 2011
    Location
    Melbourne, Australia
    Posts
    31
    Plugin Contributions
    0

    Default Re: Blank Home screen after Install

    Quote Originally Posted by Ajeh View Post
    That looks fine, how about the file, from the server, for:
    /includes/configure.php
    @ RodG - have no .htAccess file - so it's not that. I did see that in previous troubleshooting notes too.

    Here's the other configure file - not the admin one.

    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2013-05-31 07:14:25
    */


    /*************** 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://www.girlsgotgroove.com.au');
    define('HTTPS_SERVER', 'https://www.girlsgotgroove.com.au');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    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', '/home2/girlsgot/public_html/store/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/home2/girlsgot/public_html/store/logs');

    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', 'girlsgot');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'girlsgot_groove');

    // 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', '/home2/girlsgot/public_html/store/cache');

    // EOF

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Blank Home screen after Install

    Quote Originally Posted by My_Red_Zebra View Post
    Here's the other configure file - not the admin one.
    I'm not seeing anything obviously amiss with this one either.

    I'm not really sure what to make of this. Perhaps double check where your files were uploaded to. Perhaps these configure files aren't the ones actually being used?

    Perhaps someone else can spot something I've missed?

    Cheers
    Rod

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Blank Home screen after Install

    Oh, one thing that could be worth a closer look, and that's your FS_paths, which are configured as being /home2/....

    Nothing wrong with this, as long as /home2/ is indeed correct.

    Some hosts have been known to 'move' their customers to/from /home/home1/home2/ etc as they deem fit, and often without notification.

    I won't say its a common occurrence, but its something to look for.

    Cheers
    Rod

  9. #9
    Join Date
    Sep 2011
    Location
    Melbourne, Australia
    Posts
    31
    Plugin Contributions
    0

    Default Re: Blank Home screen after Install

    Thanks Rod. I'm using home2 as that is what is identified via my hosting but I'll try it with just home to see if that makes a difference. If it doesn't I'll reload it again tomorrow and see if using my 'work' network gives me a better result rather than my home internet service. We only have ADSL2 at home and I've noticed that sometimes uploads aren't always successful. When doing a full ZenCart upload, I guess it's possible to have a 'misload' somewhere! Thanks for all the help.

  10. #10
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Blank Home screen after Install

    Quote Originally Posted by My_Red_Zebra View Post
    Thanks Rod. I'm using home2 as that is what is identified via my hosting
    It's probably correct then.

    Quote Originally Posted by My_Red_Zebra View Post
    but I'll try it with just home to see if that makes a difference.
    I'd probably have never asked or suggested that you 'experiment' with this on account of the fact that you'll either end up breaking something, or, you'll end up breaking something. :)

    However, in the off chance it doesn't make any difference, then it implies that the file(s) you are editing really aren't the ones being used.

    Either way, the results will tell us something useful (hopefully)

    Quote Originally Posted by My_Red_Zebra View Post
    When doing a full ZenCart upload, I guess it's possible to have a 'misload' somewhere!
    Especially when some of the files may be configured for 'read only' access. They can easily fly by with unnoticed errors.

    Also, there is something about the error log extract that you posted, and what we are *not* seeing in your configure files that is screaming out to me that the cause of your problem should/must be 'obvious'. Alas, it is eluding me. I think this is going to be a 'Doh!' moment when the penny drops.

    Cheers
    Rod

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Blank Screen After Upgrade (fixed) but now blank screen after login!
    By Kias Henry in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 23 Jun 2015, 07:32 PM
  2. Blank screen after upgrade
    By jcdk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 6 Aug 2010, 07:22 AM
  3. Blank screen after login
    By Fantix in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Nov 2008, 11:10 PM
  4. Blank screen After checkout
    By judah in forum General Questions
    Replies: 5
    Last Post: 20 Oct 2008, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg