Forum Moderators: coopster

Message Too Old, No Replies

some php includes stopped working

         

esprague

8:15 pm on Oct 7, 2006 (gmt 0)

10+ Year Member



The morning of October 5th some of our php includes stopped working. One example being includes with "www" in the path.
include("http://www.x.com/a.php"); //no longer works
include("http://x.com/a.php"); //works but not across subdomains anymore

Here's some of our php.ini settings:
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
allow_url_fopen On On

Our host says they didn't change anything.

Any help will be appreciated.

There are other new issues with includes but this www example is the easiest to document/troubleshoot.

Thanks,
Eric

eelixduppy

4:15 am on Oct 8, 2006 (gmt 0)



Hello,

It seems that something was changed somewhere. I would start by setting this in your php.ini:


allow_url_fopen 1

It seems that the php.ini constants can be a little strange when it comes to allow_url_fopen, however I think it's only for false. But you should only have On written once.

>>There are other new issues with includes but this www example is the easiest to document/troubleshoot.

List a couple more; it will help with the troubleshooting to know all the facts.

It also seems that you have contacted your host already, but did they say anything else? Can you get them to take a look at it?

Best of luck!