OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



FATAL ERROR: Manual Payment

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

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

FATAL ERROR: Manual Payment

Postby unknow1212 » Wed Sep 24, 2008 3:01 am

Hi,

we repeatedly receive following error message after registration to the conference:

Fatal error: Call to a member function on a non-object in .../plugins/paymethod/manual/ManualPaymentPlugin.inc.php on line 65

On line 65 in the source file, the code says: $rt = $rtd->getRegistrationType($reg->getTypeId()); --> this suggests that the system cannot retrieve the ID for the registration type

Curiously, the registration is actually completed despite the error message (i.e. the registration data were actually written to the data base)! We just receive this strange error message, and we do not know why.

Thanks for answering.
unknow1212
 
Posts: 10
Joined: Mon Sep 01, 2008 12:59 am

Re: FATAL ERROR: Manual Payment

Postby mcrider » Wed Sep 24, 2008 12:56 pm

Hi unknow1212,

What version of OJS are you using? I can't find the code you mention, so I'm guessing its an older version (or else you've customized the plugin). There have been a number of fixes to the manual payment plugin since its initial release, so I would suggest upgrading your copy of OCS, or, you may be able to just copy the newest version of the manual payment plugin into your OCS installation.

Hope that helps,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: FATAL ERROR: Manual Payment

Postby unknow1212 » Thu Sep 25, 2008 8:30 am

Hi,

I update only the ManualPaymentPlugin.inc.php to the version 2.1 and later to 2.1.1
Now the following error message comes:
/var/www/html/ocs_test/plugins/paymethod/manual/ManualPaymentPlugin.inc.php on line 63 (in version 2.1)
/var/www/html/ocs_test/plugins/paymethod/manual/ManualPaymentPlugin.inc.php on line 64 (in version 2.1.1)
On line 63/64 in the source file, the code says:
$templateMgr->assign('message',$schedConf->getLocalizedSetting('registrationAdditionalInformation'));
Registration data were allready written to the data base.

Thx for help
unknow1212
 
Posts: 10
Joined: Mon Sep 01, 2008 12:59 am

Re: FATAL ERROR: Manual Payment

Postby jmacgreg » Mon Oct 06, 2008 2:05 pm

Hi unknow1212,

Can you remind me again which version of OCS you are using? If this is a test case, are you able to upgrade to the most recent version (2.1.1)? It may make troubleshooting easier.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron