-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing of downloaded plugins #643
Comments
I found a workaround by manually enter a GET addnew in the code and outcommenting the XRSF protection for this one operation. Another would be to enter the plugin manually in the database with an generated uniqid. The question remains if that part of the manual should be updated that it is not possible to install plugins by creating subdirectories of /plugins or if the plugin code should be updated that plugins are installed automatically. |
Hi Stephan. I'm not sure yet the workflow was clear to you. Normally, you create a new plugin (with new constructorname etc) and place it under plugins/. Then it won't appear in the pluginlist, but it will be listed as an install option when you select That worked for years, are you certain this is broken now? |
Okay, I thought that the 'install plugin' button only connects to the Spartacus page. I couldn't do that because I get an error:
But this error is most likely due to the fact that I just copied my s9y installation from the webserver to the development server without a full install, only changing a few values in the configuration to get it running. Or a configuration problem on the server, because it works online. So, I don't think it is broken. |
I had the same misconception in the beginning :) |
Oh, and I fixed the issue now. If outgoing connections are blocked by the server, the httpRequest in event_spartacus throws an exception and then the exception handler tried $response->getStatus() on a null object. Fixed that with an isset() check and now I can install plugins offline. |
Atm, I am creating a real sidebar extension for the customarchive plugin, but I cannot install it. Installing plugins via Spartacus works fine, but in https://docs.s9y.org/docs/users/using/using-plugins.html the installation of external plugins is described as simply as copying it into the /plugins folder:
But unfortunately, nothing happens. Looking at the code of /include/admin/plugins.inc.php there cannot because by just opening the page, the enum_plugin_classes is not triggered and because of that no automatic installation. So: what can I do to at least manually install my plugin for testing?
The text was updated successfully, but these errors were encountered: