Jump to content


Photo

Another unknown error MSG


  • Please log in to reply
6 replies to this topic

#1 korrupt_23

korrupt_23
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 07 November 2003 - 08:26 PM

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. :?:
KoRRupt

#2 korrupt_23

korrupt_23
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 08 November 2003 - 04:34 AM

Someone has to know. :?

(Sorry to double post, but needed to draw attention back)
KoRRupt

#3 mad3533

mad3533
  • Members
  • Pip
  • Newbie
  • 2 posts
  • LocationCarefree, AZ, USA

Posted 08 November 2003 - 04:37 AM

What is on line 54?

#4 metalblend

metalblend
  • Members
  • PipPipPip
  • Advanced Member
  • 89 posts
  • LocationCalifornia, USA

Posted 08 November 2003 - 04:47 AM

The error means your host does not allow you to include remote files. You\'ll need to use relative paths instead.

Hope that helps.

#5 korrupt_23

korrupt_23
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 08 November 2003 - 05:54 PM

What would be the difference between relative and remote? :?
KoRRupt

#6 korrupt_23

korrupt_23
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 09 November 2003 - 04:01 AM

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? :?
KoRRupt

#7 korrupt_23

korrupt_23
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 11 November 2003 - 07:03 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users