500 Internal error, on windows shared hosting
« on: April 23, 2009, 10:04:52 PM »
Hello,

I installed the generator in the same folder where the website is located.
I set the permissions for the folders generator and data to read and write, and the sitemap.xml inherits the write permition from the folder it's in.
When I hit the Run button under the Crawling tab, I get a 

500 - Internal server error
 with the message:
 There is a problem with the resource you are looking for, and it cannot be displayed.

When I access the sitemap.xml I find the following content in it:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
________________________________________
XML document must have a top level element. Error processing resource '[ External links are visible to forum administrators only ]'.


I have windows shared hosting with Godaddy.
Any suggestions? What should I do to make it work?

Thank you,
Manu
Re: 500 Internal error, on windows shared hosting
« Reply #1 on: April 24, 2009, 12:28:29 AM »
Hello,

it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
Re: 500 Internal error, on windows shared hosting
« Reply #2 on: April 28, 2009, 01:08:45 AM »
Hello,

I have contacted godaddy and they said I can create my one php5.ini file.
So I have created a text file named php5.ini and I put in it the following:

memory_limit = 20M
max_execution_time = 9000

saved it and put in the root directory.

I get the same error when I try to run the script:

500 - Internal server error
 with the message:
 There is a problem with the resource you are looking for, and it cannot be displayed.

Is this the right way to modify these settings?

Thank you,
Manu
Re: 500 Internal error, on windows shared hosting
« Reply #3 on: April 28, 2009, 05:58:03 PM »
Hello,

please try memory_limit of 256M, then run sitemap generator with "Run in background" option enabled. Even if it says "internal error", try to wait for about 30 minutes and then open generator again to see if sitemap has been created.
Re: 500 Internal error, on windows shared hosting
« Reply #4 on: April 30, 2009, 05:17:28 PM »
Hello,

I have followed your instructions, but the sitemap wasn't created.
I really want to make the script work.
What else can I try?

Thank you,
Manu
Re: 500 Internal error, on windows shared hosting
« Reply #6 on: May 19, 2009, 01:40:00 AM »
Awesome, thank you so much.
If I run the generator in background again would the sitemap.xml file be updated?
Do I need to resume it multiple times like you did?

Thank you,
manu
Re: 500 Internal error, on windows shared hosting
« Reply #7 on: May 19, 2009, 12:21:05 PM »
It should be created, but please check back after a while to see if it was actually updated and resume generator if it has stopped.