Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by mc12345678 View Post
    Sharing back with the community to also help those that may be looking?
    I will be happy to do so later.. (it's in an external document) right now (as I'm sure you can understand) THIS is a bigger priority for me..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #12
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by DivaVocals View Post
    • Front-end issue. Admin works just fine.
    Ahh... I didn't realize your problem was only with the front end.
    The issue I had affected the entire site, front and back end, so it can't be the same as the problems I had.

    Does your host give you the option of using php 5.3 as an interim (possible) solution?

  3. #13
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by gilby View Post
    Ahh... I didn't realize your problem was only with the front end.
    The issue I had affected the entire site, front and back end, so it can't be the same as the problems I had.

    Does your host give you the option of using php 5.3 as an interim (possible) solution?
    Unfortunately no.. it's PHP 5.4 or bust..

    Like I said I was fairly certain it's wasn't the DB user thing for no other reason than WordPress was working just fine.. only the Zen Cart front end is mis-behaving..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #14
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by DivaVocals View Post
    Unfortunately no.. it's PHP 5.4 or bust..

    Like I said I was fairly certain it's wasn't the DB user thing for no other reason than WordPress was working just fine.. only the Zen Cart front end is mis-behaving..
    Maybe a long shot, but do you have any php short tags in your code? Often those are disabled by default in php 5.4. My experencie is the can give white pages without error logs too

  5. #15
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by Design75 View Post
    Maybe a long shot, but do you have any php short tags in your code? Often those are disabled by default in php 5.4. My experencie is the can give white pages without error logs too
    No shorttags.. Unfortunately I am out of ideas.. So I am going to re-build the test site from scratch.. Along the way I am going to find the add-on that is the cause of the issue.. I have two possible culprits in mind, and this exercise should confirm my suspicions.. I will totally report back my findings here and on the support thread(s) of any suspect add-ons..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #16
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    It would *really* be good to see if error logging is working. Check your php.ini for error log location (or put phpinfo() into a page). Usually logs go to the cache folder so check there first. If not, maybe in apache logs, or system error log location.

    You're really in the dark without error logs to tell you what went wrong (I'm sure you know that!).

  7. #17
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by avibodha View Post
    It would *really* be good to see if error logging is working. Check your php.ini for error log location (or put phpinfo() into a page). Usually logs go to the cache folder so check there first. If not, maybe in apache logs, or system error log location.

    You're really in the dark without error logs to tell you what went wrong (I'm sure you know that!).
    Thanks for trying to help.. a few things...

    I'm running ZC v1.5.1 so the error logs (if any) will go to the "logs" folder not the "cache" folder.. To be thorough I have already checked BOTH folders anyway.. I've also checked the server error logs..

    When I stated that I have NO error logs, I really mean I have NO error logs anywhere.. Which is why I really have no CLUE what the cause of the issue is for this site.. No other client sites with similar configurations have this issue..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #18
    Join Date
    Nov 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    That's really strange to have no logs showing anything.

    Try this, put this in any php file that runs:
    error_log('testing error logs');

    You could add it as an extra file in includes/extra_configures, or just add it to a template file somewhere. Check and make sure you can see this message in a log file. If not, something is misconfigured...first guess would be permissions on the cache or logs folders.

    If you can log this, but nothing else shows up, you could try installing xdebug (xdebug.org) as a php plugin and see if that gives more information. Otherwise, put in error_log statements throughout the store index.php and change the text on each. See how many get logged to narrow down on where the problem is. But that's last resort.

    You could also put phpinfo(); into a file to double-check that logging is turned also, and where the path is.

  9. #19
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by avibodha View Post
    That's really strange to have no logs showing anything.

    Try this, put this in any php file that runs:
    error_log('testing error logs');

    You could add it as an extra file in includes/extra_configures, or just add it to a template file somewhere. Check and make sure you can see this message in a log file. If not, something is misconfigured...first guess would be permissions on the cache or logs folders.

    If you can log this, but nothing else shows up, you could try installing xdebug (xdebug.org) as a php plugin and see if that gives more information. Otherwise, put in error_log statements throughout the store index.php and change the text on each. See how many get logged to narrow down on where the problem is. But that's last resort.

    You could also put phpinfo(); into a file to double-check that logging is turned also, and where the path is.
    Other error logs show just fine (see my earlier response to Rod about what happens if I turn off the template and use the default template) so there isn't a permissions error for the error logs folders.. They worked just fine before.. permissions have not changed.. The ONLY change was the webhost's update to PHP 5.4..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #20
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: After upgrade to PHP 5.4, site displays a blank page..

    Quote Originally Posted by DivaVocals View Post
    Other error logs show just fine (see my earlier response to Rod about what happens if I turn off the template and use the default template) so there isn't a permissions error for the error logs folders.. They worked just fine before.. permissions have not changed.. The ONLY change was the webhost's update to PHP 5.4..
    When the host allows the change from one PHP version to the other, does the contents of the php.ini file change say if using the "default"? (Of course backup before selecting something that would modify the php.ini file. When I upgraded from 5.2 to 5.3 I had to go through line by line to confirm that options shown were in fact still available and I reviewed the 5.3 "update" guide (somewhere) to confirm thati could still use whatever option in question.

    Of course I had done things the hard way at the time, because I didn't just do what I suggested above (select a "default" php.ini for the version being used.) Really don't know if any of that would help, sorry for the "shot-in-the-dark" approach.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 20 Dec 2015, 10:29 AM
  2. v154 Edit order (orders.php) is blank after upgrade from 1.3.9h to 1.5.4
    By gti_suzuki in forum Upgrading to 1.5.x
    Replies: 11
    Last Post: 16 Feb 2015, 05:45 PM
  3. Blank page index.php after Upgrade to 1.3.8a
    By wirnsperger in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 18 Feb 2010, 06:18 AM
  4. Blank page after upgrade
    By GTrotter in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 28 Dec 2007, 08:10 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