Hello,
Here is the error I am getting when activating PHP Module:
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/site/public_html/modules/mod_php/mod_php.php(36) : eval()'d code on line 3
Warning: require_once(http://site.com/LinkRotate/showlink.php?id=2) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/site/public_html/modules/mod_php/mod_php.php(36) : eval()'d code on line 3
Fatal error: require_once() [function.require]: Failed opening required 'http://site.com/LinkRotate/showlink.php?id=2' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/modules/mod_php/mod_php.php(36) : eval()'d code on line 3
Here is the PHP Code inside of PHP Module:
<?php require_once 'http://site.com/LinkRotate/showlink.php?id=2'; ?>
It basically calls a bank of links that rotate randomly. Nothing special.
I have this exact thing working on another site on the same server with no issues the only difference I can tell is the one that works is Joomla 1.5.10 and the one that doesn't is on a Joomla 1.5.11 install.
Any thoughts?
Thanks