Code Monkey home page Code Monkey logo

ojs-fiduswriter's Introduction

Fidus Writer

Fidus Writer is an online collaborative editor especially made for academics who need to use citations and/or formulas. The editor focuses on the content rather than the layout, so that with the same text, you can later on publish it in multiple ways: On a website, as a printed book, or as an ebook. In each case, you can choose from a number of layouts that are adequate for the medium of choice.

Fidus Writer

Coverage Status

Bountysource

Installation

The installation procedures can be found in our WIKI.

Contributing

For details on contributing, please check http://fiduswriter.org/help-us/ .

License

All of Fidus Writer's original code is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE, for details see LICENSE. Some third party libraries are licensed under other, compatible open source libraries. Licensing information is included in those files.

ojs-fiduswriter's People

Contributors

afshinsadeghi avatar jobdiogenes avatar johanneswilm avatar nmueller18 avatar s6fikass avatar t10967 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

ojs-fiduswriter's Issues

Notification error

With OJS 3.1.2.4, the NotificationManager throws the fatal error below in the communication between Fiduswriter and OJS. It seems that the ContextId (= journalId) is transmitted as string instead as integer as probably requested by OJS (see third line of code).

web04 php73-user: PHP Fatal error:  Uncaught TypeError: Argument 1 passed to NotificationManagerDelegate::createNotification() must be an instance of PKPRequest, instance of MockObject given, called in /www/user/htdocs_ojs/lib/pkp/classes/notification/managerDelegate/PKPApproveSubmissionNotificationManager.inc.php on line 90 and defined in /www/user/htdocs_ojs/lib/pkp/classes/notification/NotificationManagerDelegate.inc.php:59
web04 php73-user: Stack trace:
web04 php73-user: #0 /www/user/htdocs_ojs/lib/pkp/classes/notification/managerDelegate/PKPApproveSubmissionNotificationManager.inc.php(90): NotificationManagerDelegate->createNotification(Object(MockObject), NULL, 16777243, '2', 1048585, 233, 2)
web04 php73-user: #1 /www/user/htdocs_ojs/lib/pkp/classes/notification/PKPNotificationManager.inc.php(345): PKPApproveSubmissionNotificationManager->updateNotification(Object(MockObject), NULL, 1048585, 233)
php73-user: #2 /www/user/htdocs_ojs/plugins/generic/fidusWriter/FidusWriterGatewayPlugin.inc.php(555): PKPNotificationManager->updateNotification(Object(MockObject), Array, NULL, 1048585, 23 in /www/user/htdocs_ojs/lib/pkp/classes/notification/NotificationManagerDelegate.inc.php on line 59

Settings error: filemtime(): stat failed for

On OJS 3.1.2.4, opening the settings of OJS-Fiduswriter 1.3.1.0 throws the error Failed Ajax request or invalid JSON returned.
The obviously related PHP warnings are given below. Similar error messages are reported from other OJS-plugins, so the issue seems related to the construction of paths:
ajnyga/embedGalley#6
ulsdevteam/pkp-formHoneypot#3

PHP Warning: filemtime(): stat failed for lib/pkp/templates/plugins/generic/fidusWriter/templatestemplates/settingsForm.tpl in /www/user/htdocs_ojs/lib/pkp/classes/template/PKPTemplateResource.inc.php on line 51 PHP Stack trace: PHP 1. {main}() /www/user/htdocs_ojs/index.php:0 PHP 2. Application->execute() /www/user/htdocs_ojs/index.php:68 PHP 3. Dispatcher->dispatch() /www/user/htdocs_ojs/lib/pkp/classes/core/PKPApplication.inc.php:252 PHP 4. PKPComponentRouter->route() /www/user/htdocs_ojs/lib/pkp/classes/core/Dispatcher.inc.php:134 PHP 5. PKPComponentRouter->_authorizeInitializeAndCallRequest() /www/user/htdocs_ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php:257 PHP 6. SettingsPluginGridHandler->manage() /www/user/htdocs_ojs/lib/pkp/classes/core/PKPRouter.inc.php:390 PHP 7. FidusWriterPlugin->manage() /www/user/htdocs_ojs/lib/pkp/classes/controllers/grid/plugins/PluginGridHandler.inc.php:234 PHP 8. FidusWriterSettingsForm->fetch() /www/user/htdocs_ojs/plugins/generic/fidusWriter/FidusWriterPlugin.inc.php:124 PHP 9. FidusWriterSettingsForm->fetch() /www/user/htdocs_ojs/plugins/generic/fidusWriter/FidusWriterSettingsForm.inc.php:66 PHP 10. TemplateManager->fetch() /www/user/htdocs_ojs/lib/pkp/classes/form/Form.inc.php:200 PHP 11. TemplateManager->fetch() /www/user/htdocs_ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php:770 PHP 12. TemplateManager->_execute() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 PHP 13. TemplateManager->createTemplate() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:189 PHP 14. Smarty_Internal_Template->__construct() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php:1029 PHP 15. Smarty_Template_Source::load() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:168 PHP 16. PKPTemplateResource->populate() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php:182 PHP 17. PKPTemplateResource->fetchTimestamp() /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:52 PHP 18. filemtime() /www/user/htdocs_ojs/lib/pkp/classes/template/PKPTemplateResource.inc.php:51 PHP Fatal error: Uncaught --> Smarty: Unable to load template 'app:plugins/generic/fidusWriter/templatestemplates/settingsForm.tpl' <-- thrown in /www/user/htdocs_ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195

OJS 3.2

Considering that OJS is already at 3.2, are there any tests available if the current plugin-version is compatible to 3.2?

"http" instead of "https" during submission process

During submission via Fiduswriter to OJS, two rows are added to the backend-MySQL-table "submission_settings" that handle the communication between FW and OJS. It appears that in the row for the address of the FW-server, the URL erroneously starts with "http:". This leads to an error 500 when clicking on the Fiduswriter-link in OJS. If changed manually to "https:", everything works as expected. The error might also originate in the fiduswriter-ojs-plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.