OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Install New Payment Plugin

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.

Install New Payment Plugin

Postby tshore » Mon Feb 22, 2010 1:27 pm

So, I get my plugin gzipped and I go to Plugin Management > Install A New Plugin. Choose the file and when I click on upload, I get this error:

Errors occurred processing this form:
Plugin was not successfully copied

I see that it actually got uploaded and gunzipped into my ocs_files directory, but that's as far as it got.

Also, I thought that I remembered seeing a page somewhere on the PKP site that gave instructions for creating a new plugin. However, I wasn't able to find such a page today.

Help please.
tshore
 
Posts: 264
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Install New Payment Plugin

Postby tshore » Mon Feb 22, 2010 9:05 pm

Ok, I got rid of the blank page. Checked my error_log (probably should've done this before posting...) and I saw that there was an error including PluginNamePlugin.inc.php and I realized that that file was still named ManualPaymentPlugin.inc.php (since I copied the Manual Payment plugin).

Also, I found the page that I was looking for, only it wasn't what I was looking for. It is this Wiki page that describes how to create a new block plugin:

http://pkp.sfu.ca/wiki/index.php/Writing_a_Block_Plugin
tshore
 
Posts: 264
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Install New Payment Plugin

Postby jmacgreg » Thu Feb 25, 2010 12:27 pm

Hi Trudy,

Is everything ok here, then? And a quick note: Mahmoud Saghaei has created a useful plugin builder app that he has shared with the community here: viewtopic.php?f=28&t=4783. It may be of use when creating a plugin from scratch.

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

Re: Install New Payment Plugin

Postby tshore » Thu Feb 25, 2010 12:30 pm

Yes, I'm good now.

Thank you James.
tshore
 
Posts: 264
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests