Loading...
 
Skip to main content

edu.tw.o broken (unserialize() error at tiki_setup.php) after intertiki activated -just coincidence?

Status
Closed
Subject
edu.tw.o broken (unserialize() error at tiki_setup.php) after intertiki activated -just coincidence?
Version
1.9.x
Category
  • Error
Feature
InterTiki
Resolution status
Fix on the Way
Submitted by
Xavier de Pedro
Volunteered to solve
Mose
Lastmod by
Mose
Rating
(0)
Description

I login to edu.tw.o with my admin account (it's user "xavi", with admin rights on edu.tw.o, but not on tw.o, where this user "xavi" was already registered, as plain "Registered" user). Intertiki is activated as slave.

I login to edu.tw.o as user "xavi" (without realm on the right), and pass. I login. (I couldn't previous days... 😕 )
Then I see a notice on top of each page saying:

Copy to clipboard
Notice: unserialize(): Error at offset 245 of 250 bytes in /var/lib/gforge/chroot/home/groups/edutiki/htdocs/tiki-setup.php on line 1446


Then, I edit a page (or other actions), and I get after cliking to save button:

Copy to clipboard
Notice: unserialize(): Error at offset 245 of 250 bytes in /var/lib/gforge/chroot/home/groups/edutiki/htdocs/tiki-setup.php on line 1446 Warning: Cannot modify header information - headers already sent by (output started at /var/lib/gforge/chroot/home/groups/edutiki/htdocs/tiki-setup.php:1446) in /var/lib/gforge/chroot/home/groups/edutiki/htdocs/tiki-editpage.php on line 764


Followed by "blank". So tiki is stuck there showing nothing else, and no link to go back, etc.

Please, help!, since it doesn't look nive for users trying tiki....

Btw, The category "FEature" ehre in dev.tw.o is missing "Login" + Intertiki" , plus another category for "Mods", contanining all the mods released in cvs sf.net.

Solution

The unserialize problem comes from the type of the 'value' field in 'tiki_preferences'. Default us varchar and we need a 'text' type field so it can contain a bigger chunk (larger then 255 chars).
The way around is to use site identity to change the type of that field (there is a checkbox there for that goal), or to wait someone implement the field-type change in the intertiki admin panel, or until we decide that tiki_preferences.value field type should be 'text' by default.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
790
Created
Tuesday 04 July, 2006 08:02:08 UTC
by Unknown
LastModif
Sunday 03 June, 2007 06:53:31 UTC


Show PHP error messages