Error on installation - Too many redirects
-
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 tobagisto.test
which redirects tobagisto.test/install
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
I got
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
Finally
> @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 tobagisto2.test/installer
I got the sameToo many redirects
errorMy 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.
-
Hi @farid
please try to install by web installer using new database. -
The problem seems to be that the installer folder doesn't work.
I removed the last 3 lines of /installer/.htaccess and it fixed the redirect problem, but the "installer/CSS" folder should be lowercase and the javascript in "js/script.js" isn't running either.
-
@timlw
can you please share the screenshot where you got stuck while installation??