Installer Cron job causes dynamic library error
QuoteJun 16, 2009 22:370 likesLike
 

I setup this Cron job yesterday :

/hsphere/shared/php4/bin/php-cli -q /hsphere/local/home/metaweb/humeridgechurch.org/community/periodic/notifies.php

and I get this error message:

PHP Warning: Unknown(): Unable to load dynamic library '/hsphere/shared/apache/libexec/php4ext/pgsql.so' - Shared object "libpq.so.3" not found, required by "pgsql.so" in Unknown on line 0 <font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br /> Please go to the <br /> <a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br /> and solve the problem.

How can this be fixed?

Thanks
Carl

QuoteJun 16, 2009 23:100 likesLike
 

Seems the Error is referring to a server configuration issue:

 

Shared object "libpq.so.3" not found, required by "pgsql.so"

 

I would check with your host and install libpq.so.3

QuoteJun 17, 2009 02:440 likesLike
 

Thanks did that

Now I'm geting the error message (even though I have register_globals turned off in .htaccess in the root of the site)

<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.

My host sugggested to use fopen or wget in the scripts? Not sure where to put that

Or is it better just to turn cron jobs off?

QuoteJun 17, 2009 03:250 likesLike
 

Most of those functions are located in the PHP.INI file. If you are using Cpanel then you would go into WHM and select PHP Config Editor. However, it is best just to rebuild apache and include the Dolphin PreInstall Functions and Server Environment variables w/in PHP before loading Dolphin. In the Easy ApacheBuild you will want to review 'exhaustive' options and select the proper elements according to Dolphin TRAC ^

 

You will get errors all day long if your server is NOT set properly.