aymericb / exposition

A modern HTML5 photo gallery
6 stars 1 forks source link

Error Cannot load configuration. #1

Closed trebitzki closed 11 years ago

trebitzki commented 11 years ago

Clean install of version 0.3 with grunt build. Build folder is installed locally on Mac 10.6.8 in ~/Sites/exposition. Put the absolute paths to photos and cache folders in config.php. The cache folder is world writable. Can't get past this error.

screen shot 2013-08-08 at 21 10 44

trebitzki commented 11 years ago

Issue solved. The line RewriteBase / in .htaccess must be set to the path from web root. In my case I set it to RewriteBase /exposition. Works fine now, thanks.

trebitzki commented 11 years ago

That seems only part of the problem. Although the above error is gone and the album is shown, there are some more issues; I'll write them extra.

aymericb commented 11 years ago

Implicitly, I assumed that exposition is deployed in the root directory. I'll have to think of a good way to handle subdirectories.

trebitzki commented 11 years ago

Having a gallery as the homepage of a site seems sort of odd... Anyway I'm looking forward to a more flexible solution, thanks!

aymericb commented 11 years ago

I'll mark this as duplicate of Issue #2.