XML Sitemaps Generator

Author Topic: 500 Internal error, on windows shared hosting  (Read 17745 times)

manu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
500 Internal error, on windows shared hosting
« on: April 23, 2009, 09: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 admins only]'.


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

Thank you,
Manu

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: 500 Internal error, on windows shared hosting
« Reply #1 on: April 23, 2009, 11:28:29 PM »
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

manu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: 500 Internal error, on windows shared hosting
« Reply #2 on: April 28, 2009, 12: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: 500 Internal error, on windows shared hosting
« Reply #3 on: April 28, 2009, 04: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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

manu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: 500 Internal error, on windows shared hosting
« Reply #4 on: April 30, 2009, 04: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: 500 Internal error, on windows shared hosting
« Reply #5 on: April 30, 2009, 09:21:09 PM »
Please PM me your generator URL/login.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

manu

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: 500 Internal error, on windows shared hosting
« Reply #6 on: May 19, 2009, 12: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: 500 Internal error, on windows shared hosting
« Reply #7 on: May 19, 2009, 11:21:05 AM »
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2