Error on installation - Too many redirects
farid last edited by
Hello I'm trying to give Bagisto a try but I can't get it installed correctly.
I've downloaded zip file from https://bagisto.com/en/download/
I've unziped file to bagisto folder in my valet sites folder, and then create a database for bagisto (eg.: dbname bagisto), after that I've pointed my browser to
bagisto.testwhich redirects to
That procedure fires an error "Too many redirects" o safari or any other browser can't open the page.
As second attempt I've tryed using
composer create-project bagisto/bagisto bagisto2
Installing bagisto/bagisto (v1.0.0) - Installing bagisto/bagisto (v1.0.0): Downloading (100%) Failed to execute unzip -qq 'bagisto2//cd1979f724983820acde875be4edcf85' -d '/Volumes/data/Sites/vendor/composer/69f9adec' replace /Volumes/data/Sites/vendor/composer/69f9adec/bagisto-bagisto-3cee45b/packages/Webkul/Shop/publishable/assets/images/arrow-down.svg? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL (EOF or read error, treating as "[N]one" ...) The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems) Unzip with unzip command failed, falling back to ZipArchive class Failed to download bagisto/bagisto from dist: The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(/Volumes/data/Sites/vendor/composer/69f9adec/bagisto-bagisto-3cee45b/bin/codecept): failed to open stream: No such file or directory Now trying to download from source - Installing bagisto/bagisto (v1.0.0): Cloning 3cee45b4a5 from cache Created project in bagisto2
> @php artisan key:generate Application key set successfully. > Webkul\Core\Events\ComposerEvents::postCreateProject ____ _ _ | __ ) __ _ __ _(_)___| |_ ___ | _ \ / _` |/ _` | / __| __/ _ \ | |_) | (_| | (_| | \__ \ || (_) | |____/ \__,_|\__, |_|___/\__\___/ |___/ Welcome to the Bagisto project! Bagisto Community is an open-source e-commerce ecosystem which is built on top of Laravel and Vue.js.
edited .env file to set database credentials and run
php artisan bagisto:install
Great! .env file aready exists Step: Migrating all tables into database... In Connection.php line 669: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE') In PDOConnection.php line 63: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected In PDOConnection.php line 61: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
After that, trying to access to
bagisto2.test, which again redirects to
bagisto2.test/installerI got the same
Too many redirectserror
My development system is valet 2.8.1 + php 7.4.4 + MariaDB 10.4.11 under Catalina macOS
Thank you in advance for any advice.
Vaishali Agarwal last edited by
please try to install by web installer using new database.