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
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
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.
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, 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?!
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.
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
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...