Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2005
    Location
    Romania
    Posts
    16
    Plugin Contributions
    0

    red flag [Done v1.3.7] Upgrade Php 5.2.0

    We made an upgrade to PHO 5.2.0 (details here http://www.php.net/UPDATE_5_2.txt)

    After the ugrade we cannot log to admin area and the client cannot log to their account.

    Error messages:
    [Tue Nov 28 19:15:44 2006] [error] [client 83.103.228.52] File does not exist: /home/liviu/public_html/includes/templates/template_default/images/OTHER_IMAGE_SILVER_SEPARATOR
    [Tue Nov 28 19:15:43 2006] [error] PHP Fatal error: Call to a member function Execute() on a non-object in /home/liviu/public_html/includes/functions/sessions.php on line 61
    [Tue Nov 28 19:15:43 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:15:43 2006] [error] PHP Warning: error_log() [<a href='function.error-log'>function.error-log</a>]: open_basedir restriction in effect. File(/var/log/www/zen/page_parse_time.log) is not within the allowed path(s): (/home/liviu:/scripts/php:/usr/lib/php:/usr/local/lib/php:/usr/share/pear:/tmp) in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:15:33 2006] [error] PHP Fatal error: Call to a member function Execute() on a non-object in /home/liviu/public_html/includes/functions/sessions.php on line 61
    [Tue Nov 28 19:15:33 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:15:33 2006] [error] PHP Warning: error_log() [<a href='function.error-log'>function.error-log</a>]: open_basedir restriction in effect. File(/var/log/www/zen/page_parse_time.log) is not within the allowed path(s): (/home/liviu:/scripts/php:/usr/lib/php:/usr/local/lib/php:/usr/share/pear:/tmp) in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:13:38 2006] [error] PHP Fatal error: Call to a member function Execute() on a non-object in /home/liviu/public_html/includes/functions/sessions.php on line 61
    [Tue Nov 28 19:13:33 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:13:33 2006] [error] PHP Warning: error_log() [<a href='function.error-log'>function.error-log</a>]: open_basedir restriction in effect. File(/var/log/www/zen/page_parse_time.log) is not within the allowed path(s): (/home/liviu:/scripts/php:/usr/lib/php:/usr/local/lib/php:/usr/share/pear:/tmp) in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:13:09 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:13:09 2006] [error] PHP Warning: error_log() [<a href='function.error-log'>function.error-log</a>]: open_basedir restriction in effect. File(/var/log/www/zen/page_parse_time.log) is not within the allowed path(s): (/home/liviu:/scripts/php:/usr/lib/php:/usr/local/lib/php:/usr/share/pear:/tmp) in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:11:47 2006] [error] [client 82.79.187.114] File does not exist: /home/liviu/public_html/includes/templates/template_default/images/OTHER_IMAGE_SILVER_SEPARATOR
    [Tue Nov 28 19:11:41 2006] [error] PHP Fatal error: Call to a member function Execute() on a non-object in /home/liviu/public_html/includes/functions/sessions.php on line 61
    [Tue Nov 28 19:11:41 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:11:41 2006] [error] PHP Warning: error_log() [<a href='function.error-log'>function.error-log</a>]: open_basedir restriction in effect. File(/var/log/www/zen/page_parse_time.log) is not within the allowed path(s): (/home/liviu:/scripts/php:/usr/lib/php:/usr/local/lib/php:/usr/share/pear:/tmp) in /home/liviu/public_html/includes/modules/footer.php on line 19
    [Tue Nov 28 19:09:57 2006] [error] PHP Fatal error: Call to a member function Execute() on a non-object in /home/liviu/public_html/includes/functions/sessions.php on line 61
    [Tue Nov 28 19:08:50 2006] [error] PHP Warning: error_log(/var/log/www/zen/page_parse_time.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Operation not permitted in /home/liviu/public_html/includes/modules/footer.php on line 19

  2. #2
    Join Date
    Oct 2005
    Location
    Romania
    Posts
    16
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    I forgot to mention: We are using ZenCart 1.3.6.

    As far as I can see nobody has a solution...

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Upgrade Php 5.2.0

    Were you previously running PHP as a Module or CGI?
    Is PHP 5 currently being run as a Module or CGI?

    If currently running as CGI you can safely turn off / disable, 'open_basedir' restrictions.

  4. #4
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Upgrade Php 5.2.0

    There is a very simple solution. Uninstall PHP 5.2.0.

    https://www.zen-cart.com/tutorials/index.php?article=6

  5. #5
    Join Date
    Oct 2005
    Location
    Romania
    Posts
    16
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    Quote Originally Posted by Chuckl View Post
    There is a very simple solution. Uninstall PHP 5.2.0.

    https://www.zen-cart.com/tutorials/index.php?article=6
    :))

    My "hosting" company didn't want to uninstall...
    So I changed the hosting company.

    But remains the issue ... for others.

  6. #6
    Join Date
    Oct 2005
    Location
    Romania
    Posts
    16
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    Quote Originally Posted by Chuckl View Post
    There is a very simple solution. Uninstall PHP 5.2.0.

    https://www.zen-cart.com/tutorials/index.php?article=6
    Quote Originally Posted by Website Rob View Post
    Were you previously running PHP as a Module or CGI?
    Is PHP 5 currently being run as a Module or CGI?

    If currently running as CGI you can safely turn off / disable, 'open_basedir' restrictions.
    As Module...

  7. #7
    Join Date
    Dec 2005
    Location
    Bangladesh
    Posts
    90
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    Ok, as per instructions i am here now.

    Please refer to this post:
    http://www.zen-cart.com/forum/showth...722#post297722

    Short description of whats happening to my site:

    i just installed Zencart 1.3.6 and i can not login to the admin area.
    i get this error:

    Fatal error: Call to a member function Execute() on a non-object in /home/clan/public_html/DesignDepo/includes/functions/sessions.php on line 61

    i got this same error with my previous cart (1.2.7) and this appeared out of the blues.

    My shops link:
    http://www.clanthemes.biz/DesignDepo/index.php

    It is a clean install. (But as mentioned earlier this problem also showed up in the last install 1.2.7 out of the blues).
    The sessions are stored in DB.
    PHP version 5.2.0
    MySQL version 4.1.21-standard

    IPHP currently being run as a module.
    so disabling base_dir wont do anything? And similarly my hosting company just wont uninstall 5 like that. I have quite a few websites running there. so cant just switch hosts like that either.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Upgrade Php 5.2.0

    The error msg. you described tells us the db can be read from but not written to. This could mean a db permission error.

    One other things as well. When doing a fresh install or update there are approx. 1,700 files involved. It is all to common that some files fail to upload. You could try reuploading just the 'includes' dir. and hopefully your FTP program has a feature that tells you what uploads failed.

    Your quickest solution is to discuss the problem with your Hoster.
    Or you could provide a copy of both your configure files.
    Or you could hire someone to help figure this out.
    Or you could switch Hosters -- a lot easier than you might think.

    Your options are many. I would start with the first one and go from there. One of the above options will solve the problem.

  9. #9
    Join Date
    Oct 2005
    Location
    Romania
    Posts
    16
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    Quote Originally Posted by Website Rob View Post
    The error msg. you described tells us the db can be read from but not written to. This could mean a db permission error.

    One other things as well. When doing a fresh install or update there are approx. 1,700 files involved. It is all to common that some files fail to upload. You could try reuploading just the 'includes' dir. and hopefully your FTP program has a feature that tells you what uploads failed.

    Your quickest solution is to discuss the problem with your Hoster.
    Or you could provide a copy of both your configure files.
    Or you could hire someone to help figure this out.
    Or you could switch Hosters -- a lot easier than you might think.

    Your options are many. I would start with the first one and go from there. One of the above options will solve the problem.
    All the permissions and files were OK
    I already changed the hosting company
    Probably tomorrow everything will be back to normal.

    Thanks for you help... to all of you

  10. #10
    Join Date
    May 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Upgrade Php 5.2.0

    My host installed 5.2.0 this weekend but has left 4.4.4 on too. Initial suggestion to rename the sessions.php file to sessions.php4 (plus the references to it in other files looked promising but still throws up the previous errors with the 4 appended to the session.php!

    I'll let you all know if anything comes out of his investigation.

    Pete

    Bit of a b****r just before Christmas to loose access to the shop!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 25 Dec 2014, 04:57 PM
  2. Replies: 3
    Last Post: 18 Nov 2014, 09:34 PM
  3. Replies: 1
    Last Post: 30 Sep 2013, 07:39 PM
  4. Replies: 18
    Last Post: 11 Mar 2013, 04:11 PM
  5. Replies: 8
    Last Post: 24 Jun 2010, 02:56 PM

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