540762 Cron and PHP-CLI

Ukończone Opublikowano Dec 15, 2011 Płatność przy odbiorze
Ukończone Płatność przy odbiorze

I need a Linux CentOS 6 expert to help with new script error fixing.

The script is intsalled and is running well. I have one cron job that calls a file called [url removed, login to view] that needs to be executed via " PHP- CLI ".

when I try and run the cron job ( php -q /var/www/html/[url removed, login to view]) I get all kind of error messages ( see bellow). The script programer is saying

"Your server control panel is not executing the cron job with php cli, it is using normal php, which is why you get that error."

The control panel that I use is Webmin. I need someone that can solve the cron job issue.

The error message I am getting is this:

Output from command php -q /var/www/html/beezee/[url removed, login to view] ..

PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

PHP Warning: session_start(): open(/var/lib/php/session/sess_5bvbstc46cdnnur3sj58867j11, O_RDWR) failed: Permission denied (13) in /var/www/html/beezee/include/[url removed, login to view] on line 17

PHP Notice: Undefined index: language in /var/www/html/beezee/include/[url removed, login to view] on line 66

PHP Notice: Undefined index: language in /var/www/html/beezee/include/[url removed, login to view] on line 82

PHP Notice: Undefined variable: sban in /var/www/html/beezee/include/[url removed, login to view] on line 122

PHP Notice: Only variable references should be returned by reference in /var/www/html/beezee/libraries/adodb/[url removed, login to view] on line 568

PHP Notice: Trying to get property of non-object in /var/www/html/beezee/include/[url removed, login to view] on line 126

PHP Notice: Undefined index: USERID in /var/www/html/beezee/include/[url removed, login to view] on line 196

PHP Notice: Undefined index: fbs_105886736196884 in /var/www/html/beezee/include/[url removed, login to view] on line 207

PHP Notice: Undefined index: sig in /var/www/html/beezee/include/[url removed, login to view] on line 215

PHP Notice: Undefined index: USERNAME in /var/www/html/beezee/include/[url removed, login to view] on line 290

PHP Notice: Undefined index: FB in /var/www/html/beezee/include/[url removed, login to view] on line 290

PHP Warning: Unknown: open(/var/lib/php/session/sess_5bvbstc46cdnnur3sj58867j11, O_RDWR) failed: Permission denied (13) in Unknown on line 0

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

Please only bid if you know what needs to be done. I will only see this job as completetd if the cron job errors are gone.

Linux Odd Jobs PHP Instalowanie skryptów

Numer ID Projektu: #2286703

O projekcie

1 oferta Zdalny projekt Aktywny Jul 11, 2012

Przyznany użytkownikowi:

jfreyre

I know how to fix it.

$50 USD w ciągu 0 dni
(340 ocen)
7.5