Closed pierzo closed 1 year ago
Your composer.json
file might be out of date if you are installing Winter v1.2.x.
You'll need to remove the following lines:
"autoload-dev": {
"classmap": [
"tests/concerns/InteractsWithAuthentication.php",
"tests/fixtures/backend/models/UserFixture.php",
"tests/TestCase.php",
"tests/PluginTestCase.php"
]
},
Ok, this solution working
composer require winter/wn-sitemap-plugin
Using version ^2.0 for winter/wn-sitemap-plugin
./composer.json has been updated
Running composer update winter/wn-sitemap-plugin
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking winter/wn-sitemap-plugin (v2.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing winter/wn-sitemap-plugin (v2.0.0): Extracting archive
Generating autoload files
86 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> php artisan winter:version
*** Detecting Winter CMS build...
*** Detected Winter CMS build 1.2.1.
> php artisan package:discover
INFO Discovering packages.
laravel/tinker .............................................................................................................................. DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/termwind ......................................................................................................................... DONE
bot I have another problem
PDOException: SQLSTATE[HY000]: General error: 1 no such table: winter_sitemap_definitions in /usr/home/domains/domain/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:79
My phpinfo says:
PDO
PDO support => enabled
PDO drivers => mysql, pgsql, sqlite, dblib
pdo_dblib
PDO Driver for FreeTDS/Sybase DB-lib => enabled
Flavour => freetds
pdo_mysql
PDO Driver for MySQL => enabled
Client API version => mysqlnd 8.0.25
Directive => Local Value => Master Value
pdo_mysql.default_socket => no value => no value
pdo_pgsql
PDO Driver for PostgreSQL => enabled
PostgreSQL(libpq) Version => 11.13
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.35.5
Run php artisan winter:up
.
Hi, when I try to install on composer ver 2.3.7 I get
In ClassMapGenerator.php line 74: Could not scan for classes inside "tests/fixtures/backend/models/UserFixture.php" which does not appear to be a file nor a folder