zero-perfoliate
zero-perfoliate

Author Topic: Warning: include() [function.include]: URL file-access is disabled  (Read 5902 times)

tcase

  • Guest
what does this mean? and what should I look for to fix the problem?
I know that something isnt being found, but wanted to make sure I new what exactly.
file-access is disabled in teh server configuration? do I retype the line 34 to work better? or is there something I have to turn on with the server?
below is also line 34, I feel if I fix that, Then the rest should work fine.. unless have to configure server.
include "http://".$domain."/weather/hw3.php?alt=frontpage&forecast=metar&zipcode=44663";

Warning: include() [function.include]: URL file-access is disabled in the server configuration in C:\Program Files\VertrigoServ\www\inc\header.php on line 34

Warning: include(http://localhost/weather/hw3.php?alt=frontpage&forecast=metar&zipcode=44663) [function.include]: failed to open stream: no suitable wrapper could be found in C:\Program Files\VertrigoServ\www\inc\header.php on line 34

Warning: include() [function.include]: Failed opening 'http://localhost/weather/hw3.php?alt=frontpage&forecast=metar&zipcode=44663' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\VertrigoServ\www\inc\header.php on line 34

erothchild

  • Guest
Re: Warning: include() [function.include]: URL file-access is disabled
« Reply #1 on: December 24, 2007, 11:22:38 AM »
The first one means that you should set the permissions in for your web files, it looks like your host is not allowing remote access, It is a security issue, you can try setting the CHMOD permissions, most FTP programs allow you to change this easilly.  If you are working locally you will need to see why your files are not acessable.  For rhe second, there seems to be a problem with that url and its settings.