Loading...
 
Skip to main content

Fatal error: Call to undefined method TikiDb_Pdo::setAttribute() in lib/tikisession-pdo.php on line 18

Status
Closed
Subject
Fatal error: Call to undefined method TikiDb_Pdo::setAttribute() in lib/tikisession-pdo.php on line 18
Version
4.x
Category
  • Conflict of two features (each works well independently)
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Out of Date
Submitted by
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Description

This happens in Tiki4 when using session_storage in the database (which was not the default) when using PDO (which is now the default in Tiki4)

Solution
This will probably be never fixed in Tiki4 so just upgrade to Tiki5, where it has been fixed properly.
Workaround

1- use ADOdb as described at http://tikiwiki.org/ReleaseNotes40Question

or

2- With phpMyadmin (or similar)

go to the table tiki_preferences

Find the line about session_db being equal to y and delete it (it will then be restored to the default of no.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3089
Created
Wednesday 24 March, 2010 21:02:08 UTC
by Marc Laporte
LastModif
Wednesday 19 September, 2012 01:13:15 UTC


Show PHP error messages