vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   MySQL upgrades and PluhNews (https://vborg.vbsupport.ru/showthread.php?t=57890)

Tannerman 10-14-2003 07:25 PM

MySQL upgrades and PluhNews
 
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:
Quote:

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:
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 :)


All times are GMT. The time now is 11:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01012 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete