Jump to content

Recommended Posts

Well, I can\'t figure out another error message that\'s been popping up all over:

 

Warning: main(): stream does not support seeking in /home/sticksla/public_html/ss/index.php on line 54

 

Does anyone have any clue what that means? I\'ve checked the pages, and it\'s not even any PHP markup where it says the error is.

 

You can see the error in action by going to http://www.stickslaughter.com

 

Thanks in advanced. :?:

Link to comment
https://forums.phpfreaks.com/topic/1319-another-unknown-error-msg/
Share on other sites

Please excuse the double post again, but...

 

It\'s weird because I\'ve been playing with the formating of the include, and on one of the includes, it fixed it.

 

I changed

 


<? include \'vars.php\'; ?>

 

to

 


<? include (\'vars.php\'); ?>

 

And the seeking error disapeared. I\'ve never had this error before. What\'s the difference between remote files and relative ones? :?

Well, just to justify what the problem was..

 

Since there has been a new version of PHP released lately, hosts have been installing them as soon as they get it, which changes the way you include. Now most includes have changed to

 


<? @include("file.php") ?>

 

You have to add in that @ to get rid of the seeking error and all.

 

Just if anyone really cared. :shock:

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.