I get the installed in wrong directory message

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

I get the installed in wrong directory message

Post by gautamz07 »

I just downloaded bolt and pasted the contents of bolt in a folder htdocs/bolt now when i navigate in my browser to http://localhost:8080/bolt/ , i see the following page

http://imgur.com/jJKRAMT

any idea why i get this instead of the login screen ?

Thank you.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: I get the installed in wrong directory message

Post by Celauran »

Did you follow the suggestions in that error message? Namely, did you point your doc root to /bolt/public instead of /bolt?
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

Re: I get the installed in wrong directory message

Post by gautamz07 »

Yes i tried that , or maybe it's a cache issue , sorry , i guess i hv asked this before , but how do i turn of the cache in bolt ?

P.S. :-

my bolt.yml file looks like below now.

Code: Select all

paths:
    cache: app/cache
    config: app/config
    database: app/database
    web: bolt/public
    themebase: bolt/public/theme
    files: bolt/public/files
    view: bolt/public/bolt-public/view
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: I get the installed in wrong directory message

Post by Celauran »

You can disable caching in config.yml, but I don't think that's the issue. Also, the error message you posted specifically refers to the web server's document root, not something you'd change within your Bolt configuration. You need to tell Apache to look in the right place.
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

Re: I get the installed in wrong directory message

Post by gautamz07 »

Still not resolved , i'll post back if i can find a solution , i can't seem to diagnose the problem either :P , Let me try a few things and then i'll post back.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: I get the installed in wrong directory message

Post by Celauran »

Have you fixed your document root yet?
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

Re: I get the installed in wrong directory message

Post by gautamz07 »

Celauran , i just did a fresh install and then i navigated to http://localhost:8080/bolt/public/ and it worked .. yess :D


P.S. Now i have a problem changing the default database from mysqli to mysql :( will post that on another thread though :D
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

Re: I get the installed in wrong directory message

Post by gautamz07 »

Thanks @celauran aloooooot finally got my bolt setup right ,

http://imgur.com/a/0qwtp

Thanks aloot guys :D
Post Reply