running updateindex.php from the command line

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

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.
robackja
Posts: 3
Joined: Thu Mar 03, 2005 9:57 am
Location: Tucson, AZ
Contact:

running updateindex.php from the command line

Postby robackja » Thu Mar 03, 2005 2:27 pm

I am trying to run updateindex.php with command line php.

I get hundreds of these PHP notices:

Code: Select all

PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 144
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 144
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 158
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 162
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 162
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 163
PHP Notice:  Use of undefined constant current_array - assumed 'current_array' in /var/www/html/harvester/include/xmlparser.inc.php on line 163


I am in the harvester directory. As root (note is only a test server), running:
$ php updateindex.php

I am using version 1.0.1, with Fedora Core 3 on x86 with php-4.3.10-3.2

Any ideas on what I am missing or doing wrong?
thanks

kevin
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm
Contact:

Postby kevin » Thu Mar 03, 2005 10:53 pm

You can suppress those notices by using the default error_reporting level in your PHP configuration.


Return to “Open Harvester Systems Support and Development”

Who is online

Users browsing this forum: No registered users and 1 guest