Suddenly can't install v22

Any reason why I can’t suddenly install v22.0.00? I can still install v21.0.01.

I used:
wget https://github.com/GibbonEdu/core/archive/v22.0.00.zip

With v22 I get:

[Tue Mar 23 17:38:16.926668 2021] [proxy_fcgi:error] [pid 25133:tid 140608899344128] [client x.x.x.x:16220] AH01071: Got error ‘PHP message: PHP Warning: require_once(/home/…/vendor/autoload.php): failed to open stream: No such file or directory in /home/…/gibbon.php on line 24PHP message: PHP Fatal error: require_once(): Failed opening required ‘/home/…/vendor/autoload.php’ (include_path=’.:/usr/share/php’) in /home/…/gibbon.php on line 24’

Hi Tieku, we’ve made some changes to the way that cutting edge code works, in order to streamline the way we deal with external packages. This requires you to use composer to get the contents of the /vendor folder. Check out the information in the following documentation page:

https://docs.gibbonedu.org/administrators/getting-started/installing-gibbon/cutting-edge-code/

Let us know how it goes!

Ross

This is a change we’ve been working towards for a while, but it does impact the workflow for developers, and we’ve been working on the best ways to inform people as well as minimize the difficulty getting cutting edge code setup. Based on the error you’ve encountered, I’ve just added a check for the autoloader and a more helpful error message: https://github.com/GibbonEdu/core/commit/04f6972c55f1285bd8cf73d398ef5f9f5f18dbb5

I was able to install Composer (for the first time) and then v22 successfully, Thanks for pointing me in the right direction.

Good morning all,

I am stuck at the same stage, trying to install Gibbon on a fresh Ubuntu 20.04 VPS, composer seems to be ok on the server, but getting the following message when trying to run Gibbon installer:

“Fatal Error: Missing composer autoloader. Your vendor folder is likely not installed. If you are running cutting edge code, navigate to your base dir in a terminal window and run the “composer install” command. See the Cutting Edge Code documentation for more information: https://docs.gibbonedu.org/administrators/getting-started/installing-gibbon/cutting-edge-code/

I checked the documentation, but I am still stuck…What am I doing wrong?

Thanks for your help!

Hi Yann, are you able to confirm, after running “composer install” in your Gibbon base directory, that the /vendor folder is populated? With cutting edge code this folder will initially be empty, and it is composer that then fills it with a variety of libraries. If it is empty, then composer has not run properly.

This is only needed on cutting edge versions: stable releases come with /vendor pre-populated.

Ross

Will try again to reinstall Gibbon stable release and see!
Thanks!

Just redid a fresh full install of stable version, all good now!
Thanks for your appreciated help!