Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP Issues

Discussion in 'General Discussion' started by nerdzoll, Jan 15, 2006.

  1. nerdzoll

    nerdzoll Well-Known Member

    Joined:
    Oct 4, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Hey all,
    I seem to be getting on a lot of my PHP scripts the following error:
    Notice: Only variable references should be returned by reference in /usr/local/lib/php/Log.php on line 131

    What could be causing this?
    I have some really narcy clients at the moment.
    It has only been since I had to reformat the server with CENTOS we used to have Fedora core 2...
    Cheers
    Stuart
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    IIRC, it's because of php v4.4.1 now displaying an error message when it should do whereas prior to v4 it didn't bother. i.e. it's a coding problem. Check on php.net to be sure.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nerdzoll

    nerdzoll Well-Known Member

    Joined:
    Oct 4, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Error

    Hi Chirpy,
    Thanks heaps for that, it led me down a new road and I found the error. It appears to be a problem with Zend Optimiser and the latest PHP (from what I have found after a few hrs of googling).
    Thanks so much dude.. a rollback of PHP did the trick.
    NerdZoLL
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice