Log in

View Full Version : MySQL upgrades and PluhNews


Tannerman
10-14-2003, 07:25 PM
I've been running a modification that pulls the last 5 posts from a certain forum onto my homepage (PluhNews). It's been running great for over a year. Unfortunately, my webhost (Ventures Online) updated Apache and PHP on my server today (as a part of an overall MySQL upgrade) and this messed some stuff up.

You can view my homepage here:
http://steveandamysly.tannerworld.com/

The modification is still pulling the last 5 posts, however an error message appears at the top of these posts. Here is what it reads:Warning: main(): stream does not support seeking in /home/tannerwo/public_html/steveandamysly/index.php on line 94'Line 95 is the following piece of code:<p><? include("http://www.tannerworld.com/forums/PluhNews.php"); ?></p>

I'm running vBulletin 2.3.2 on my forums (which are located at http://forums.tannerworld.com/). Not being a huge techie, what should I do to fix this problem? The update to Apache and PHP caused this problem, so maybe some calls need to be fixed relating to that.

Any help would be greatly appreciated.

Thanks,
Steve

Tannerman
10-15-2003, 07:20 PM
I've got an update on this problem. My webhost was able to track down the problem, which appears to be a bug in the latest version of PHP which has been documented at:

http://bugs.php.net/bug.php?id=24053

The include for PluhNews is actually working, however the error message is displayed. A quick fix is to place an @ symbol in front of the include to suppress the error message.

The bottom line is that it's a bug in PHP which will most likely be addressed in a future update, however there appears to be several temporary work arounds for this issue :)