Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.

Huge error.log causing hosting problems

More
22 Sep 2012 14:55 #2557 by Mike King
I have been notified twice by my hosting provider of a huge error_log file being created at the root of my public_html page from sermonspeaker. The error log shows these lines over and over and the file got to over 250GB before they shut my website down.

[21-Sep-2012 22:06:40] PHP Warning: feof(): supplied argument is not a valid stream resource in /home2/wordup/public_html/components/com_sermonspeaker/controller.php on line 102
[21-Sep-2012 22:06:40] PHP Warning: fread(): supplied argument is not a valid stream resource in /home2/wordup/public_html/components/com_sermonspeaker/controller.php on line 103

I just ran the latest update and this is the second time this has happened, ran updates about 3 weeks ago after the same thing happened and my site was shut down. Can someone tell me why this is happening? I've had to disable sermonspeaker until I can get this resolved. Thanks!

Please Log in or Create an account to join the conversation.

More
22 Sep 2012 18:07 #2558 by Thomas Hunziker
What version of SermonSpeaker are you using? I'm not aware that it uses those file commands anywhere. So either you're using an outdated version or you have a hacked file I think.

Please Log in or Create an account to join the conversation.

More
23 Sep 2012 10:55 - 23 Sep 2012 10:56 #2564 by Thomas Hunziker
Aw sorry, I was wrong. I was answering while I was at a wedding and didn't think at the download function.

I'm still not sure why you get this error. It means that someone wanted to download a (big) sermon, but for whatever reason PHP couldn't open the file.
The file exists, otherwise the code would have stopped before, so that can't be the issue.
Maybe you can check the access permissions of your files. The webserver needs read access to the files.

I will add a check to the "fopen" command so the script stops if the file can't be opened.

It's still interesting why the error log says it's on line 102 and 103. In SermonSpeaker 4.4.6 these commands are on line 94 and 95.
Last edit: 23 Sep 2012 10:56 by Thomas Hunziker.

Please Log in or Create an account to join the conversation.

Time to create page: 0.106 seconds
Powered by Kunena Forum