1
mmbridges
Re: unserialize() error in kernel/object.php
  • 2006/2/24 6:22

  • mmbridges

  • Just popping in

  • Posts: 1

  • Since: 2005/1/6 2


I too am testing XOOPS 2.2.4 on a localhost WAMP5 server.
PHP 5.1.1
Apache 1.3.33
MySQL 5.0.16-nt

When in the Extended Profiles Administration page under the "Fields" tab I get the following similar PHP error:

--------------------------------------------------------------

Notice [PHP]: unserialize() [function.unserialize]: Error at offset 0 of 20 bytes in file c:\wamp\www\xoops2.2.4\kernel\object.php line 344

---------------------------------------------------------------

I am not sure I know how to do the manual update of the database to fix the problem like you did. Do I need to make the exact same manual change that you did or might my problem be slightly different? Any help would be greatly appreciated!

Here is the point in the code where the error occurs:

-----------------------------------------------------------

case XOBJ_DTYPE_ARRAY:
if (!is_array($ret)) {
if ($ret != "") {
$ret = unserialize($ret); <-----line 344
}
$ret = is_array($ret)?$ret:array();
}




TopTop



Login

Who's Online

151 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits