[SOLVED][Sitemap MODULE] Today it begins give me blank screen

mcemrn

Joined: 2013-02-17
Posts: 20
Posted: Wed, 2014-01-29 13:14

Hello, i have a problem, i use Gallery software from about 1 year, and i always used this Sitemap module: http://codex.galleryproject.org/Gallery3:Modules:sitemap and it always worked perfectly and generated my sitemap and updated my sitemap, but today when i click on "Build sitemap now" it load me a blank page and doesn't create the sitemap.xml and sitemap.xsl files.

I tried deactivate/reactivate the module but it don't work, i also tried to delete and reupload the module files in module subdirectory but without luck.

Any help ? Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-01-29 18:02

From the docs:

Quote:
this module doesn't handle this case. (10 MB is some 100,000 items.)

Do you fit that case?

Blank pages should show up in the servers error log. Perhaps a timeout/resource issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mcemrn

Joined: 2013-02-17
Posts: 20
Posted: Wed, 2014-01-29 18:28

No, my sitemap.xml file is 1.8Mb and has about 7.400 urls...

On server logs i have found nothing

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-01-29 19:49

I guess you will have to see if the author has any ideas.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mcemrn

Joined: 2013-02-17
Posts: 20
Posted: Thu, 2014-01-30 09:09
floridave wrote:
I guess you will have to see if the author has any ideas.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Wait wait, maybe you are correct and the problem is a server time out.

On the same site and same Web Hosting Company, i remember, that with another script when i was trying to upload some images i was getting "timeout server error" and i fixed chanching an option.
How can i check if it is the same problem ?

And how can i contact the Author of the module ?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-01-30 23:29
Quote:
How can i check if it is the same problem ?

If there is nothing in the servers logs then you would have to add some debug code to the module.

Quote:
Author of the module ?

Seems he abandoned his participation in this open source community.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mcemrn

Joined: 2013-02-17
Posts: 20
Posted: Tue, 2014-04-01 14:39

Ok i fixed the problem, for a strange reason my server logs doesn't show any memory limit problem(i have 128M) but...
I tried to add the following code at line 2 of "admin_sitemap.php"

ini_set("memory_limit","256M");

And now the sitemap module is working !