SMF Support > PostgreSQL and SQLite Support

Fatal error when installing SMF 2.0b4

(1/2) > >>

Whenstay:
Hello ! :)

I am trying to install SMF v2.0 beta4 forum on a french webhost : hxxp:www.free.fr/ [nonactive] with a PostgreSQL database.
To simplify, I called my website "hxxp:toto.titi.free.fr/ [nonactive]".

Here is my problem :

--- Quote ---Fatal error: Call to undefined function: pg_version() in /mnt/102/sda/4/9/toto.titi/install.php(792) : eval()'d code on line 1

Warning: Unknown(): open(/mnt/102/sda/4/9/toto.titi/sessions/sess_98e86c6b5f3dca0f34dde75b8f7f3226, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/102/sda/4/9/toto.titi/sessions) in Unknown on line 0
--- End quote ---

I get it after typing :

Database type: PostgreSQL
Server name: localhost (or "sql.free.fr/phpPgAdmin/")
Username: toto.titi
Password: ********
Database name: toto.titi (or "smf")
Database prefix: smf_

Thanks for your help ! ;)

Jade Elizabeth:
Did you create the database and the username for the database?

Whenstay:
Yes, I have got a database and an account "toto.titi".

Oldiesmann:
The first error is due to your host using PHP 4.x - that function only exists in PHP 5 apparently. I'll go file a bug report about that.

You will need to talk to your host about the other errors - for some reason PHP wasn't able to save the session data.

Whenstay:
The host support php5 since 2006.

I was wondering if the problem can be the PostgreSQL database, and if it would be better to switch to a MySQL one ?

Navigation

[0] Message Index

[#] Next page

Go to full version