Coop crashing my server

Discussion in 'Co-op Advertising Network' started by fryman, Nov 7, 2006.

  1. #1
    Shawn, I really need your help on this one, my error log is getting flooded with this error


    Any idea what could be happening? The site works fine, and then all of the sudden this error starts happening and crashin everything
     
    fryman, Nov 7, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What's the site URL?
     
    digitalpoint, Nov 7, 2006 IP
  3. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #3
    I know you don't accept PMs about this, but I really don't want to post it here, hope you can do an exception.

    I seem to be using an old setup, do you think if I update the files it will fix this?

    Weird thing is that it has been working fine for ages, this started happening only since yesterday
     
    fryman, Nov 7, 2006 IP
  4. mikkom

    mikkom Active Member

    Messages:
    266
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #4
    You have an error in the specified script on specified line. Nobody can know what the error is because you are the only one who can see the file.
     
    mikkom, Nov 8, 2006 IP
  5. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #5
    Thanks, but I'd rather hear Shawn's opinion on this. There isn't any error since the script works fine and started doing this randomly just a couple of days ago.
     
    fryman, Nov 8, 2006 IP
  6. mikkom

    mikkom Active Member

    Messages:
    266
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #6
    The error message says quite clearly what the problem is:

     
    mikkom, Nov 8, 2006 IP
  7. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #7
    Oh, of course! Why didn't I think of that?? :rolleyes: :rolleyes:
     
    fryman, Nov 8, 2006 IP
  8. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Fryman, I enquired with a sr. expert PHP professional consultant Phd. BSc. MBA from India and the sollution is rather complicated but I'll try and explain it in laymen's terms...

    Try making the stream resource valid.

    Why didn't you think of that hey?! :D
     
    T0PS3O, Nov 8, 2006 IP
    fryman likes this.
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    That error makes me think your server isn't able to communicate with the ads.digitalpoint.com server. You might try taking off the "@" from the beginning of the fsockopen() function to see if it gives an error when trying to open a connection.
     
    digitalpoint, Nov 13, 2006 IP
  10. dilute

    dilute Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #10
    you should check the stream resource is valid before passing it to a function that tries to use it e.g.

    $f = @fsockopen('url');
    if ($f) {
    // your code here
     
    dilute, Nov 13, 2006 IP
  11. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #11
    You might as well say that in Japanese and I might understand it better, lol
    Anyway, it was just a very weird problem that seems to be solved now. I use the code on many sites so I don't think it was a server issue since the problem was just on one site and it happened at random times.

    Weird...
     
    fryman, Nov 13, 2006 IP