GG-Xtreme
New Member
- Messages
- 430
- Reaction score
- 0
- Points
- 0
I recently upgraded to PHP advanced to fix a sitemap script. Well, now it actually starts, but halfway through, I get:
(I have added the asterisks myself to obfuscate the URL)
followed by:
Those 2 errors keep repeating thousands of times until I close the page. I tried replacing fopen with file_get_contents, but the same thing happens (except that the function says 'file_get_contents' in the error). The script worked just fine before the 'upgrades' that x10 underwent, but it is the only thing that remains broken.
Edit:
*bump* Why are the fopen and file_get_contents functions getting a 404 when I can visit the page in my browser just fine? I don't want to be suspended for high resource usage, because since the script won't connect, my cron job is stuck in an infinite loop.
Code:
[B]Warning[/B]: fopen(http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2Fmercx.exofire.net%2F%2Fsitemap.xml) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in [B]/home/*****/public_html/*****/inc/functions/parsing.inc.php[/B] on line [B]545[/B]
followed by:
Code:
[B]Warning[/B]: feof(): supplied argument is not a valid stream resource in [B]/home/*****/public_html/*****/inc/functions/parsing.inc.php[/B] on line [B]551[/B]
[B]Warning[/B]: fread(): supplied argument is not a valid stream resource in [B]/home/*****/public_html/*****/inc/functions/parsing.inc.php[/B] on line [B]552[/B]
Edit:
*bump* Why are the fopen and file_get_contents functions getting a 404 when I can visit the page in my browser just fine? I don't want to be suspended for high resource usage, because since the script won't connect, my cron job is stuck in an infinite loop.
Last edited: