HUGE ERRORS ON MY SITE! Please help.

They have: 22 posts

Joined: Jul 2003

Hello again everybody...I looked into the program GreyMatter for my content management system. To put it short, I installed the program onto my server and now it seems that it has caused errors all over my network site!

The error happened after I tried php including the main index (log) page of greymatter by putting the following code on one of my website pages:

<?php
include("http://www.webquad.com/example/index.php");
?>

Please also notice that I set all of the files to .php for GreyMatter. After doing that code, it seemed as if I received the following error on every site on my server simultaneously:

Warning: main(): stream does not support seeking in /home/webquadc/public_html/index.php on line 709

The error now displays on every site throughout my network, including:

http://www.webquad.com
http://www.webquad.com/starcraft/
http://www.webquad.com/hmseries/
http://www.webquad.com/aom
http://www.webquad.com/ron
...and more sites have errors as well!

Please help, why is this happening? Thanks in advance!
Ryan

He has: 176 posts

Joined: Oct 1999

Ryan, you need to set the full path to the include file like /home/webquad/public_html/index.php instead of using the full URL.

This happened to me only recently (when all was working fine) and the problem was caused by my host updating their version of PHP or something like that. The above option should definitely fix it though.

He has: 176 posts

Joined: Oct 1999

Btw, is you're unsure of the full path contact your host.

mmi's picture

They have: 457 posts

Joined: Jan 2001

Hey Ryan

Keith's suggestion seems to have worked. At least I'm not getting errors on any of those pages.

(Did you get the PM I sent you?)

They have: 22 posts

Joined: Jul 2003

Quote: Ryan, you need to set the full path to the include file like /home/webquad/public_html/index.php instead of using the full URL.

Thanks for the help - I tried what you said on a test page and it got rid of the errors, so thank you so much Keith! Smiling But, that means that I would have to go through EVERY single site and EVERY single page. Sad I contacted my hosting service and they said that they are trying to figure it out - so hopefully they can fix it, instead of me having to go through the trouble of changing EVERY php include script, which would be a nightmare.

Quote: Keith's suggestion seems to have worked. At least I'm not getting errors on any of those pages.

You don't see any errors on my site? Well, I still do...are you sure. Go to http://www.webquad.com/starcraft - that site still has errors all over the place, so does all of the other websites. I wonder why you can't see them...PLEASE let me know if you see the errors.

Quote: (Did you get the PM I sent you?)

Yes, I'm sorry that I have not responded to you yet - it's just that I have not found the time, especially since my website is full of errors. I will respond to your PM as soon as possible though. Wink

Thanks again for the help and if anyone else has any suggestions, please let me know.
Ryan Smiling

mmi's picture

They have: 457 posts

Joined: Jan 2001

Hey again

You're right, I am getting errors on the includes. I wasn't looking over the content, expecting the pages just wouldn't load or would be completely messed up. I have no experience at diagnosing PHP problems and didn't know what to look for.

About the PM, no rush at all. I forgot I could just look in the CP to see if you'd read it.

You may be getting the (correct) impression that I'm well-intentioned but not exactly reliable. Wink


Web Xpertz Community Forums for Webmasters & Developers

Where You Can Learn, Advise, and Have Fun in the Process

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Okay, Greymatter is written in Perl and you're trying to use PHP includes?

mmi's picture

They have: 457 posts

Joined: Jan 2001

Although it looks like the only advice he's received so far is a repetition of what Keith suggested, Ryan may be on his way to resolving the problems he's experiencing by seeking help through the GM support forum Cool


Web Xpertz Community Forums for Webmasters & Developers

Where You Can Learn, Advise, and Have Fun in the Process

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.