Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Admin Error - Blank Screen

    Hi

    Our website (hosted with i-page) recently just stopped working out of the blue - I have a feeling i-page changed something that caused this. I managed to get the front end working ok - but the admin area just shows a blank white page ( http//www.covecalligraphy.co.uk/office )

    Now - I did install an entire new test site on the same hosting account, and that works fine (including admin) - but I just cant get the admin to work on the original website / directory?

    Can anyone help and let me know what is missing or needs changing?

    On the error log, I see this:

    [16-Oct-2014 12:03:07 UTC] PHP Warning: include(/hermes/bosnaweb10a/b879/ipg.covecalligraphycouk//includes/extra_configures/set_time_zone.php): failed to open stream: No such file or directory in /hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/office/includes/extra_configures/use_catalog_time_zone.php on line 9
    [16-Oct-2014 12:03:07 UTC] PHP Warning: include(): Failed opening '/hermes/bosnaweb10a/b879/ipg.covecalligraphycouk//includes/extra_configures/set_time_zone.php' for inclusion (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in /hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/office/includes/extra_configures/use_catalog_time_zone.php on line 9
    [16-Oct-2014 12:03:07 UTC] PHP Fatal error: Class 'zcPassword' not found in /hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/includes/autoload_func.php on line 79

    Appreciate any help!
    Thank you
    Dan.

    Below - the admin includes config file, as I have a feeling this may also be something to do with it?


    <?php
    /**
    * @package Configuration Settings circa 1.5.3
    * @copyright Copyright 2003-2014 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 2014-10-05 11:33:22
    */


    /*************** 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.covecalligraphy.co.uk');
    define('HTTPS_SERVER', 'https://www.covecalligraphy.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.covecalligraphy.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.covecalligraphy.co.uk');

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

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    // 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_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', preg_replace('#/includes/$#', '/', 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', '/hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/');

    //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', '/hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/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', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'covecalligraphycouk.ipagemysql.com');
    define('DB_SERVER_USERNAME', 'XXXX');
    define('DB_SERVER_PASSWORD', 'XXXX');
    define('DB_DATABASE', 'XXXX');

    // 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', '/hermes/bosnaweb10a/b879/ipg.covecalligraphycouk/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

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin Error - Blank Screen

    You NEED to change your admin directory now that it has been publicly posted...*******


    So, yes a lot going on there... At first I was thinking oh, another blank screen means error log situation typical for that point in the process, but here it all is...

    Okay, though I doubt that this alone will fix anything, the timezone issue of ZC 1.5.1 (addressed in the error log) can be resolved through this thread: http://www.zen-cart.com/showthread.p...timezone-patch
    Now, though, if understood correctly, site 1 is a 1.5.1 site,site 2 is a 1.5.3 site. Site 1 was aokay until a few days ago, sometime on or after site 2 was installed.
    Now the store of site 1 is working, but the admin panel for the same is not. Everything in site 2 is okay?
    So the there is the admin configure.php file that was provided... If this is from site 1, then there was a booboo made somehow, as the top of the file identifies it as a 1.5.3 version. The issue there is that it sounds like something is going on that was not expected.

    So, another thing, you NEED to change your admin directory now that it has been publicly posted...*******


    I would take a look at the database settings in all four configure.php files. If all fields related to the database are the same (prefix, etc...) Then basically the old files are trying to access the new database. Of course could have a mix of old and new now that something went wrong in the installation.

    May need you to list all of your installation steps. Thisis of course based on the assumption that the provided configure.php file is from the admin of the old, used to function website.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Re: Admin Error - Blank Screen

    Hi

    Thank you so much for your help. Please forgive the rudeness of my late reply.

    I added the time patch files (in both locations) as you suggested - and, sadly - no, this didn't help directly.

    The config file was taken from the new working test install I did - A stupid idea, I guess as different zencart versions - but was running out of ideas so figured anything was worth a go.

    Yes, Site one is 1.5.1 - and all was working fine until recently. Nothing was changed prior to this - I am sure the host changed something that is conflicting with the site - but they cannot provide much help. I installed a new zencart installation on the same server (
    http://www.covecalligraphy.co.uk/test ) and front end and admin work perfectly.

    I have now re-instated the original config file - and the admin URL takes me to the install page - which refers to me to checking the config file (copied below) - but I am at a loss now as to what else to check... its slowly turning me rather crazy.

    The database settings in the config file are correct. I have changed admin directory name, thank you ;-)

    <?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 2014-01-10 11:57:07
    */


    /*************** 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.covecalligraphy.co.uk');
    define('HTTPS_SERVER', 'https://www.covecalligraphy.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.covecalligraphy.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.covecalligraphy.co.uk');

    // 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', '/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    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)
    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', '/hermes/bosoraweb105/b879/ipg.covecalligraphycouk/');

    //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', '/hermes/bosoraweb105/b879/ipg.covecalligraphycouk/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', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'covecalligraphycouk.ipagemysql.com');
    define('DB_SERVER_USERNAME', 'xxx');
    define('DB_SERVER_PASSWORD', 'xxx');
    define('DB_DATABASE', 'xxx');

    // 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', '/hermes/bosoraweb105/b879/ipg.covecalligraphycouk/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
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin Error - Blank Screen

    What php version is being used in the directory of the old 1.5.1 installation? Is it 5.4 or above?

    So the configure.php file provided above is from your 1.5.1 install (site one) the admin of which is no longer functioning, but store side is? I ask because yes this looks more like a 1.5.1 version, but the paths are different than before and as if for the main store.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: Admin Error - Blank Screen

    I am reading this thread to see if there is something I can figure out on my own, but I cant....I too have a blank page for my admin login. I was able to login by using the actual webpage address but when I log in it is still blank. So I went into my logs folder as this person did to see what I could see and I have a ton of debug files (named myDEBUG and then a number following) but I have no idea if that is what is wrong. I do not have an error log. Sample of what is in these debug files follows

    [25-Sep-2014 00:02:52] PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument in / h s p h e r e / l o c a l / h o m e / b l o o d f a n g / o r o g a l l e r y . c o m / s t o r e 2 0 1 4 / i n c l u d e s / f u n c t i o n s / f u n c t i o n s _ g e n e r a l . p h p o n l i n e 7 4

    Is this my problem and if it is what should I do?

  6. #6
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin Error - Blank Screen

    It is really difficult to provide assistance when the baic framework is not provided... Please review the posting guidelines and if they are not evident, I (or someone else I'm sure) would be glad to post them in this thread if that would help. Having the same symptom does not mean the same problem.

    For clarification, the mydebug files you are referring to are what is typically called an error log. Not every file reports that an ERROR occurred, it may be a warning like above. There are some tools that can be installed to more specifically identify the cause of the error condition, but in my experience that type of warning occurs when the database expects one format of characters (utf-8 for example) and it comes across a latin version of a character that doesn't fit into the other encoding type.

    As for blank screen, well I can say that recently a host I have used has indicated that they thought there were data table issues (optimization or index issues), but I was getting a white screen also on a site that moments before was working fine and I had not made any changes... Checked over the conditions reported on the site and it was still a database related issue. (Unable to get to it and ZC not providing one of those, we're sorry we can't connect to the database messages.)

    Further, I thought there might have been a particular thread begun to discuss just messages like the one above. I can't remember if it is just a mydebugs thread, but I think rixstix, lat9 aand a few others have posted to it in hopes of resolving odd issues such as this...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Blank admin screen. 1.5.1 -> 1.5.4
    By JonathanHoff in forum Upgrading to 1.5.x
    Replies: 41
    Last Post: 22 Oct 2016, 07:39 PM
  2. v150 Blank Admin Login screen
    By nelly7 in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 12 Oct 2012, 04:54 PM
  3. Blank admin login screen
    By warren11 in forum General Questions
    Replies: 18
    Last Post: 2 Mar 2011, 11:17 PM
  4. Blank Admin Screen
    By rollerdude in forum General Questions
    Replies: 7
    Last Post: 1 Feb 2011, 03:22 PM
  5. Blank Screen at Admin
    By pdf1106 in forum Basic Configuration
    Replies: 14
    Last Post: 14 Jul 2010, 05:41 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR