Cron Jobs error - mbstrings error

Hi There,

I came across an issue with my Crob Jobs. I fixed it (i think...????) so just wanted to share if anyone else is experiencing the same issue.

I'm running dolphin on a linux box in which php was installed as an Apache Module, instead of a separate CGI.

Very important clarification here...

Once I installed the software, I added the 3 separate cron jobs. (cmd.php, cupid.php, notifies.php).

The instructions said to add each path with the "/usr/bin/php -q" before the path to each of the cron job files to run.

Example: 0 0 * * *  /usr/bin/php -q /var/www/html/dolphin/periodic/cmd.php

Apparently, "/usr/bin/php -q" only works when you are running PHP as a CGI, not an Apache module.

As a result, i was being emailed every hour (and ten minutes) a message saying that I was missing my "mbstring" extension...when I had already verified that the extension was added on compile.

Solution??

I had to install "lynx", a browser for linux, go to the crob jobs and add each cron job as if lynx was accessing each page. Example:

lynx -dump http://208.84.148.186/dolphin/periodic/cmd.php

Once i did this, I realized it wasn't working yet, because there's an .htaccess file in the "dolphin/periodic" folder which denies access to all .php files.

So i ended up renaming the .htaccess to something else ("donotuse.htaccess.donotuse"), and voila!!

The cron jobs run....and are sending me meaninful information instead of the "missing mbstrings" crap which I already knew i had installed.


Now...I don't know what is the impact of not having a working .htaccess file in that directory.....is this a high security risk? will someone come and hack my site?

Bueller? anyone? anyone? Bueller?

What do you think?

Quote · 1 Dec 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.