Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Admin page blank after upgrade from v13x

    When trying to open the admin page, it is completely blank.
    The URL is "http://cncspareparts.se/adminGG6&3eE/index.php".
    We have also installed the correct and latest version of the Swedish language pack.

    This is a piece of the /public_html/adminGG6&3eE/includes/configure.php
    Code:
    / 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', '/home/cncspare/public_html/admin/');
      define('DIR_FS_CATALOG', '/home/cncspare/public_html/');

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin page blank after upgrade from v13x

    Explain how you upgraded.
    What process did you follow? What steps did you take?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin page blank after upgrade from v13x

    I followed the recommended steps in the pdf "implementation guide" in the v150-installation pack
    Last edited by itsupporter; 15 May 2012 at 07:02 PM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin page blank after upgrade from v13x

    So did this work properly in your temporary staging area before you did the upgrade to the live site?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin page blank after upgrade from v13x

    Quote Originally Posted by DrByte View Post
    So did this work properly in your temporary staging area before you did the upgrade to the live site?
    I had not the opportunity to do this test due to an upgrade of php om my webserver. I had to upgrade without testing in a temp staging area.
    What can be the trouble? The public homepage is showing alright, it is only the admin page that is blank. Any advice?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin page blank after upgrade from v13x

    Well, as a start, the configure.php file contents you quoted is from an old version of Zen Cart.
    And, the admin foldername you mentioned doesn't match what's in the configure.php file.
    So that's probably the first big problem.

    These are the sorts of things that a staging area is intended for: a time and place for troubleshooting your problems while your live store continues to operate without downtime. That's why the implementation guide tells you to do that.

    And webserver upgrades of PHP versions etc which make your store's software obsolete are exactly the reason one should do regular upgrades to stay ahead of server dependency requirements, so that you don't end up in urgent situations such as you describe. Just a tip for future.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin page blank after upgrade from v13x

    From error.log in root dir:
    Code:
    [16-May-2012 07:11:51 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
    From myDEBUG-adm-1337151888-58745.log in admin dir:
    Code:
    [16-May-2012 07:04:49 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cncspare/public_html/adminGG6&3eE/includes/languages/swedish/email_extras.php:1) in /home/cncspare/public_html/adminGG6&3eE/includes/init_includes/init_templates.php on line 28
    [16-May-2012 07:04:49 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cncspare/public_html/adminGG6&3eE/includes/languages/swedish/email_extras.php:1) in /home/cncspare/public_html/adminGG6&3eE/includes/functions/general.php on line 21

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin page blank after upgrade from v13x

    Quote Originally Posted by itsupporter View Post
    From error.log in root dir:
    Code:
    [16-May-2012 07:11:51 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
    That's something only your hosting company can fix. It's a problem with the server's PHP configuration.

    Quote Originally Posted by itsupporter View Post
    From myDEBUG-adm-1337151888-58745.log in admin dir:
    Code:
    [16-May-2012 07:04:49 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cncspare/public_html/adminGG6&3eE/includes/languages/swedish/email_extras.php:1) in /home/cncspare/public_html/adminGG6&3eE/includes/init_includes/init_templates.php on line 28
    [16-May-2012 07:04:49 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cncspare/public_html/adminGG6&3eE/includes/languages/swedish/email_extras.php:1) in /home/cncspare/public_html/adminGG6&3eE/includes/functions/general.php on line 21
    A quick search of the FAQs/Tutorials section for that "headers already sent" error brings up this article:
    http://www.zen-cart.com/content.php?...s-already-sent
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin page blank after upgrade from v13x

    Thanks! Got rid of those errors.

    Found a new one in admin dir.
    error_log:
    Code:
    [16-May-2012 08:01:38 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
    I have replaced the two configure.php files with the ones in the v150 install pack, and edited them for my server settings. But, I am uncertain of how to configure the line:
    Code:
    $t1 = parse_url(HTTP_SERVER);$p1 = $t1['admin/'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['admin/'];
    As you can see, I tried "admin/" ( have changed the dir name back to "admin"). In the original file, it says "path". Can't figure out my "path". Any advice in this matter?

    I am VERY greatful for your help!

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin page blank after upgrade from v13x

    In v1.5.0 there's no need to edit the admin configure.php file if you're using the v1.5.0 version of the file. It will autodetect the name of the folder it's located in so all you need to do is rename the folder.
    It's all explained in the FAQ article on that topic: http://www.zen-cart.com/content.php?...horized-access
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. After Upgrade to 1.3.9h blank page on admin login !
    By topy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 3 Jun 2013, 04:46 PM
  2. Blank Admin Page after upgrade
    By Hound in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 10 Jun 2011, 10:29 PM
  3. Edit Product in Admin Blank Page after Upgrade
    By BlackOrchidCouture in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 25 May 2011, 04:28 PM
  4. Admin Email and Newsletter Function leaves blank page after upgrade to 1.3.8?
    By touchclothing in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 12 Oct 2009, 08:14 PM
  5. EZ Page link missing from admin>tools after upgrade
    By craftzombie in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 16 Dec 2006, 02:43 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