XML Sitemaps Generator

Author Topic: update to v3.0 and sitemap.html failed 500 Internal Server Error  (Read 15865 times)

lleitmotif

  • Approved member
  • *
  • Posts: 4
after a crawl, the permission for sitemap.html was auto set to 666 after crawl

my website [external links are visible to admins only] shows 500 Internal Server Error

my Solution: FTP and change to 644 or 755

However i crawl weekly, how can i AVOID FTPing weekly to manual change permissions?

Mr Goh

lleitmotif

  • Approved member
  • *
  • Posts: 4
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #1 on: May 26, 2009, 08:12:54 AM »
just an update to my problem which still EXISTS...

crawl is successful, new ror/urllist/sitemap.xml/sitemap.html is generated.
i FTP in and double checked the time so i can 'safely' say v3.0 works

however is there a setting to DISABLE chmod -> to '666' after crawling ?
remind as 664 will be good (as my prev version v2.x did)

lleitmotif

  • Approved member
  • *
  • Posts: 4
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #2 on: May 26, 2009, 08:18:39 AM »
message from my host provider on this permission issue

Hi,

You will need to use 755 for your file to make it work.

Any file that has file write permission for group or world will not be readable.

Best Regards,

John Lee
SuperSupport Staff
(65) 6288 6264

Vodien Internet Solutions
[external links are visible to admins only]

Ticket Details
===================
Ticket ID: LFL-590766
Department: Sales
Priority: Low
Status: Open

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #3 on: May 26, 2009, 10:26:40 PM »
Please try to modify pages/page-crawlproc.inc.php file and add this below the eval() line:
Code: [Select]
chmod("/path/to/generator/data/sitemap.html", 0644);
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.

lleitmotif

  • Approved member
  • *
  • Posts: 4
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #4 on: May 27, 2009, 01:24:52 AM »
soved my problem(sitemap.html)  but is

page-sitemap-detail.inc.php NOT page-crawlproc.inc.php

u may close this ticket thanks!

[external links are visible to admins only]
Please try to modify pages/page-crawlproc.inc.php file and add this below the eval() line:
Code: [external links are visible to admins only]
chmod("/path/to/generator/data/sitemap.html", 0644);

malaubli

  • Approved member
  • *
  • Posts: 3
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #5 on: August 24, 2009, 06:54:00 PM »
I'm having trouble here too.

A little history is important:

In May of last year I installed suPHP on my server to increase protection against hackers.

The old version of your sitemap generator continued to work just fine.

Two days ago I upgraded to the current version of the sitemap generator.

After I made the changes outlined above, I was able to generate the sitemaps without issue as long as I fired the task from the "Run" button in the Crawling tab.

As soon as the cron job took over though, I reverted to 666. 

Can I ask if you have considered making your xml-sitemap generator suPHP compliant?

Please advise soonest.


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #6 on: August 24, 2009, 07:31:32 PM »
Hello,

in case if your command line script is running under a different user, you should "change owner" of the target file to allow write access to it, while keeping permissions set to 0644.
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.

malaubli

  • Approved member
  • *
  • Posts: 3
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #7 on: August 24, 2009, 07:54:04 PM »
Thank you for the prompt reply Oleg.

By "target file," do you mean the sitemap.html file, or the php file that the cron job is firing?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: update to v3.0 and sitemap.html failed 500 Internal Server Error
« Reply #8 on: August 25, 2009, 08:51:12 PM »
I meant sitemap.xml file.
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