OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Completting Proofreading problem

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 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.

Completting Proofreading problem

Postby eruthes » Tue May 16, 2006 11:21 am

when I'm trying to send an email notifying that I (LayoutEditor) finished the proofreading (step 3 of proofreading) this error message appears followed by an email form with To, CC and BCC clean:

Notice: Undefined variable: editAssignments in /home/eruthes/public_html/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 289

Warning: Invalid argument supplied for foreach() in /home/eruthes/public_html/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 289

Notice: Undefined variable: receiverName in /home/eruthes/public_html/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 299

Notice: Undefined variable: receiverAddress in /home/eruthes/public_html/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 320

Notice: Undefined variable: receiverName in /home/eruthes/public_html/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 32

These messages appear on PHP5. On PHP4.3 the messages are:
Notice: Undefined variable: receiverName in /home/ojs/www/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 299

Notice: Undefined variable: receiverAddress in /home/ojs/www/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 320

Notice: Undefined variable: receiverName in /home/ojs/www/ojs2_test/classes/submission/proofreader/ProofreaderAction.inc.php on line 320

Any idea?

Eduardo Ruthes
eruthes
 
Posts: 26
Joined: Mon Nov 21, 2005 9:33 am
Location: Curitiba, Paraná - Brasil

Postby eruthes » Tue May 16, 2006 11:32 am

I tried to correct these problem adding:
$editAssignments =& $sectionEditorSubmission->getEditAssignments();

on line 286 of classes/submission/proofreader/ProofreaderAction.inc.php, just before the foreach loop...

it solved my problem but is it correct to do?
eruthes
 
Posts: 26
Joined: Mon Nov 21, 2005 9:33 am
Location: Curitiba, Paraná - Brasil

Postby asmecher » Tue May 16, 2006 11:33 am

Hi eruthes,

Are you using the most recent release of OJS? (Currently OJS 2.1.0-1.)

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby eruthes » Wed May 17, 2006 5:42 am

Yes, we have the latest OJS version (OJS 2.1.0-1) updated from OJS 2.0.2-1.


Eduardo Ruthes
eruthes
 
Posts: 26
Joined: Mon Nov 21, 2005 9:33 am
Location: Curitiba, Paraná - Brasil

Postby asmecher » Wed May 17, 2006 11:55 am

Hi Eduardo,

See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2186 for the Bugzilla entry -- yes, your proposed fix is correct.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest