Announcement

#1 2017-01-21 23:29:32

colini
Member
2017-01-21
2

500 error after POST to /piwigo/install.php (nginx)

Hello/Hi/Greetings,

I'm trying to install piwigo 2.8.5 manually on ubuntu 14.04.5, nginx 1.4.6, php 5.5.9-1ubuntu4.20

I can open the install page.  But when I fill in the form and submit it I get a 500 response from nginx:
HTTP/1.1 500 Internal Server Error
Server: nginx/1.4.6 (Ubuntu)
Date: Sat, 21 Jan 2017 22:22:54 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.5.9-1ubuntu4.20

Unfortunately all I get is the 500 (the page is blank), and I can't find any sort of php error log file anywhere.  Nothing useful in /var/log/nginx/error.log, either.

Without an error message it's hard to now what to do next.  Any help greatly appreciated.

Thanks,
Colin

Piwigo version: 2.8.5
PHP version: 5.5.9-1ubuntu4.20
MySQL version: Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64)
Piwigo URL: http:// N/A

Offline

 

#2 2017-01-22 03:14:41

erAck
Only trying to help
2015-09-06
2023

Re: 500 error after POST to /piwigo/install.php (nginx)

As it says, 500 is an Internal Server Error. Check your nginx config and run it with debugging logs enabled.


Running Piwigo at https://erack.net/gallery/

Online

 

#3 2017-01-22 14:54:02

colini
Member
2017-01-21
2

Re: 500 error after POST to /piwigo/install.php (nginx)

I turned up as much nginx logging as I could figure out and still nothing showed up.

The problem was that I did not have the php mysql mod installed.  Once I installed that it started working.

So my next question would be, how can I enable php error logging on ubuntu?  Kind of amazing that the default install just fails silently and returns a 500 error.

Thanks.

Offline

 

Board footer

Powered by FluxBB

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