Announcement

#1 2017-01-12 13:33:20

daareek
Member
2017-01-12
20

How to install current Piwigo? Getting 500 server error?

Hello/Hi/Greetings,

just downloaded and loaded (first manually through ftp, then trying again using net installation script) on my hosting account in subfolder /photoalbum with the same result, everything is OK but when calling installation script:

Installation calls http://.../photoalbum/install.php resutling in:
"500 Internal Error

The server encountered an internal error and could not complete your request."

as I have checked my PHP error log found this:

[12-Jan-2017 13:22:22 Europe/Warsaw] PHP Fatal error:  Cannot redeclare transliterate() in /photoalbum/include/functions.inc.php on line 350

line 350 of this file has this:

"function transliterate($term)"

What is wrong, how to get it working on my installation?

Piwigo version: 2.8.5
PHP version: 5.4.432.0
MySQL version: 5.5.51-38
Piwigo URL: http://none yet :-(

Offline

 

#2 2017-01-12 15:53:19

daareek
Member
2017-01-12
20

Re: How to install current Piwigo? Getting 500 server error?

Hi,

found the solution myself, for those who will run into same problem:

On some hosts, multiple PHP versions are enabled and you need an .htaccess file with a specific instruction in order to enable PHP 5. Contact your hosting company to know exactly their procedure.

Just had to create .htaccess file with the following:

":Location /*.php
Use php5
:Location"

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact