Adding a field in registration

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
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: 23
Joined: Tue Jun 05, 2007 12:02 pm
Location: Bangalore

Adding a field in registration

Postby dinesh » Tue Jul 03, 2007 1:33 pm


I tried adding a new field "Payment details" in registration form, in line with the "Special requests" item. i created variable names paymentDetails, similar to specialRequests. The files i tried are:


But when tried, some DB error came, which said SQL syntax is wrong. Am I becoming too much adventurous? I have taken back up of all files and has rolled back. But, would like to know any decent method available? I donot know MySQL or php.

-thanks and regards,


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

Postby asmecher » Tue Jul 03, 2007 1:43 pm

Hi Dinesh,

The error is almost certainly a mistake in the changes to the RegistrationDAO. Double-check your modifications there and also ensure that the new field has been added to your database, not just the OJS code. Some knowledge of SQL is necessary for this kind of change -- but it should be a fairly quick change if you can get help from somebody on hand.

Alec Smecher
Public Knowledge Project Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada

Posts: 23
Joined: Tue Jun 05, 2007 12:02 pm
Location: Bangalore

Postby dinesh » Wed Jul 04, 2007 10:14 am

Hi Alec,

Thanks very much for the prompt help. I did that with the help of a MySQL expert.

It is now working.



Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 0 guests