ron8

*
  • *
  • 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

ron8

*
  • *
  • 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

*
  • *
  • 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

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): https://www.xml-sitemaps.com/license.html (separate licenses need to be purchased for that)

ron8

*
  • *
  • 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

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.

ron8

*
  • *
  • 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

ron8

*
  • *
  • 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 forum administrators 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
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.