Re: [PHP] Is the problem a server setting?
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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > 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: > > > > 12function Template ($template) > > 13 { > > 14 $this->template = $template; > > 15 $this->html = implode ("",(file($this->template))); > > 16 } > > > > What should I look for? > > thanks! > > > > Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is the problem a server setting?
I did not see the "Mark Heintz Php Mailing Lists" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > 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: > > > > 12function Template ($template) > > 13 { > > 14 $this->template = $template; > > 15 $this->html = implode ("",(file($this->template))); > > 16 } > > > > What should I look for? > > thanks! > > > > Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is the problem a server setting?
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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > 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: > > > > 12function Template ($template) > > 13 { > > 14 $this->template = $template; > > 15 $this->html = implode ("",(file($this->template))); > > 16 } > > > > What should I look for? > > thanks! > > > > Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is the problem a server setting?
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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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: > > 12function Template ($template) > 13 { > 14 $this->template = $template; > 15 $this->html = implode ("",(file($this->template))); > 16 } > > What should I look for? > thanks! > > Chad > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is the problem a server setting?
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: > > 12function Template ($template) > 13 { > 14 $this->template = $template; > 15 $this->html = implode ("",(file($this->template))); > 16 } > > What should I look for? > thanks! > > Chad > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php