UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » E_NOTICE - unserialize() General Error

E_NOTICE - unserialize() General Error

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
UseBB General Error

An error was encountered. We apologize for any inconvenience.
In file functions.php on line 1128:

E_NOTICE - unserialize() [function.unserialize]: Error at offset 0 of 58 bytes
This error should probably not have occured, so please report it to the webmaster. Thank you for your help.

Additional to the problems we are having with message status (read or unread) some are now experiencing this new problem. Others are not able to log-in. To summarize: a) message status problem, b) login problem for some and c) the unserialize() problem but not sure how many are getting this problem.

Sorry I can't be more specific since the problem has been reported to me and the person has gone offline so I can't ask more questions.

I am still running RC2 and will get to updating asap. Any suggestions as to this new problem?

TIA
« Last edit by sighkick on Thu Jun 29, 2006 11:01 am. »
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
00:43 Friday (GMT +12) : Updated to RC3 and now have the error on line 1129 ... same error. is down and I don't know how to fix it or why it happened. HELP pls.

Note: I am getting this error now, so I assume noone can access the Forum (the webserver is on my LAN).
« Last edit by sighkick on Thu Jun 29, 2006 12:48 pm. »
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
It just seems there is something wrong with cookies. Are all the cookie config values set correctly?

$conf['cookie_domain'] = '';

Should be the domain name (for example .usebb.net) or leave blank.

$conf['cookie_path'] = '';

Should be a path as seen in the URL (for example /community/).

$conf['cookie_secure'] = 0;

Should be 0 unless you use SSL.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
These items are as follows and have been this way forever....

$conf['cookie_domain'] = '';
$conf['cookie_path'] = '/';
$conf['cookie_secure'] = 0;

No changes have been made in this area. Any more ideas please. If I re-install the software, will I still maintain the database?
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Have you tried using the CVS sources?
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
No... is there any particular file I should obtain? Will look for the CVS ....
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
Installed latest CVS (except config.php, styles.css and global.tpl.php and the folders gfx and smilies).

No change :( any other ideas please?

http://www.radiochickforum.nzcool.com/
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
Could there be a corrupted database causing this? If this is possible, I would need to figure out how to fix the db via phpmyadmin.

Currently installing a new UseBB to test... latest CVS.
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Please test if you encounter the same issues with a fresh install.

Does it help when you set the cookie_domain to your domain name (replacing www. with a dot, for example ".usebb.net")?
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
Status: [Fixed:] Problem 'Corrupted Cookies'

I was getting the same error after updating and even when I set up a copy of Version 0.8a.

Next I tried MySQL RELOAD to clear the Cache and reset permissions. It didn't 'seem' to make any difference. I also rebooted the server and there was no change. Noticed that the forum was sending Topic Update notifications so figured that someone must be able to still get on.

Cleared the cookie for the forum in my Firefox browser and everything worked.

The question is now, how many people have corrupted cookies?
What would have caused these cookies to be corrupted?
Can the forum force a cookie REFRESH if an error is encountered or is the only way for the user to delete cookies?
How do we tell forum users having problems to delete their cookies if they can't get on to the forum to read any messages?
Is it possible to include a Error Message suggesting deleting cookies?

Thanks for all your help. So pleased that the busy forum is working again.
p.s. Cookie Domain remains empty '' as it has been all the time. I did try all suggestions, no change.
« Last edit by sighkick on Fri Jun 30, 2006 2:40 am. »
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
UseBB should now take care of this itself when a cookie with invalid serialized data is encountered.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Help & Support » E_NOTICE - unserialize() General Error

UseBB Community is powered by UseBB 1 Forum Software