Warning: main(): stream does not support seeking

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Warning: main(): stream does not support seeking
Donovan
CZ Active Member
 Codezwiz Site Donator
Donovan has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Web Developer
Gender: Male
Fav. Sports Team: St Louis Cardinals
Status: Offline
Joined: Dec 03, 2003
0.02 posts per day
Posts: 160
Points: 9,216
   
Did some research on this php bug but can't seem to get the recommended fix to work.

Here was the fix:



Use relative paths rather than absolute URLs when including files stored locally on your account

Example:

Use this:

PHP Code:

<?php
include('/home/userid/public_html/directory/file.htm');
?>

...instead of this:

PHP Code:

<?php
include('http://yourdomain.com/directory/file.htm');
?>


Changed paths to relative path but still not working.

I have read where I could use this instead:

include($_SERVER['DOCUMENT_ROOT'] . '/directory/file.php';


How could I do this? Is this a variable?

Files are local on my webserver.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum