I'm unfortunately a newbie to PHP and am on a steep learning curve. I'm getting the below error/warning messages instead of a page displaying. I searched the net and executed a php script to modify my php.ini and enable "allow_url_fopen", which was suggested as the problem, but that didn't cure the matter, so now I'm looking for more experienced help as I'm not sure what keywords to search for the answer and haven't learned the code well enough to figure it out beyond the basics of using includes, etc. I'd appreciate any help you can extend.
I've started developing several "projects" on my domain of http://myilyfe.com , and a subdomain of http://lisas-lyfe.myilyfe.com. I've also tried using this script in a folder, http://myilyfe.com/marketing, to be sure that the problem wasn't related solely to using a subdomain instead of the root. As you can see, I'm trying to think through this as logically as I know how.
Thanks,
Bill
Warning: main(): URL file-access is disabled in the server configuration in /home/content....cars.php on line 1
Warning: main(http://lisas-lyfe.myilyfe.com/rssgm/pag ... 15.226.101): failed to open stream: no suitable wrapper could be found in /home/content...cars.php on line 1
Warning: main(): URL file-access is disabled in the server configuration in /home/content...cars.php on line 1
Warning: main(http://lisas-lyfe.myilyfe.com/rssgm/pag ... 15.226.101): failed to open stream: no suitable wrapper could be found in /home/content....cars.php on line 1
Warning: main(): Failed opening 'http://lisas-lyfe.myilyfe.com/rssgm/pag ... =xxxxxxxxx' for inclusion (include_path='.:/usr/local/lib/php') in /home/content.........cars.php on line 1
failed to open stream: no suitable wrapper, and other errors
Moderator: General Moderators
Please post the output of
Code: Select all
<?php
echo '<div>version: ', phpversion(), "</div>\n";
echo '<div>uname: ', php_uname('srm'), "</div>\n";
echo '<div>sapi: ', php_sapi_name(), "</div>\n";
echo '<div>url_fopen: ', get_cfg_var('allow_url_fopen'), "</div>\n";
echo '<div>url_include: ', get_cfg_var('allow_url_include'), "</div>\n";
echo '<div>php.ini: ', get_cfg_var('cfg_file_path'), "</div>\n";As Requested
version: 4.3.11volka wrote:Please post the output ofCode: Select all
<?php echo '<div>version: ', phpversion(), "</div>\n"; echo '<div>uname: ', php_uname('srm'), "</div>\n"; echo '<div>sapi: ', php_sapi_name(), "</div>\n"; echo '<div>url_fopen: ', get_cfg_var('allow_url_fopen'), "</div>\n"; echo '<div>url_include: ', get_cfg_var('allow_url_include'), "</div>\n"; echo '<div>php.ini: ', get_cfg_var('cfg_file_path'), "</div>\n";
uname: Linux
sapi: cgi-fcgi
url_fopen:
url_include:
php.ini: /home/content/B/i/l/BillSpace5502/html/php.ini