The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP error since latest buildapache

Discussion in 'EasyApache' started by rhood, Aug 22, 2003.

  1. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Several sites are displaying the following error since the last buildapache, which includes PHP 4.3.2. I took care to recompile PHP exactly the same way as it was before after that was completed:

    Warning: main(): stream does not support seeking in /home/username/public_html/template/vertical-menu/user_top.html on line 88 (example)

    Any ideas as to how to fix this and support seeking in stream again?

    Thanks,
    rhood

    cPanel.net Support Ticket Number:
     
  2. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Anybody?

    cPanel.net Support Ticket Number:
     
  3. CCorderoR

    CCorderoR Member

    Joined:
    Dec 16, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi:

    We've got the same problem in one of our servers. We had to put an @ before the includes to avoid the warning.

    Regards,
    CCorderoR

    cPanel.net Support Ticket Number:
     
  4. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    add @ in all scripts?

    cPanel.net Support Ticket Number:
     
  5. clook

    clook Well-Known Member
    PartnerNOC

    Joined:
    Jun 9, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Preston, UK
    This came up here when the upgrade to 4.3.2 went ahead. Searching on Google brought up talk of a PHP bug (which I can't believe has stayed in this long if true) but it was easier to just roll back to 4.3.1 for the time being.

    cPanel.net Support Ticket Number:
     
  6. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Could you please provide an example? Thanks!

    cPanel.net Support Ticket Number:
     
  7. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Has anyone found out more about this yet, is there any "fix" on the horizon by DarkORB?

    cPanel.net Support Ticket Number:
     
  8. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    Change your error reporting config in php.ini to
    Code:
    error_reporting =       E_ALL & ~E_NOTICE & ~E_WARNING
    Any users who want to see warnings can increase the error reporting level at the top of their scripts.
     
  9. CCorderoR

    CCorderoR Member

    Joined:
    Dec 16, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    FWC got the good answer ;)


    Our "cheat" was something like:

    include("http://nlfff.com/ffdfd.php");

    so with had to put @include ....

    Carlos

    cPanel.net Support Ticket Number:
     
  10. rhood

    rhood Well-Known Member

    Joined:
    Feb 15, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Good news...

    "PHP 4.3.3 released!
    [25-Aug-2003] The PHP developers are proud to announce the immediate availability of PHP 4.3.3. This release contains a large number of bug fixes and we strongly recommend that all users of PHP upgrade to this version. Full list of fixes can be found in the NEWS file."

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page