Error parsing url
« on: September 06, 2009, 07:54:15 AM »
I get this error in my error log whenever the sitemap script runs, this started happening recently:

[06-Sep-2009 00:05:10] PHP Warning:  parse_url(http://): Unable to parse URL in /home/username/public_html/sitemap_gen/pages/ : eval()'d code on line 178

What is it caused from and how do I fix it?
Re: Error parsing url
« Reply #1 on: September 06, 2009, 07:07:39 PM »

that happens when *empty* URL is found within links when crawling the site. this is only a warning messages and canbe safely ignored (it doesn't affect resulting sitemaps).
Re: Error parsing url
« Reply #2 on: September 07, 2009, 08:53:03 PM »
Yeah but that error/warning is causing the script to terminate or stop crawling abruptly, and I am unable to generate a sitemap as a result.

If I give you the ftp details amd generator login could you take a look at everything to see if you can figure out what it wrong.

I even tried uploading a fresh copy of the generator files which didn't help, so the problem lies elsewhere. It seems the script encounters a bad url, terminates crawling as a result and generates that error/warning.

This is the first time I've tried running to script since I upgraded my forum software to IPB3/Invision Power Board 3.0.3. It wasn't doing this when I had IPB2 installed and is now suddenly erroring out with the upgrade to IPB3.
Re: Error parsing url
« Reply #3 on: September 08, 2009, 12:50:10 PM »
No, that warning does not interrupt the script, the issue must be related to something else. Please PM  me your generator URL/login.