ERROR: Failed Ajax request or invalid JSON with quickSubmit plugin ADD CONTRIBUTOR
Just started today. Used the plugin with no problems previously.
Steps I took leading up to the issue:
Added the Author Requirements plugin via FTP.
Disabling the plugin is not a fix.
What I tried to resolve the issue:
Removed and re-uploaded the quickSubmit plugin
Restored site to previously functioning back-up.
Searched and searched again this forum.
Not sure what to look for - I am not a developer.
Application Version - e.g., OJS 3.1.2:
OJS 3.3.0.9 , PHP v7
Additional information, such as screenshots and error log messages if applicable:
We don’t recommend installing plugins like this. The recommended method is to install them through the Plugin Gallery. Have you tried that? It’s possible that the specific plugin that you’re using is not in the Plugin gallery, in which case, you should at least ensure that it’s been tested to be compatible with the version of OJS you’re using. Do you have a link to the plugin that you can provide here? You mention that you’re using version 3.3.0-9, which isn’t released yet - are you sure that’s the correct version. I checked your site and it appears that you’re using version 3.3.0-8.
Thank you very much for your response. Yes, my mistake! The install is in latest version, 3308. I
have restored the site via backup to a point where everything is working again so far. The problem appears to have been the uploading of the AuthorRequirements plugin (which I really, really need, as several of our back issues are student efforts with up to 10 authors listed).
I have not been able to install any plugins via the Plugin Gallery. All I get is a popup window stating this plugin has not yet been installed and showing the git-hub link to the plugin page. No button or other prompt is displayed to install a new plugin in either tab. My user role is Journal Mgr. What is the correct procedure in such a case?
Thanks for clarifying. Where did you locate the Author Requirements plugin from - can you send a link?
And for the error message that you see when using the plugin gallery, can you post a screenshot of this so I can get a better sense of what’s happening?
Here is the link, which is provided in the info popup when I click the plugin in the Plugin Gallery.
No error message presents itself overtly in the Plugin Section. I have debug mode enabled in the config file. Simply there is no way given to install any plugin from the Plugin Gallery. I have provided a screen shot. I believe there should an install tab next to the search field? It is not displayed in either of the Plugin Section pages.
Thanks for providing these details - this is helpful. You say that you only have journal manager privileges? You might want to check with your site admin to see if they can install / upgrade the plugins? If they’re not seeing any options that could point to a larger problem. The author requirements should be in the plugin gallery - but if not I’m not sure… - but will see if there are some other options.
I am currently logged in as Admin. When attempting to add a plugin or upgrade one the system returns this error:
The current role does not have access to this operation.
I can get to the install popup window of plugins are showing in the plugin gallery, but nothing happens when I click OK in the “Are you Sure?” window. It just hangs …
Hmmm… if it hangs that might be pointing to another issue going on. Do you have access to your PHP error logs and are able to check for relevant errors there?
Here’s the thing. Under the erroneous assumption that JM’s have admin rights like they did in our original install, I created the journal as a JM (at least I think I did). I wonder if the Admin account needs to be added as a user?
At any rate, currently the admin does not appear in the journal user list. Is there a way to add the account?
That seems unlikely, as only site admins can create new journals. It’s possible that you cannot see the admin in the journal list. There is an option to search for users that are not affiliated with a given journal - it’s a checkbox next to the search for users. If it is a separate account you’d have to login with that account. You should at least be able to see what email is associated with the account, I would think, and could possibly reset the password if you have access to that email?
Thanks!
I can log in to the ADMIN account no problem.
The problem is the Admin seems to have no permissions to do anything in the journal.
I need to install these plugins, and it takes an admin to install them, but trying to do so as admin returns “The current role does not have access to this operation,” plus another message “undefined”, as soon as I try to access the journal setting wizard.
I HUGELY appreciate your responses. I don’t know why I’m having such a hard time. I look at the screen images in the documentation and my install looks so different. I’ve lost a whole work week on these issues. I sent a form email to the PKP purchased support service with some questions specific to my situation days ago, and no one ever even responded.
I have found the admin user by searching unaffliliated users. I edited the admin user (adding JM role) and now it shows up in the journal.
However, trying to access plugins, the first tab just spins. The first tab (installed plugins) is needed in order to access the QuickSubmit plugin. It used to show up in Tools, but doesn’t any more. Time to check error msgs.
[14-Sep-2021 17:16:58 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in …/ojs/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[14-Sep-2021 17:16:58 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in …/ojs/lib/pkp/classes/core/Core.inc.php on line 231
I should add plugins tab one spins, regardless of user logged in. The second tab (gallery) does open.
Please note that the PKP|PS service does not directly answer questions of non-hosted clients - that’s what we do here on the forum. Although, if you were interested in hosting services with them, I would encourage you to follow-up with them and make that clear.
With respect to this issue of the hanging and spinning. I’m not entirely sure what’s happening here - those errors may provide some indication, so I’m going to see if some of my colleagues can weigh in on what they think might be causing this issue when they are available, so stay tuned.
Hi,
I have the same problem here. Fresh install of OJS (testing website). OJS version: 3.3.0.8 (upgraded from 3.3.0.7). PHP: 7.3.29. Database server: 5.5.5-10.2.40-MariaDB.
Steps I took:
Installed Author Requirements plugin through plugin gallery. Disabling it did not solve the problem.
Error log:
Is there a version of OJS where the QuickSubmit and Author Requirements Plugins actually work with no problems. Getting no where here with a fix, so I am looking at a fresh install.