XML Sitemaps Generator

Author Topic: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'  (Read 10515 times)

fred.kellermann

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Hello,

we have set up the standalone sitemap generator on our customers domain and using it manually, everything seems to work fine so far.

Setting up a Plesk cron job (/usr/bin/php /var/www/vhosts/romolini.com/httpdocs/generator/runcrawl.php) I receive the following crontab message via e-mail:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so' - /usr/lib64/php/modules/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
PHP Deprecated:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
1 | 429 | 202.4 | 0:00:02 | 0:14:34 | 1 | 3,376.6 Kb | 1 | 0 | 3376
15 | 415 | 1,507.1 | 0:00:05 | 0:02:21 | 1 | 3,745.6 Kb | 7 | 129 | 3745
....

The XML-sitemap is generated anyway and seems to be complete, but I do not receive the "Standalone Sitemap Generator Report" via e-mail, although the cron job e-mail says in the end:

....
2917 | 1 | 195,571.9 | 0:09:24 | 0:00:00 | 3 | 5,253.1 Kb | 2714 | 0 | 1
2918 | 0 | 195,571.9 | 0:09:24 | 0:00:00 | 4 | 4,412.3 Kb | 2715 | 0 | -841
<h4>Completed</h4>Total pages indexed: 2715
<br>Creating sitemaps...
<div id="percprog"></div>
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br>Sending email notification... |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page. <script> top.location = 'index.php?op=view' </script>

When starting the generator manually this report arrives correctly.

Can you help? Thank you very much in advance.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #1 on: May 30, 2013, 02:16:31 AM »
Hello,

that is a warning message telling that php configuration is not correct in mysql settings, but it doesn't affect generator and it's results since it doesn't use mysql.
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.

fred.kellermann

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #2 on: May 30, 2013, 07:19:59 AM »
OK, I will check this with my provider.

But why do I not receive the e-mail report?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #3 on: May 31, 2013, 04:06:54 PM »
Possibly mail send function is not allowed in php configuration on 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.

fred.kellermann

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #4 on: May 31, 2013, 04:28:45 PM »
It is. I had the support check all possible reasons. They created a script to send mail via sendmail, launched it via browser, command line and cronjob. In all cases the e-mail arrived.
First they thought it could depend on missing headers so the mails would trigger antispam, therefore they additionally changed the default mail headers to a valid adress.

The strange thing is that in the e-mail I receive from the cronjob I get in the end:

<h4>Completed</h4>Total pages indexed: 1980
<br>Creating sitemaps...
<div id="percprog"></div>
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br>Sending email notification... |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page. <script> top.location = 'index.php?op=view' </script>

It says that it would send an email notification. Is it possible that some variables are not passed when the script runs from command line?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #5 on: June 05, 2013, 11:24:02 AM »
Hello,

the settings are the same when running from command line.
Please try to add this setting in generator/data/generator.conf file:

<option name="xs_email_f">1</option>
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.

fred.kellermann

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #6 on: June 06, 2013, 01:27:00 PM »
Hello and thank you for your help.

Unfortunately it does not change anything.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Unable to load dynamic library '/usr/lib64/php/modules/sqlite.so'
« Reply #7 on: June 09, 2013, 07:04:05 AM »
Can you provide a temporary ftp access in private message for troubleshooting?
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