Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

/install 404 error on 0.9.0-dev installation #1260

Closed
senoadiw opened this issue Feb 11, 2017 · 3 comments
Closed

/install 404 error on 0.9.0-dev installation #1260

senoadiw opened this issue Feb 11, 2017 · 3 comments

Comments

@senoadiw
Copy link

senoadiw commented Feb 11, 2017

Hi,

I tried installing Bonfire 0.9.0-dev (with CI 3.1.3) on an windows Ampps installation running PHP 5.6.21 by setting up a virtualhost called bonfire.local and got a 404 error when redirected to /install. The way I got the installation page to run was by copying Install.php from the bonfire_root/bonfire/controllers/ to bonfire_root/application/controllers/ (the dir with Home.php). Also during table creation there was an error when running the 044_Update_ci3_sessions.php migration saying the table ci3_sessions does not exist (but bf_ci3_sessions table exists). Setting 'dbprefix' to '' in config/database.php allowed the installation to complete successfully.

Edit: upon checking the code this line evaluates to true when looking for Install.php. Also line 411 which checks in BFPATH seems to be removed?

Cheers

@MasterPumpkin
Copy link

Hi,

thank you very much, your approach is definitely working.. :-)

silverark added a commit to silverark/Bonfire that referenced this issue Feb 18, 2017
As per lonnieezell#1260 CI wasn't looking in the bonfire folder for the install.php. The code above checks both APPPATH and BFPATH. Since there is only the install.php and Images.php it might be easier just moving those controllers into application?
@silverark
Copy link
Contributor

@lonnieezell Just cloned v0.9.0-dev today and this still have the same issue where it won't load the installer. See pull request above. Just applied it and it started working.

Cheers.

@lonnieezell
Copy link
Owner

@silverark You're right. The PR isn't asking to pull into this repo, though, it's pointing to Silverark's. Now that we've updated to 3.1.6, we need to do the same thing, though, so a PR would be welcome for that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants