Jump to content

Help with error message


Lassie

Recommended Posts

I have an error message an am unsure how to reslove the issue.

The code i am using works fine on one local machine but not on my server (self hosted)

Any pointers on where to look to fix this is very welcome.

The error is

Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in W:\www\wordpress\wp-content\themes\custom1\author.php on line 64

 

Warning: require_once(http://localhost/wordpress/wp-content/themes/custom1/mysql_connect2.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in W:\www\wordpress\wp-content\themes\custom1\author.php on line 64

 

Fatal error: require_once() [function.require]: Failed opening required 'http://localhost/wordpress/wp-content/themes/custom1/mysql_connect2.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR') in W:\www\wordpress\wp-content\themes\custom1\author.php on line 64

Link to comment
https://forums.phpfreaks.com/topic/166296-help-with-error-message/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.