🇦🇺Australia @juxe

Account created on 28 December 2010, over 14 years ago
#

Recent comments

🇦🇺Australia juxe

Thanks phenaproxima. That command didn't work but I found there was some help text in the package_manager module and after installing the help module I could see how to add the config to my settings.

So you're right, there is a config available and it works on shared hosting. Thanks.

🇦🇺Australia juxe

I also have an old A2Hosting shared hosting account.
I tried to install Drupal CMS there but no success. The database version was lower than the minimum required.

It's an old account so I can't really say if someone purchasing one today would have the same issue.

🇦🇺Australia juxe

Added my newly created related issues (I think).

🇦🇺Australia juxe

Drupal CMS works on Ventraip shared hosting.

Steps taken:
- Created a new database and database user
- Switched on missing required PHP extensions (gd, pdo, pdo_mysql, mbstring, opcache)
- Used cpanel Terminal to run "composer create-project drupal/cms newdirectory" from the home directory
- Used cpanel Domains->[domain name]->manage to change the root directory of one of my addon domains to newdirectory/web
- Installed using the UI with the news recipe selected
- Switched the site to maintenance mode

The site runs great, pages are fast to load. I created new content and installed modules from the Extend->List tab successfully.

Notes
=====
- After running composer create-project I'm instructed to run ./launch-drupal-cms.sh. I ignored it as that's just for ddev... isn't it?

- Trusted Host Settings error. Not able to change it directly in cpanel, had to use ftp to download the file, change locally and upload to get around permission errors even after the file was chmod 777. Easy to fix but breaks the idea of everything possible from the browser so I'm mentioning it here.

Issue
=====
Drupal CMS can't find composer. Error messages that Composer is not found are shown:
-- in the status report
-- in Extend->Browse tab
-- in Extend->Recipes tab
-- in Extend->Update tab

Visiting Extend->Update Extensions tab triggers an error. "The website encountered an unexpected error. Try again later."
The Exception is: PhpTuf\ComposerStager\API\Exception\LogicException: The composer executable cannot be found. Make sure it's installed and in the $PATH in PhpTuf\ComposerStager\Internal\Finder\Service\ExecutableFinder->find() (line 34 of [path-to]/vendor/php-tuf/composer-stager/src/Internal/Finder/Service/ExecutableFinder.php).

So the Drupal CMS install works, I just can't perform updates through the UI that require composer. I can do it through the terminal though.

Production build 0.71.5 2024