OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



DOAJ plugin for generating reports issue by issue [Solved]

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

DOAJ plugin for generating reports issue by issue [Solved]

Postby gusar » Fri Nov 22, 2013 1:21 am

Hello!
I changed existing DOAJ plugin for generating reports issue by issue. But when I uploaded it into installation directory and then go through domainnamemyjournal/index.php/namejournal/manager/importexport
It gives me a blank page without any error message although i switched on it in OJS config and php.ini.
Could you possibly help me to check my plugin in you real journal?
Attachments
colobokPlugin.rar
Installation path:plugins/importexport
(31.69 KiB) Downloaded 32 times
Last edited by gusar on Fri Nov 22, 2013 8:43 am, edited 1 time in total.
gusar
 
Posts: 13
Joined: Wed Jan 23, 2013 12:42 am
Location: Russian Federation

Re: DOAJ plugin for generating reports issue by issue

Postby asmecher » Fri Nov 22, 2013 7:45 am

Hi gusar,

Try using "php -l" to lint your PHP scripts, in case a typo crept in.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm

Re: DOAJ plugin for generating reports issue by issue

Postby gusar » Fri Nov 22, 2013 8:11 am

Hi asmecher,
Thx, for you reply. :) I checked all scripts and result:
No syntax errors detected in /var/www/colobokPlugin/....name of script.
I think i need help of checking in practice.
gusar
 
Posts: 13
Joined: Wed Jan 23, 2013 12:42 am
Location: Russian Federation

Re: DOAJ plugin for generating reports issue by issue

Postby asmecher » Fri Nov 22, 2013 8:18 am

Hi gusar,

Using "php -l", I get the following for your code:
Code: Select all
No syntax errors detected in ./colobokExportDom.inc.php
No syntax errors detected in ./index.php
PHP Deprecated:  Call-time pass-by-reference has been deprecated in ./colobokPlugin.inc.php on line 158

Deprecated: Call-time pass-by-reference has been deprecated in ./colobokPlugin.inc.php on line 158
No syntax errors detected in ./colobokPlugin.inc.php
Some versions of PHP will die when encountering call-time pass by reference.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm

Re: DOAJ plugin for generating reports issue by issue

Postby gusar » Fri Nov 22, 2013 8:42 am

asmecher, you are genius. :) It works. Thx, for you help.
gusar
 
Posts: 13
Joined: Wed Jan 23, 2013 12:42 am
Location: Russian Federation


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 2 guests