Closed ghost closed 1 year ago
@dynamiccontent we haven't run any tests on PHP 8.2, try switching to 8.1 instead?
I've just had this error. Both the web installer and the install.log look the same but the 'invalid' version is "6.3.x-dev 2e2ac75". The installed PHP version is 8.1.10, mySQL 8.0.30 on a windows 10 machine running Laragon.
Installing via composer worked just fine.
@merodeador if you try the Web Installer again and hit this same issue, could you look in the folder that you ran the installation from - there should be a hidden .wintercms
folder that contains the partial install. Would you be able to copy the contents of composer.json
into here for us?
Sure, here it is:
{
"name": "wintercms/winter",
"description": "Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. Originally known as October CMS.",
"homepage": "https://wintercms.com",
"type": "project",
"keywords": [
"winter",
"cms",
"wintercms",
"laravel",
"cmf"
],
"license": "MIT",
"authors": [
{
"name": "Alexey Bobkov",
"email": "aleksey.bobkov@gmail.com",
"role": "Original Author"
},
{
"name": "Samuel Georges",
"email": "daftspunky@gmail.com",
"role": "Original Author"
},
{
"name": "Luke Towers",
"email": "wintercms@luketowers.ca",
"role": "Lead Maintainer"
}
],
"support": {
"issues": "https://github.com/wintercms/winter/issues",
"docs": "https://wintercms.github.io/docs/",
"discord": "https://discord.gg/D5MFSPH6Ux",
"source": "https://github.com/wintercms/winter"
},
"require": {
"php": "^8.0.2",
"winter/storm": "~1.2.0",
"winter/wn-system-module": "~1.2.0",
"winter/wn-backend-module": "~1.2.0",
"winter/wn-cms-module": "~1.2.0",
"laravel/framework": "^9.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5.8",
"mockery/mockery": "^1.4.4",
"fakerphp/faker": "^1.9.2",
"squizlabs/php_codesniffer": "^3.2",
"php-parallel-lint/php-parallel-lint": "^1.0",
"dms/phpunit-arraysubset-asserts": "^0.1.0|^0.2.1"
},
"scripts": {
"post-create-project-cmd": [
"@php artisan key:generate"
],
"post-update-cmd": [
"@php artisan winter:version",
"@php artisan package:discover"
],
"test": [
"phpunit --stop-on-failure"
],
"lint": [
"parallel-lint --exclude vendor --exclude storage --exclude modules/system/tests/fixtures/plugins/testvendor/goto/Plugin.php ."
],
"sniff": [
"phpcs --colors -nq --report=\"full\" --extensions=\"php\""
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": [],
"config": {
"allow-plugins": {
"composer/installers": true,
"wikimedia/composer-merge-plugin": true
}
}
}
Thanks everyone - I've been able to replicate this. Will have a fix out soon.
Hi all, I've released v1.2.2 of our Web Installer, which now contains a fix for this issue. Here's the direct link to the fixed version: https://github.com/wintercms/web-installer/releases/download/v1.2.2/install.zip
Please feel free to let us know if this still doesn't work, and we'll re-open the issue.
Just tried this, works perfectly. Thanks!
Debian GNU/Linux 11 (bullseye) PHP 8.2.0RC5 10.9.3-MariaDB-1:10.9.3+maria~deb11 mariadb.org binary distribution nginx version: nginx/1.23.2 php-fpm 8.2
install.log