Loading

500 error on install.php

Get help with problems, or report & discuss bugs in Collabtive

500 error on install.php

Postby elusive_elf » 17.06.2016, 11:26

Hi all,

Just discovered collabtive and really want to get it working.

I've tried installing it on two different servers and I've had the same response of a 500 error when I try to run install.php.

I'm running ubuntu server 16.04 with a fresh LAMP stack, so no configs have been touched. I've set up a username, password, and database on mysql etc. all as per the install guide. Got nothing.

I uncommented the error reporting and got the following error:
PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /var/www/html/collabtive/init.php:39
Stack trace:
#0 /var/www/html/collabtive/init.php(39): PDO ->__construct('sqlite:/var/www...')
#1 /var/www/html/collabtive/install.php(17): require ('/var/www/html/c...')
#2 {main}
thrown in /var/www/html/collabtive/init.php on line 39

As far as I can tell, it's dying because it can't find a database. It's looking for the sqlite database, which it can't find because it's not installed, so I'm assuming it's missing the mysql database. Any thoughts? Help would be really appreciated.
elusive_elf
 
Posts: 1
Joined: 17.06.2016, 11:14

Re: 500 error on install.php

Postby Eva » 25.06.2016, 21:13

It's not looking for an SQLite db, but the SQLite driver, which seems not to be installed (and shouldn't have to be installed).
Normally the MySQL driver should suffice, so this looks like a bug to me.

We will have to look into this.

In the meantime you might be able to work around this issue by installing the SQLite driver in your LAMP stack.
Project Management the way you like it: Collaborative - Open Source - Free

facebook.com/Collabtive
twitter.com/Collabtive
xing.com/companies/collabtive
linkedin.com/company/collabtive
User avatar
Eva
 
Posts: 1471
Joined: 01.01.2008, 23:31
Location: Saarbrücken, Germany

Re: 500 error on install.php

Postby mel08 » 27.10.2016, 21:17

Hello,

I have encountered the same issue: 500 error on install.php.
I have uncompressed all the files by FTP on my hosting server and permissions files on config.php is on 777.
But I still encounter a white page, 500 error on Chrome.

Did you achieve to find a solution to this issue?

Thank you
mel08
 
Posts: 1
Joined: 27.10.2016, 20:52

Re: 500 error on install.php

Postby Eva » 06.12.2016, 20:17

We did not hear back from elusive_elf yet, so I can't say if my suggestion was a solution to this problem.
What does your error log say?
Project Management the way you like it: Collaborative - Open Source - Free

facebook.com/Collabtive
twitter.com/Collabtive
xing.com/companies/collabtive
linkedin.com/company/collabtive
User avatar
Eva
 
Posts: 1471
Joined: 01.01.2008, 23:31
Location: Saarbrücken, Germany

Re: 500 error on install.php

Postby melnyck » 25.07.2017, 03:05

(en español, mi lengua nativa)

hola a todos,

El problema es que viene configurado por defecto con el driver de sqlite, lo cual es un dolor de cabeza si instalas LAMP por defecto (para novados como yo)

la línea 23 del fichero install.php, tiene el siguiente código:

Code: Select all
/$db_driver = "sqlite";


deben cambiar a
Code: Select all
$db_driver = "mysql";


y ya está... tengo ubuntu server 16.04.2 y LAMP por defecto y con el cambio funcionó... antes nada.

Espero les sirva, a mi al menos sí.

Saludos a todos y gracias por compartir sus desarrollos.

Saludos desde Chile,

Álvaro.

//////////////////////////////////////////////////////////////

Hello everyone,

The problem is that it is configured by default with the sqlite driver, which is a headache if you install LAMP by default (for novices like me)

Line 23 on install.php file has the following code:

Code: Select all
 $ db_driver = "sqlite";


Must change to
Code: Select all
 $ db_driver = "mysql";


I have ubuntu server 16.04.2 and LAMP by default and with the change worked ... before i can't install.

I hope you serve them, at least I do.

Greetings to all, and thank you for sharing your developments.

greetings from Chile,

Álvaro
melnyck
 
Posts: 1
Joined: 25.07.2017, 03:00


Return to Problems and Bugs

Who is online

Users browsing this forum: No registered users

cron