Cron job reports undefined index

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Cron job reports undefined index

Postby drjhf » Wed Jan 31, 2007 2:31 am

Any idea why this cron job message keeps appearing?

PHP Notice: Undefined index: SCRIPT_NAME in /var/www/html/scholarlyexchange/ojs-2.1.1/classes/core/ on line 100


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Wed Jan 31, 2007 9:38 am

Hi Julian,

This usually indicates that you're using the CGI PHP executable to run the script instead of the CLI PHP executable. Depending on your operating system distribution, there may be a separate package containing the CLI executable -- something like php-cli. However, the message is harmless.

Alec Smecher
Open Journal Systems Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest