• Welcome to Sitemap Generator Forum.
 

500 Internal error, on windows shared hosting

Started by manu, April 23, 2009, 10:04:52 PM

Previous topic - Next topic

manu

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

XML-Sitemaps Support

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.

manu

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

XML-Sitemaps Support

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.

manu

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


manu

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

XML-Sitemaps Support

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.