Installer Cron job causes dynamic library error
AuthorMessage
misterkode
misterkode

(2 posts)

Jun 16, 2009 22:37   Quote
Points: 0   Vote

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

theGhost
theGhost

(325 posts)

Jun 16, 2009 23:10   Quote
Points: 0   Vote

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

misterkode
misterkode

(2 posts)

Jun 17, 2009 02:44   Quote
Points: 0   Vote

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?

theGhost
theGhost

(325 posts)

Jun 17, 2009 03:25   Quote
Points: 0   Vote

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.

 
 
 
{before_end}