Page 1 of 1

Giving you something to do... :P

Posted: Thu Feb 07, 2008 7:02 pm
by Achilles_Force
Why do I get this?
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/uccorpor/public_html/urynx.com/support/main.php on line 1

Warning: include(http://forum.uccorporation.org/support_urynx_news.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/uccorpor/public_html/urynx.com/support/main.php on line 1

Warning: include() [function.include]: Failed opening 'http://forum.uccorporation.org/support_urynx_news.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uccorpor/public_html/urynx.com/support/main.php on line 1
All I have is this

Code: Select all

<?php include('../../events_urynx_news.php'); ?>
I have the above on /home/uccorpor/public_html/forum/events_urynx_news.php

Re: Giving you something to do... :P

Posted: Thu Feb 07, 2008 7:09 pm
by Christopher
First, please give descriptive titles to your posts. You are getting free advice from volunteers here.

Second, have you looked inside of events_urynx_news.php ? It looks from the error messages that code inside that script is attempting to include those URLs.

Re: Giving you something to do... :P

Posted: Thu Feb 07, 2008 7:11 pm
by aaronhall
You're looking at the wrong file. PHP is complaining about

Code: Select all

include("http://forum.uccorporation.org/support_urynx_news.php")
in /home/uccorpor/public_html/urynx.com/support/main.php. allow_url_include is disabled in your php.ini -- if you can change it, php will shut up about it, but if the file you're trying to include is on a remote server, you're not going to be including php code, just the output of a parsed php file.

Re: Giving you something to do... :P

Posted: Thu Feb 07, 2008 7:55 pm
by Achilles_Force
Yeah, I think that "allow_url_include " is what it is. Can any one explain me how to enable it? I got Cpanel 10.x if that helps ^_^

Re: Giving you something to do... :P

Posted: Thu Feb 07, 2008 8:00 pm
by Christopher
Aaron was nice enough to provide you with a link. Click it and then click around the manual a little.

Re: Giving you something to do... :P

Posted: Thu Feb 07, 2008 8:08 pm
by Achilles_Force
ooh, I'm sorry. Kinda missed that :P