You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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/Request.inc.php on line 100

Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

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
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests