Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: the dreaded white screen

    I am getting a partial blank page on my admin page. I am trying to upgrade from 1.38 to 1.5. I have tried many things as I cloned my database and site for testing. I have upgraded to 1.50 and the main site works well so far but I get a partial blank admin page. It was originally all blank until I read a post about one of the errors I had in my logs. The error I receive is
    [01-Jan-2015 10:10:30] PHP Fatal error: Cannot redeclare check_page() (previously declared in /home/stxmill/public_html/TESTSITE/admin/includes/functions/admin_access.php:15) in /home/stxmill/public_html/TESTSITE/admin/includes/functions/admin_profiles.php on line 121

    I have removed the check_page function from both documents which helped a little. It went from completely blank to partial blank page. The top part of the admin page shows but nothing else.

    I also read a post about changing the define charset to utf-8 which I also made the changes but it didn't seem to do much.

    PHP Version 5.2.17
    Database: MySQL 5.5.40-36.1

    I am looking for advice but ultimately the best and quickest way to upgrade my 1.38a site currently to the latest version. Again I am not working with my live site so all this is on a test site. I am willing to redue the upgrade for the test site or what ever needs to be done to make it as seemless as possible.

    I guess I can provide some basic background...i cloned my sql database with myphpadmin and then cloned my entire website folder. Reuploaded to the same server under a different directory and imported the sql. My test site worked perfectly on 1.38a. I then tried to upgrade it to 1.9 and everything seemed to work fine as well. I needed to make a few changes to the main page but nothing crazy. I then tried to upgrade to 1.5 and this is where I am at now. Blank or partial blank admin page.

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

    Default Re: the dreaded white screen

    While hard for me to say exactly what all is going on, I have seen in upgrade from 1.3.8 or so to 1.5.x that sometimes the user has no choices in the admin page after login.

    I assume further that because there are no new error logs (otherwise they would be posted,correct?) That you are able to successfully login, but now have no real "options". If this isthecase, it is possible that the users have been assigned an admin_profile of 0 instead of 1. Therefore when logging in ZC is not sure what permissions to provide, so basically, no permissions are given.

    Okay, so, the next/other thing is why hopping from version to version and not just going to the latest perhaps following instructions like: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #13
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: the dreaded white screen

    A little more information...Just to see what happens...I did a complete fresh (test) install of the latest zen cart. Basically starting from scratch in another folder on the same server. Created a new database and everything. Didn't import anything. After the install the store comes up just fine but the admin portion is again completely blank. Nothing was changed or modified from the original files of the latest zencart. So it appears there are other issues. Not having to do with the upgrade. I looked in the cache folder and there were no errors.

    I don't know if this has anything to do with it but the server requirements for 1.54 are

    PHP Version

    Zen Cart v1.2.x through v1.3.6 are compatible with PHP 4.3.2 - 4.4.x. They are NOT compatible with PHP 5.
    Zen Cart v1.3.7-v1.3.8a are compatible with PHP 4.3.2 through PHP 5.2.x, but *not* PHP 5.3.
    Zen Cart v1.3.9 series is compatible with PHP 5.2.10 thru PHP 5.3.x.
    Zen Cart v1.5.0 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires patches to work with PHP 5.4, and upgrading is a better idea.
    Zen Cart v1.5.1 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires some patches to work with PHP 5.4, and upgrading is a better idea.
    Zen Cart v1.5.2 is compatible with PHP 5.3.7* thru PHP 5.6
    Zen Cart v1.5.3 is compatible with PHP 5.3.7* thru PHP 5.6
    Zen Cart v1.5.4 is compatible with PHP 5.3.7* thru PHP 5.6

    But the version I have on my hosting server is 5.2.17.
    Last edited by welchyboy; 1 Jan 2015 at 07:59 PM.

  4. #14
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: the dreaded white screen

    It looks like that was it. I went into my cpanel and changed the php version to 5.4 and I was able to get in. The downside for testing purposes is when I do that it makes my 1.38a site not work because it isn't compatible with 5.4 lol. But I can do some after hours testing. Later on today I will try and do the upgrade again with php 5.4 turned on to see if I can get it to work properly.

  5. #15
    Join Date
    Jul 2012
    Posts
    16,751
    Plugin Contributions
    17

    Default Re: the dreaded white screen

    Quote Originally Posted by welchyboy View Post
    A little more information...Just to see what happens...I did a complete fresh (test) install of the latest zen cart. Basically starting from scratch in another folder on the same server. Created a new database and everything. Didn't import anything. After the install the store comes up just fine but the admin portion is again completely blank. Nothing was changed or modified from the original files of the latest zencart. So it appears there are other issues. Not having to do with the upgrade. I looked in the cache folder and there were no errors.

    I don't know if this has anything to do with it but the server requirements for 1.54 are

    PHP Version

    Zen Cart v1.2.x through v1.3.6 are compatible with PHP 4.3.2 - 4.4.x. They are NOT compatible with PHP 5.
    Zen Cart v1.3.7-v1.3.8a are compatible with PHP 4.3.2 through PHP 5.2.x, but *not* PHP 5.3.
    Zen Cart v1.3.9 series is compatible with PHP 5.2.10 thru PHP 5.3.x.
    Zen Cart v1.5.0 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires patches to work with PHP 5.4, and upgrading is a better idea.
    Zen Cart v1.5.1 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires some patches to work with PHP 5.4, and upgrading is a better idea.
    Zen Cart v1.5.2 is compatible with PHP 5.3.7* thru PHP 5.6
    Zen Cart v1.5.3 is compatible with PHP 5.3.7* thru PHP 5.6
    Zen Cart v1.5.4 is compatible with PHP 5.3.7* thru PHP 5.6

    But the version I have on my hosting server is 5.2.17.
    How about checking the logs folder instead of the cache folder? As of ZC 1.5.1 errors were captured in the logs folder instead...

    Yes, php version may be an issue to some extent. When saying created a new database and everything, mind filling in the gap? What is and everything? Was a template installed? Possible configure.php configuration settings (wrong paths). As far as "nothing is changed" also did rename the admin directory though correct away from admin?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #16
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: the dreaded white screen

    I tried to update again from 1.38 to 1.54 with the php correct this time. The main site works but admin is still blank. Nothing changed except the configure.php paths. The error in the logs folder is

    [01-Jan-2015 13:26:20] PHP Parse error: syntax error, unexpected T_STATIC in /home/stxmill/public_html/testzen/admin/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

  7. #17
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: the dreaded white screen

    What version of PHP? Saying PHP 5.4 is not sufficient; there were creeping changes introduced throughout the PHP 5.4 line. The version number I'd be looking for would be something like PHP 5.4.35.

  8. #18
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: the dreaded white screen

    I'm guessing that you've got a PHP version prior to 5.3.0, at which point "late static bindings" (http://php.net/manual/en/language.oo...c-bindings.php) were introduced.

  9. #19
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: the dreaded white screen

    Quote Originally Posted by welchyboy View Post
    I tried to update again from 1.38 to 1.54 with the php correct this time. The main site works but admin is still blank. Nothing changed except the configure.php paths. The error in the logs folder is

    [01-Jan-2015 13:26:20] PHP Parse error: syntax error, unexpected T_STATIC in /home/stxmill/public_html/testzen/admin/includes/classes/class.admin.zcObserverLogEventListener.php on line 118
    Ooops ...
    Ya, if you're using PHP 5.2.x then you'll need to change the word "static" on that line 118 to "self" instead.
    But I think that's the only place where a change is needed if you're using PHP 5.2.x. We'll post an announcement about this.
    (Note: If you're using PHP 5.2.x, then you MUST use at least 5.2.14. Remember: PHP 5.2.17 as the last 5.2 version, and that was in January 2011 ... and 5.2 is officially no longer supported, and has no security protections.)
    .

    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.

  10. #20
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: the dreaded white screen

    Quote Originally Posted by DrByte View Post
    Ooops ...
    Ya, if you're using PHP 5.2.x then you'll need to change the word "static" on that line 118 to "self" instead.
    But I think that's the only place where a change is needed if you're using PHP 5.2.x. We'll post an announcement about this.
    (Note: If you're using PHP 5.2.x, then you MUST use at least 5.2.14. Remember: PHP 5.2.17 as the last 5.2 version, and that was in January 2011 ... and 5.2 is officially no longer supported, and has no security protections.)
    I am aware my PHP is quite old now...but I turned it on to test after upgrading the site again and it still is not working. I have a chance to login to the admin portion once and then I get the menu but everything else is blank...partial blank page. Since I will be using PHP 5.4 and change it to that when I try the test site shouldn't it work? Or do I need to change the piece of code you are referring too?

    All it says is an error has occurred. Try refreshing the page.

    Here are the errors I am getting in the logs now..Currently I have my cpanel with php 5.4 when testing.

    [01-Jan-2015 18:27:02 America/Chicago] PHP Fatal error: 1054:Unknown column 'SUPERUSER_PROFILE' in 'where clause' ... ==> (as called by) /home/stxmill/public_html/testzen/admin/includes/functions/admin_access.php on line 69 <== in /home/stxmill/public_html/testzen/includes/classes/db/mysql/query_factory.php on line 155


    [01-Jan-2015 18:26:12] PHP Parse error: syntax error, unexpected T_STATIC in /home/stxmill/public_html/testzen/admin/includes/classes/class.admin.zcObserverLogEventListener.php on line 118
    Last edited by welchyboy; 2 Jan 2015 at 01:30 AM.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h White screen on installion
    By Derek Bryant in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 5 Nov 2015, 12:49 PM
  2. White Blank Screen
    By princess_care in forum General Questions
    Replies: 11
    Last Post: 2 Aug 2010, 08:45 PM
  3. 1.3.9 and the White Screen Of death
    By sanguisdesign in forum General Questions
    Replies: 1
    Last Post: 7 May 2010, 11:18 PM
  4. Category Tabs IE6, IE7 and FF alignment AND the dreaded white space
    By spinnywoman in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Apr 2008, 10:49 PM
  5. the dreaded white space
    By smallpigpig in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2007, 06:31 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