XML Sitemaps Generator

Author Topic: PHP Safe mode error  (Read 31232 times)

info39

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
PHP Safe mode error
« on: April 10, 2006, 03:50:03 PM »
I get the following error when i start crawling my site:

Warning: Cannot set time limit in safe mode in /home/virtual/site19/fst/var/www/html/site_map/pages/class.grab.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 12

I looked at the post: http://www.xml-sitemaps.com/forum/index.php/topic,6.html but it didn't seem to resolve anything


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: PHP Safe mode error
« Reply #1 on: April 11, 2006, 02:22:02 AM »
Hello,

as it is mentioned in the quoted message, this is not an error, but only a warning and it means that your server configuration doesn't allow script to set the timeout for itself. You can just ignore it as far as sitemap is generated successfully. If it's not, you should increase the max_execution_time setting in php.ini and restart apache.
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.

info39

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: PHP Safe mode error
« Reply #2 on: April 24, 2006, 10:26:59 AM »
I have changed the Max Execution time to 300 and still i get the same error ???:

Links depth: 3
Current page: it/news/esaams_march04.htm
Pages added to sitemap: 20
Pages scanned: 20 (246.7 Kb)
Pages left: 32 (+ 2 queued for the next depth level)
Time passed: 0:00
Time left: 0:00
Memory usage: -

Warning: Cannot set time limit in safe mode in /home/virtual/site19/fst/var/www/html/site_map/pages/class.grab.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 12

Any sujestions?

info39

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: PHP Safe mode error
« Reply #3 on: April 24, 2006, 11:15:48 AM »
I have run the "runcrawl.php" directly from the shell command line but this still does not produce the sitemap xml file!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: PHP Safe mode error
« Reply #4 on: April 24, 2006, 08:39:24 PM »
Hello,
Quote
I have changed the Max Execution time to 300 and still i get the same error Huh:
This is a warning message and you can ignore it as long as full sitemap is crawled within default max execution time limit.
Quote
I have run the "runcrawl.php" directly from the shell command line but this still does not produce the sitemap xml file!
Please make sure that you have set permissions correctly (sitemap.xml file should be existing and having 0666 permissions)
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