[SOLVED] After successfull installation, only 404 error

Ghostreader

Joined: 2014-05-14
Posts: 2
Posted: Thu, 2014-05-15 05:36

Hello Forum,

I have done a successful installation of Gallery3 on my lokal server at home:
Ubuntu 12.04 (LTS)
Apache2 2.2.22-1ubuntu1
PHP5 5.3.10-1ubuntu3
MySql 5.5.22-0ubuntu1

Installation path of Gallery3: /var/www/Gallery3/
owner set to www-data:www-data
rights set to all rwx

As client in my LAN I use Firefox 29.0 on Ubuntu 12.04

When I call 192.168.1.7/gallery3/installer/ I receive:
Success!
Your Gallery 3 install is complete!

Then I click "Start using Gallery" which leads to 192.168.1.7/gallery3/. I receive:

Login

Search the gallery

Gallery

There aren't any photos here yet!

First Previous
No photos
Next Last
[...]

When I click "Login", it leads to 192.168.1.7/gallery3/index.php/login/ajax but I receive
[404] Not Found
The requested URL /gallery3/index.php/login/ajax was not found on this server.
Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 80

Here some lines of my server log files:

tail /var/log/apache2/access.log:

192.168.1.66 - - [14/May/2014:22:41:13 +0200] "GET /gallery3/ HTTP/1.1" 200 7707 "http://192.168.1.7/gallery3/installer/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"
192.168.1.66 - - [14/May/2014:22:41:16 +0200] "GET /gallery3/index.php/login/ajax HTTP/1.1" 404 516 "http://192.168.1.7/gallery3/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"

tail /var/log/apache2/error.log:

[Wed May 14 22:41:16 2014] [error] [client 192.168.1.66] File does not exist: /var/www/gallery3/index.php/login/ajax, referer: http://192.168.1.7/gallery3/

Find the output of php.info attached.

What do I have to investigate to get my Gallery working?
Other PHP applications installed in /var/www/ are working well (Gallery2, phpmyadmin, ...)

Thanks for any suggestions

Ghost

AttachmentSize
php_info.zip16.14 KB
 
Ghostreader

Joined: 2014-05-14
Posts: 2
Posted: Fri, 2014-05-16 21:59

I solved it by doing a complete and clean reinstalling of

Apache
MySql
PHP
with all associated packages and configuration files.

Then I created a new database and a new user and started new installation of Gallery3 as shown here http://codex.galleryproject.org/Gallery3:Quick_Start

Now Gallery3 works fine :-))

Maybe my issue was caused by a previous installation of Gallery2 which might has interfered with Apache/MySql/PHP settings.

[how can I flag this thread as solved?]