TYPO3 installation guide creates errors
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
TYPO3 installation guide creates errors
Here
https://github.com/aimeos/aimeos-typo3#installation
at some point there is the line
composer req aimeos/aimeos-typo3:~22.10
This throws an error:
What must be done here?
ddev, TYPO3 11.5, php 8.1
https://github.com/aimeos/aimeos-typo3#installation
at some point there is the line
composer req aimeos/aimeos-typo3:~22.10
This throws an error:
Code: Select all
./composer.json has been updated
Running composer update aimeos/aimeos-typo3
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- aimeos/aimeos-typo3[22.10.1, ..., 22.10.4] require aimeos/ai-admin-graphql 2022.10.* -> satisfiable by aimeos/ai-admin-graphql[2022.10.1, 2022.10.2, 2022.10.3, 2022.10.4].
- aimeos/ai-admin-graphql 2022.10.1 requires webonyx/graphql-php dev-master -> found webonyx/graphql-php[dev-master] but it does not match your minimum-stability.
- aimeos/ai-admin-graphql[2022.10.2, ..., 2022.10.4] require webonyx/graphql-php ~15.0 -> found webonyx/graphql-php[v15.0.0-alpha.1, v15.0.0-alpha.2, v15.0.0-beta.1] but it does not match your minimum-stability.
- Root composer.json requires aimeos/aimeos-typo3 ~22.10 -> satisfiable by aimeos/aimeos-typo3[22.10.1, 22.10.2, 22.10.3, 22.10.4].
ddev, TYPO3 11.5, php 8.1
Re: TYPO3 installation guide creates errors
The Aimeos GraphQL package requires a package which isn't tagged as stable yet and the composer default setting for "minimum-stability" doesn't allow dev packages. The package explicitly requires "webonyx/graphql-php ~15.0@dev" now. Can you please try again?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: TYPO3 installation guide creates errors
That seems to have worked, but only after I added
"minimum-stability": "dev",
"prefer-stable": true,
to the composer file. This should really go into the documentation. If you agree I could prepare a PR for this page:
https://github.com/aimeos/aimeos-typo3#installation
and instead of this sentence:
write this:
"minimum-stability": "dev",
"prefer-stable": true,
to the composer file. This should really go into the documentation. If you agree I could prepare a PR for this page:
https://github.com/aimeos/aimeos-typo3#installation
and instead of this sentence:
Code: Select all
This will install TYPO3 into the ./myshop/ directory.
Then, change to the ./mshop/ directory and install the Aimeos extension for TYPO3 with:
Code: Select all
This will install TYPO3 into the ./myshop/ directory.
Change to the ./mshop/ directory and add these lines to your composer.json:
```json
"minimum-stability": "dev",
"prefer-stable": true,
```
Install the Aimeos extension for TYPO3 with:
[...]
Re: TYPO3 installation guide creates errors
Terribly sorry, but it seems there is another problem. I change to `ddev ssh` and execute `php ./vendor/bin/typo3 extension:setup`, which causes this error:
Executing the php line outside of ddev results in this error:
Any idea what I am doing wrong here now?
Code: Select all
be-web:/var/www/html$ php ./vendor/bin/typo3 extension:setup
In DBALException.php line 126:
The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::getConnection().
extension:setup [-e|--extension EXTENSION]
Code: Select all
php ./vendor/bin/typo3 extension:setup
In AbstractMySQLDriver.php line 112:
An exception occurred in driver: No such file or directory
In ConnectionFailed.php line 34:
No such file or directory
In MysqliConnection.php line 83:
No such file or directory
Re: TYPO3 installation guide creates errors
Yes, that would be great!rowild wrote: ↑05 Jan 2023, 15:45 to the composer file. This should really go into the documentation. If you agree I could prepare a PR for this page:
https://github.com/aimeos/aimeos-typo3#installation
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: TYPO3 installation guide creates errors
Did you install the PHP mysqli driver in your ddev environment? Check with "php -m".rowild wrote: ↑05 Jan 2023, 15:52Code: Select all
php ./vendor/bin/typo3 extension:setup In MysqliConnection.php line 83: No such file or directory
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: TYPO3 installation guide creates errors
Yes, mysqli is installed. Tested with
UPDATE:
In my today's installation the
```bash
php ./vendor/bin/typo3 extension:setup
php ./vendor/bin/typo3 aimeos:setup
```
worked!!! No idea why, but obviously I messed up last time.
Thank you for your support!
Code: Select all
> $ ddev ssh
> [ddev-path]$ php -m
In my today's installation the
```bash
php ./vendor/bin/typo3 extension:setup
php ./vendor/bin/typo3 aimeos:setup
```
worked!!! No idea why, but obviously I messed up last time.
Thank you for your support!