Loading...
 
Skip to main content

error at admin > login showing list of themes: unserialize() at tiki-admin_include_login.php +

Status
Closed
Subject
error at admin > login showing list of themes: unserialize() at tiki-admin_include_login.php +
Version
1.9.x
Category
  • Error
Feature
Administration
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Please retest
Submitted by
Xavier de Pedro
Lastmod by
Marc Laporte
Rating
(0)
Description

Switching language from admin panel produces blank page (tiki not showing) under some circumstnaces, along the last weeks (repeated today-13th june 2007 again with latest 1.9cvs code)


I have a selection (through "Admin > login") of themes chosen by admin to allow users to change among those themes.
Moreover, mod-switch_theme is assigned to registered users in left column.

From time to time, when I change the theme under "Admin > General", I get this message:

Notice: unserialize() function.unserialize: Error at offset 239 of 250 bytes in /home/httpd/tiki19/modules/mod-switch_theme.php on line 15
header already sent


plus a blank page. After that, I see on top of each page:

Notice: unserialize() function.unserialize: Error at offset 239 of 250 bytes in /home/httpd/tiki19/modules/mod-switch_theme.php on line 15

I cannot change the selecetion of themes any more through "Admin > login": I'm geeting

Notice: unserialize() function.unserialize: Error at offset 239 of 250 bytes in /home/httpd/tiki19/modules/mod-switch_theme.php on line 15

Notice: unserialize() function.unserialize: Error at offset 239 of 250 bytes in /home/httpd/tiki19/tiki-admin_include_login.php on line 522

on top of that page, and the selecetion of themes is not showing properly (names of themes), but it produces this hatml lines at that multiple selection box (taken from the html source of the page):

Copy to clipboard
<b>Warning</b>: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in <b>/home/httpd/tiki19/templates_c/precarios/es^%%00^00C^00CB4449%%mod-switch_theme.tpl.php</b> on line <b>33</b><br />



(until I delete that selection directly from the db).

Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1143
Created
Wednesday 13 June, 2007 16:16:26 UTC
by Unknown
LastModif
Friday 15 January, 2010 21:38:33 UTC


Show PHP error messages