Quick submit plugin in OJS 3.0

hai @asmecher when quick submit plugin available in the Plugin Gallery? because i need that plugin. thanks.

Hi @ceperlan,

We will add it to the Plugin Gallery when it is complete (available in your OJS installation). In the meantime, it’s close to finished and you’re welcome to try it out in its current form in the link above.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

Can you tell me how to try install quick submit plugin in my ojs installation.

See:

I’ve Followed his instructions but in my journal not work.:pensive:

when i click link quickSubmit not work. why?

Have you read @bozana suggestion in this thread?

It works for me.

Hello, I followed the instruction to install quickSubmitplugin, but it gaves me an error when I clicked "upload ".

Please help!

thanks

Hi @Ptran,

Check your PHP error log; it may contain details.

Regards,
Alec Smecher
Public Knowledge Project Team

hello Alec,
my PHP error log gives this:
PHP Fatal error: Can’t use method return value in write context in /var/www/ojstest/plugins/importexport/quickSubmit/c
lasses/form/UploadImageForm.inc.php on line 128

please advise,
thanks

Hi @Ptran,

Try applying this patch: Fix assertion use of empty with return · pkp/quickSubmit@44479b1 · GitHub

Note that this problem shows up when your system has assertions enabled, which isn’t a recommended production PHP configuration.

Regards,
Alec Smecher
Public Knowledge Project Team

hi Alec,
I applied your patch, it opens an upload window, but when I clicked “OK” it just stays there. (see attachment)’

I checked the log, it gave me an error : " PHP Warning: copy(public/journals/1/article_41_cover_en_US.jpg): failed to open stream: Permission denied in /var/www/ojstesting/lib/pkp/classes/file/FileManager.inc.php on line 159 " .
I double checked my public directory and it has “root:apache” as ownership and 775 as permissions.

**Note: I also checked my php.ini configuration file and I have my " ;assert.active=on " common out. How can I tell if it has been enabled ?

thanks

Hi @Ptran,

Have a look at the FAQ entry on file permissions. In addition to numeric permissions, you’ll also have to consider file ownership (and on some systems, additional details like SELinux extensions).

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Something seems to be broken after upgrading to 3.0.2. Previously installed Quick Submit plugin has now disappeared from the plugin list. But when I try to install it either from the gallery or by uploading, it says: “Plugin already installed, but can be updated to a newer version”. But there is no way to update it now :frowning:

Hi @Ph_We,

Are you logged in as a Site Administrator? That role is required in order to install/upgrade plugins.

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher, Yes, I am logged in as a Site Admin. Here is what I get:

Hi @Ph_We

Probably it is still an entry in your DB table versions, from an earlier installation. If you remove that entry and try to “Upload A New Plugin” on the “Installed Plugins” page, it should work…

Best,
Bozana

Hi @bozana,

Here is our versions table:

[details=Summary]±------±------±---------±------±--------------------±--------±---------------------------±-------------------±--------------------------±----------±---------+
| major | minor | revision | build | date_installed | current | product_type | product | product_class_name | lazy_load | sitewide |
±------±------±---------±------±--------------------±--------±---------------------------±-------------------±--------------------------±----------±---------+
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.metadata | dc11 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.metadata | nlm30 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.metadata | openurl10 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.metadata | mods34 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.blocks | makeSubmission | MakeSubmissionBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.blocks | relatedItems | RelatedItemsBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.blocks | information | InformationBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.blocks | developedBy | DevelopedByBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.blocks | languageToggle | LanguageToggleBlockPlugin | 1 | 0 |
| 1 | 1 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | abnt | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | turabian | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | refWorks | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | cbe | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | proCite | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | endNote | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | mla | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | refMan | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | bibtex | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationFormats | apa | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationLookup | isbndb | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationLookup | crossref | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationLookup | pubmed | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationLookup | worldcat | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationOutput | abnt | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationOutput | mla | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationOutput | vancouver | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationOutput | apa | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationParser | regex | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationParser | paracite | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationParser | parscit | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.citationParser | freecite | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.gateways | resolver | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | googleAnalytics | GoogleAnalyticsPlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | customBlockManager | CustomBlockManagerPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | googleScholar | GoogleScholarPlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | acron | AcronPlugin | 1 | 1 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | webFeed | WebFeedPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | usageEvent | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | browse | BrowsePlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | tinymce | TinyMCEPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | usageStats | | 0 | 1 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | recommendByAuthor | RecommendByAuthorPlugin | 1 | 1 |
| 1 | 2 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | staticPages | StaticPagesPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | pdfJsViewer | PdfJsViewerPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | dublinCoreMeta | DublinCoreMetaPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | lensGalley | LensGalleyPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | htmlArticleGalley | HtmlArticleGalleyPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.generic | orcidProfile | OrcidProfilePlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | native | | 0 | 0 |
| 1 | 1 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | doaj | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | pubIds | | 0 | 0 |
| 2 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | datacite | | 0 | 0 |
| 2 | 1 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | crossref | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | pubmed | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | users | | 0 | 0 |
| 2 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.importexport | medra | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.oaiMetadataFormats | nlm | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.oaiMetadataFormats | marcxml | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.oaiMetadataFormats | dc | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.oaiMetadataFormats | marc | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.oaiMetadataFormats | rfc1807 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.paymethod | manual | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.paymethod | paypal | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.pubIds | urn | URNPubIdPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.pubIds | doi | DOIPubIdPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.reports | articles | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.reports | reviews | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.reports | views | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:31:04 | 1 | plugins.themes | default | DefaultThemePlugin | 1 | 0 |
| 3 | 0 | 1 | 0 | 2016-11-28 17:30:56 | 0 | core | ojs2 | | 0 | 1 |
| 2 | 0 | 0 | 0 | 2016-11-28 17:32:52 | 1 | plugins.generic | translator | TranslatorPlugin | 1 | 1 |
| 1 | 0 | 0 | 0 | 2016-11-28 17:32:52 | 1 | plugins.reports | usageStats | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2017-01-23 10:28:27 | 1 | plugins.importexport | quickSubmit | | 0 | 0 |
| 2 | 0 | 0 | 0 | 2017-02-02 21:29:23 | 1 | plugins.reports | reviewReport | | 0 | 0 |
| 3 | 0 | 2 | 0 | 2017-02-02 21:27:28 | 1 | core | ojs2 | | 0 | 1 |
| 1 | 0 | 0 | 0 | 2017-02-03 22:28:13 | 1 | plugins.generic | coins | CoinsPlugin | 1 | 0 |
±------±------±---------±------±--------------------±--------±---------------------------±-------------------±--------------------------±----------±---------+
76 rows in set (0.00 sec)
[/details]

Could you please confirm we need to delete this entry:
| 1 | 0 | 0 | 0 | 2017-01-23 10:28:27 | 1 | plugins.importexport | quickSubmit | | 0 | 0 |

Would it be safe to delete it?
Is it a bug, or is something wrong on our side? Thank you!

Hi @Ph_We

It is probably left from an earlier quickSubmit plugin installation. Yes, it is safe to delete that row. Also double check you do not have quickSubmit folder in plugins/importexport/ – to start clean… Then install the new 3.0.2 plugin version using “Upload A New Plugin” on the “Installed Plugins” page, as on your screenshot above…

Best,
Bozana

1 Like

@bozana, thank you! It’s working now :slight_smile:

BTW, it’s still said to be not installed in the Plugin Gallery: