Loading...
 
Skip to main content

Architecture / Installation


Upgrade to Tiki 5 fails with "System Error"

I have been trying to upgrade my 4.1 installation to 5.0. Each time I try, I end up with a page that just says "System error. An error occurred while performing the request." I have tried on two servers and I have both installed over the existing site and tried with a fresh installation, so I suspect a problem with my data.

One one system, when I click on the button to convert the database, I'm taken back to the first screen (Welcome) of the installation sequence. I move through that again, selecting the same database, and the second time I get the message that my database is converted ("Upgrade operations executed successfully: 5237 SQL queries.") However, when I finish, either locking the install page or not, and try to enter the site, I get the error message above.

I thought the problem might be related to using a style not bundled with the Tiki installation (Tikipedia) but changing "tikipedia.css" to "business.css" in the preferences table did not help.

I'm using Hostgator with PHP 5.2.4. On the other system (my own laptop) I'm using XAMPP with PHP 5.3.1.

The original, version 4.1 site is at http://www.ecwaevangel.org/living_in_nigeriaQuestion. The exported database file is at http://www.ecwaevangel.org/test3/mjblyth_tiwi2.sql.gzQuestion, if you care to try installing it.

The problem seems to be with the tiki_preferences table. Replacing that table with the one from a new (empty) installation allows the site to function. I now need to find which part of the preferences is the problem.

Solved

The problem was the record in tiki_preferences defining session_lifetime as 20. Deleting that one record makes the site function properly again. This would appear to be a bug, either in the db conversion or in how Tiki 5 handles session_lifetime.


I have the exact error now, after upgrading to 5.1 from 4.2. I've checked tiki_preferences table, there is no record session_lifetime. Is there a differerent preference that might be responsible as well (theme, etc)? What else should I do? purge all preferences?