XML Sitemaps Generator

Author Topic: 500 server error after update  (Read 4985 times)

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
500 server error after update
« on: November 30, 2015, 04:43:10 AM »
Hi

I tried running our standalone version yesterday – it started crawling but did not complete – 500 Internal server error part way through

So I have downloaded the latest version and updated etc.

Now it won’t run at all – 500 Internal server error straight away

I have checked directory permissions and they look OK

What should I try to remedy this?

ron

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 server error after update
« Reply #1 on: November 30, 2015, 04:47:55 PM »
Hello,

what are the permissions set?
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.

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
Re: 500 server error after update
« Reply #2 on: December 01, 2015, 01:33:26 AM »
I set the permissions as per installation instructions but they seem to have reverted - I will contact the host to see what can be done
Ron

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
Re: 500 server error after update
« Reply #3 on: December 02, 2015, 05:37:45 AM »
Ok have checked with the hosting co and changed the permissions

777 gives me 500 error
755 gives me 504 gateway timeout after crawl starts


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 server error after update
« Reply #4 on: December 02, 2015, 05:42:38 AM »
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.
 
Please also note that sitemap generator can be used for own personal sites only , i.e. it cannot be used to create sitemaps for 3rd party sites or provided as a service (paid or free): http://www.xml-sitemaps.com/license.html (separate licenses need to be purchased for that)
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.

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
Re: 500 server error after update
« Reply #5 on: December 02, 2015, 11:36:28 PM »
I have increased execution time to 300 and memory to 5000 (which are pretty high). Same 504 error. 

I am running this on our own site (not a 3rd party one)

Regards

Ron


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 server error after update
« Reply #6 on: December 03, 2015, 01:17:29 PM »
Hello,  in this case I would recommend to run generator in command line if you have ssh access to your server.
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.

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
Re: 500 server error after update
« Reply #7 on: December 03, 2015, 06:17:48 PM »
I think I have access. What is the exact command syntax to use please?
Thanks

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 server error after update
« Reply #8 on: December 04, 2015, 05:57:58 AM »
The command line is displayed on Crawling page of sitemap generator.
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.

ron8

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 24
Re: 500 server error after update
« Reply #9 on: January 12, 2016, 08:43:01 AM »
I ran the cron command /usr/bin/php /home/destnz/public_html/generator/runcrawl.php

and received this error report:

Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220100525,NTS
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Zend Technologies at [external links are visible to admins only] for a later version of Zend Optimizer.


<br />
<b>Warning</b>:  PHP Startup: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Fatal error</b>:  Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />

Regards

Ron

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 server error after update
« Reply #10 on: January 12, 2016, 02:40:32 PM »
Hello,

sitemap generator doesn't use allow_call_time_pass_reference setting, it's probably specified in your php configuration, please check that with your host.
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