Gallery2 won't work and apache gives a 500 error code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After installing and configuring gallery2, trying to access with a browser to domain.com/gallery2 result in this access.log entry:
195.235.XX.XX - - [27/Aug/
and this errorr.log entry:
Tue Aug 27 08:47:41 2013] [error] [client 195.235.XX.XX] PHP Warning: require_
[Tue Aug 27 08:47:41 2013] [error] [client 195.235.XX.XX] PHP Fatal error: require_once(): Failed opening required '/usr/share/
I try to verify if /usr/sahre/
[Tue Aug 27 08:51:55 2013] [error] [client 195.235.XX.XX] PHP Notice: Indirect modification of overloaded property GallerySmarty:
[Tue Aug 27 08:51:55 2013] [error] [client 195.235.XX.XX] PHP Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'register_object'.' in /usr/share/
And gallery2 installation still won't work.
About the versions:
$ dpkg -l "*gallery2*" "*php5*" "*apache2*" "*smarty*" | grep ^ii
ii apache2 2.2.22-6ubuntu5.1 amd64 Apache HTTP Server metapackage
ii apache2-mpm-prefork 2.2.22-6ubuntu5.1 amd64 Apache HTTP Server - traditional non-threaded model
ii apache2-utils 2.2.22-6ubuntu5.1 amd64 utility programs for webservers
ii apache2.2-bin 2.2.22-6ubuntu5.1 amd64 Apache HTTP Server common binary files
ii apache2.2-common 2.2.22-6ubuntu5.1 amd64 Apache HTTP Server common files
ii gallery2 2.3-1ubuntu6 all web-based photo album written in PHP
ii libapache2-mod-php5 5.4.9-4ubuntu2.2 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-
ii php5 5.4.9-4ubuntu2.2 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.4.9-4ubuntu2.2 amd64 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.4.9-4ubuntu2.2 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.4.9-4ubuntu2.2 amd64 Common files for packages built from the php5 source
ii php5-curl 5.4.9-4ubuntu2.2 amd64 CURL module for php5
ii php5-gd 5.4.9-4ubuntu2.2 amd64 GD module for php5
ii php5-intl 5.4.9-4ubuntu2.2 amd64 internationalis
ii php5-mcrypt 5.4.6-0ubuntu1 amd64 MCrypt module for php5
ii php5-mysql 5.4.9-4ubuntu2.2 amd64 MySQL module for php5
ii smarty3 3.1.10-2 all Template engine for PHP
$ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04