-
Winter CMS Build1.2 PHP VersionOther (please specify below) Database engineSQLite Plugins installedWinter.Demo, Winter.Blog, Indikator.Backend, Winter.Builder, Mercator.TwigExt Issue descriptionThanks to my not-so-nice webhost, i am having trouble using composer. To add the Mercator.TwigExt plugin, i copied it manually into the plugins folder. In the backend i can see that it was found and that - in theory - i can use it. So i thought that i could use In Questionhelper line 109: Undefined constant "STDIN" I tried to update any other plugin, but all of them result in this error. I am using PHP 8.3 Steps to replicate
WorkaroundUnfortunately until now, nothing. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The plugin's If in your case you can't use composer on your server (your hosting provider should offer it ... we're in 2024) you can perform the installation in a local environment and then upload the plugin files via FTP. |
Beta Was this translation helpful? Give feedback.
-
The best way is to have a local install where composer is available and push the plugins and vendor folders using FTP. Once done, run |
Beta Was this translation helpful? Give feedback.
-
Ok, so thanks to the following link i found out that the problem is that the artisan call needs to be done through the CLI, what is strange because i am trying this via the Windows Powershell. I totally understand the solutions offered above, but as i some times mentioned before in other discussions, this is not THAT scriptkid user-friendly as i think. I always think about the Wordpress or Joomla noobs (and i am one of them) that want to move to Winter CMS but struggle on how to set up a local enviorment. So this link: The solution on that site is for force or not an input Wouldn't it be possible to add this into the Questionhelper.php file? |
Beta Was this translation helpful? Give feedback.
The plugin's
composer.json
file indicates that it requires dependencies (which will be installed with composer).If in your case you can't use composer on your server (your hosting provider should offer it ... we're in 2024) you can perform the installation in a local environment and then upload the plugin files via FTP.
⚠ In this case, you'll also need to synchronize your
./vendor
folder to get the plugin's dependencies (don't miss theautoload.php
file).