Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    application error Admin area suddenly showing a blank page

    Hi,

    Today my admin area has decided not work anymore.

    I am using ZenCart 1.3.9h on PHP 5.3.13 and the main site is working fine (http://shop.sss-sussex.co.uk) but the admin area (http://shop.sss-sussex.co.uk/samadmin/) had decided to stop working and just show a white page.

    My PHP was upgraded by my hosting company at the start of this month, would this be the problem? I have looked at the white page problems but this doesn't seem to fix anything.

    does anyone have any ideas?

    Thanks
    Sam

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin area suddenly showing a blank page

    What are your myDebug-adm-xxxxxxx.log files showing?
    ref: http://www.zen-cart.com/content.php?124-blank-page
    .

    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
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin area suddenly showing a blank page

    Quote Originally Posted by DrByte View Post
    What are your myDebug-adm-xxxxxxx.log files showing?
    ref: http://www.zen-cart.com/content.php?124-blank-page
    [13-Jun-2012 14:11:30 UTC] PHP Fatal error: Cannot redeclare date_diff() in /nfs/c08/h03/mnt/118247/domains/shop.sss-sussex.co.uk/html/samadmin/includes/functions/general.php on line 3001

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin area suddenly showing a blank page

    That means your /admin/includes/functions/general.php file is the v1.3.8 version of the file.
    (Zen Cart v1.3.8a and older are NOT compatible with PHP 5.3)

    So, either you're actually running v1.3.8a (instead of v1.3.9h which you stated in your post), or you've installed an addon that replaced core files with old code.
    .

    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
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin area suddenly showing a blank page

    Quote Originally Posted by DrByte View Post
    That means your /admin/includes/functions/general.php file is the v1.3.8 version of the file.
    (Zen Cart v1.3.8a and older are NOT compatible with PHP 5.3)

    So, either you're actually running v1.3.8a (instead of v1.3.9h which you stated in your post), or you've installed an addon that replaced core files with old code.
    Where about would I find which version I am using? As cant access admin area to see?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin area suddenly showing a blank page

    You can find the actual version in the /includes/ vers ion.php file.

    But, in many respects technically it doesn't matter at this point.
    You're clearly using code that's not compatible with the PHP version on your server.

    If I were in your shoes, I would do one of the following:

    1 - If you are using v1.3.9a or newer:
    a. get the original Zen Cart zip for the version of Zen Cart you're actually using, and unzip that on my computer
    b. download a complete set of all the files from your server
    c. compare the two sets of files, and fix whatever is broken

    2 - If you're actually using v1.3.8a or older:
    a. UPGRADE your site to v1.3.9h or v1.5.0
    .

    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
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin area suddenly showing a blank page

    define('PROJECT_VERSION_MAJOR', '1');
    define('PROJECT_VERSION_MINOR', '3.9h');

    So does this mean I am on 3.9h? And shouldn't be having a problem?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin area suddenly showing a blank page

    Yes, so that means you need to go fix up the files on your server that belong to an older version, as I mentioned in my first post.
    .

    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
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin area suddenly showing a blank page

    Quote Originally Posted by DrByte View Post
    Yes, so that means you need to go fix up the files on your server that belong to an older version, as I mentioned in my first post.
    Okay, thanks I shall have a look at this later. :)

  10. #10
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin area suddenly showing a blank page

    Problem sorted, thanks for your help!

 

 

Similar Threads

  1. v153 Admin suddenly blank page
    By mjcrabill in forum Basic Configuration
    Replies: 20
    Last Post: 15 Jan 2015, 04:09 PM
  2. v139h checkout_shipping suddenly showing blank white page
    By isaiah36 in forum Basic Configuration
    Replies: 3
    Last Post: 18 Jan 2013, 03:24 AM
  3. v138a Admin Area is a blank page
    By Hometownf in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 7 Jun 2012, 02:53 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