Re: Is the problem a server setting?
| From: | Chad Henderson | Date: | Mon, 10 Mar 2003 19:10:40 +0000 |
| Subject: | Re: Is the problem a server setting? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139004@lists.php.net to get a copy of this message | ||
Thanks for the reply Mark,
allow_url_fopen is set to on
i did not see anything about --disable-url-fopen-wrapper
Here is the info file:
http://www.afgaonline.com/phpinfo.php
"Mark Heintz Php Mailing Lists" <heintzphp@mail.groupm7.com> wrote in
message news:Pine.LNX.4.44.0303101258000.9765-100000@mail.groupm7.com...
It sounds like either allow_url_fopen is set to false or php was compiled
with --disable-url-fopen-wrapper. Either way, checking the output of
phpinfo() should give you your answer.
mh.
On Mon, 10 Mar 2003, Chad Henderson wrote:
> Thanks for the reply. If they did upgrade PHP, which I am fairly sure they
> did, are there changes to the new PHP that would prevent the script from
> working? Or is it a matter of them not setting up the upgrade the same as
> the previous installation?
>
>
>
> "Ray Hunter" <ray@php.net> wrote in message
> news:1047321537.1499.36.camel@zeus...
> You should contact the web hosting system administrator and verify that
> they upgraded php. From what i can tell it seems that they did upgrade
> php.
>
> --
> Ray
>
> On Mon, 2003-03-10 at 10:58, Chad Henderson wrote:
> > I have a number of websites that are on a hosting company, that I have
> been
> > using for a year or so. Suddenly, this morning, all of the websites
began
> to
> > have PHP script errors on scripts that have run without fail for a long
> > period of time. I think the server setup must have been altered this
> weekend
> > but do not know how to look for or prove this. Any ideas would be
greatly
> > appreciated.
> >
> > Here is the error you get when you try to load
> > http://www.afgaonline.com
> >
> > --paste--
> >
> > Warning: file(http://www.afgaonline.com/templates/tem4.tem)
> [function.file]:
> > failed to create stream: HTTP request failed! ¿¯wT in
> > /home/afgaonli/public_html/includes/Template.php on line 15
> >
> > --end paste --
> >
> > The text that follows failed! above always changes.
> >
> > Here is the code that is failing:
> >
> > 12 function Template ($template)
> > 13 {
> > 14 $this->template = $template;
> > 15 $this->html = implode ("",(file($this->template)));
> > 16 }
> >
> > What should I look for?
> > thanks!
> >
> > Chad