(Solved) G3 fresh Installation - Kohana_404_Exception [ Page Not Found ]
flix77
Joined: 2010-10-21
Posts: 3 |
Posted: Thu, 2010-10-21 19:03 | |||
I was eagerly waiting for G3, now after a fresh installation, entering the mysql database credentials and getting the username and password for the admin I am confused with an obstruceted gallery start page. It says "Logged in as Gallery Administrator", but the whole page looks like being without any graphical user interface / stylesheet whatever, just text. Any further click is followed by: -Dang... Something went wrong! -Kohana_404_Exception [ Page Not Found ] -The page you requested, gallery3/index.php?csrf=3ec703990745a3e8f4b954ce5d37a944&continue_url=http://[has been removed]/gallery3/index.php/&g3sid=d966073f01c67d5059a451f558784098, could not be found. I checked all requirements for G3, which are OK. For me it looks like a stupid thing, but unfortunately I did not find any error description for this in forums or wiki yet. I hope you have some ideas? Thanks in advance!
|
||||
Posts: 16504
Who's your host? That looks like you probably need to set cgi.fix_pathinfo to 1
This might be of some help:
FAQ: Host specific issues the community has found
If that's not the case, post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
Thanks for the quick reply!
Unfortunately the php5.ini file with cgi.fix_pathinfo = 1 did not help.
The host isn't a well known name.
Posts: 3
The solution was twofold:
1. Uncomment the rewrite block in the .htaccess file:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery3/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>
2. After 1. all admin pages still were missing and producing this error: "requested view, admin.html, could not be found"
As reported here: http://gallery.menalto.com/node/95196 the solution was this:
Copy "admin.html.php" from "themes/admin_wind/views" to "modules/gallery/views".