• Welcome to Sitemap Generator Forum.
 

Setup problem - only 1 link generated

Started by clare, May 18, 2011, 11:13:50 AM

Previous topic - Next topic

clare

I've just installed the generator and it seems to start processing fine, but then I get an internal server error and it only generates 1 URL ...

Sitemap details
-------------------------
Request date: 18 May 2011, 10:05
Processing time: 0:03:56s
Pages indexed: 1

Sitemap files: 1

Pages size: 23.99Mb
-------------------------
View Sitemaps
-------------------------
XML Sitemap
[ External links are visible to forum administrators only ]

I have searched this forum and increased my PHP ini memory_limit and max_execution_time settings but still have the same issue

Does anyone have any ideas as to what I can try next please? I'm on IIS7 btw
thanks!
Clare

clare

OK I noticed an error that my sitemap.xml did not have write permission, so I amended that

Now I am getting the following....

Wed May 18 11:41:30 UTC+0100 2011: resuming generator (120 seconds with no response)
Wed May 18 11:39:30 UTC+0100 2011: resuming generator (120 seconds with no response)
Wed May 18 11:37:29 UTC+0100 2011: resuming generator (120 seconds with no response)


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.

clare

Hi, thanks for your reply!

As per my post upthread, I have already changed php.ini as recommended in another thread

What other settings can I change to prevent timeout?

NB: Server is Windows 2008 - I did not have this issue on 2003

thanks
Clare

clare

Just to add that after I changed php.ini I just clicked file, save. Is this OK or do I need to restart the server or anything for this to take effect?

thanks
clare

clare

I have now upped the CGI timeout value in IIS

I've run the script from the command line and it whizzes through the pages fine for a few minutes then stops dead, the black cmd window just disappears and I'm still left with just 1 line in my sitemap


clare

Don't worry thanks, I've finally fixed it myself

For all those others struggling with IIS7 and Windows 2008...

Once you've changed the settings in your PHP.ini so the script doesn't timeout, you need to RESTART IIS!