PHP-included HTML page link broken
-
Good evening,
All of a sudden this morning, a PHP call bringing in a separate page to my template. The call is:
The messages are:
Warning: main(http://www.futonreport.net/armrest/armrest.html) [function.main]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/suss/public_html/wp-content/themes/futonreport3/rightsidebar.php on line 64 Warning: main(http://www.futonreport.net/armrest/armrest.html) [function.main]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/suss/public_html/wp-content/themes/futonreport3/rightsidebar.php on line 64 Warning: main() [function.include]: Failed opening 'http://www.futonreport.net/armrest/armrest.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/suss/public_html/wp-content/themes/futonreport3/rightsidebar.php on line 64
Line 64 is the PHP call in question:
"<?php include("http://www.futonreport.net/armrest/armrest.html"); ?>"
The page is http://www.futonreport.net
The embedded HTML page is http://www.futonreport.net/armrest/armrest.htmlThe odd thing is I didn’t alter this at all — it was working fine the night before. I double-checked permissions, armrest.html is 777.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP-included HTML page link broken’ is closed to new replies.