News:

Wondering if this will always be free?  See why free is better.

Main Menu

Notice: unserialize(): Error

Started by mat, August 19, 2004, 07:23:37 AM

Previous topic - Next topic

mat

I searched the forums for a similar error, but nothing really solved my problem and it's a little different than others....

I get this error only on the main index page:
Notice: unserialize(): Error at offset 259 of 255 bytes in /home2/olympus/public_html/boards/Sources/BoardIndex.php on line 395

Every other subsequent page is fine.

FYI, i just upgraded from YaBB Super Mod...

So far I am loving SMF.... keep it up!

Any help would be appreciated.

Oldiesmann

What version of PHP are you using? According to what I found on Google, this was a bug with PHP 4.3.2 and early release candidate versions of PHP 4.3.3, although the "offset" value was always less than the total "bytes" value...
Michael Eshom
Christian Metal Fans

mat


[Unknown]

This may have been caused by having too many events on the same day.

-[Unknown]

mat

Quote from: [Unknown] on August 19, 2004, 10:42:16 AM
This may have been caused by having too many events on the same day.

-[Unknown]

How so, here is a screen shot of August's calendar...

Is that too man events?



[Unknown]

Not by any stretch.

--> SMF Coding Discussion.

-[Unknown]

mat

Quote from: [Unknown] on August 19, 2004, 02:43:03 PM
Not by any stretch.

--> SMF Coding Discussion.

-[Unknown]

pretty much all my months are looking like this

[Unknown]

If you got it only once... did you get it right after upgrading?

-[Unknown]

mat

Quote from: [Unknown] on August 19, 2004, 03:51:48 PM
If you got it only once... did you get it right after upgrading?

-[Unknown]

i only get it on the main index.php page

and yes, i got only after upgrading from YaBB SE Super Mod...

[Unknown]

I'm sorry, let me clarify; are you still getting it now?

If you are, try doing something like:
  - changing settings.
  - saving your profile.
  - creating an event.

This will update the cache, and hopefully resolve the issue.  It could be a problem with the conversion from YaBB SE.

-[Unknown]

mat

Quote from: [Unknown] on August 19, 2004, 04:17:47 PM
I'm sorry, let me clarify; are you still getting it now?

If you are, try doing something like:
  - changing settings.
  - saving your profile.
  - creating an event.

This will update the cache, and hopefully resolve the issue.  It could be a problem with the conversion from YaBB SE.

-[Unknown]

i tried changing and resaving settings...

i resaved my profile

and i created a dummy event...

the only thing that made a change was that the addition of an event on the calendar created another one:


Notice: unserialize(): Error at offset 259 of 255 bytes in /home2/olympus/public_html/boards/Sources/BoardIndex.php on line 395
Notice: unserialize(): Error at offset 258 of 255 bytes in /home2/olympus/public_html/boards/Sources/BoardIndex.php on line 398

[Unknown]

How many days in advance have you set it to show "upcoming events"?

-[Unknown]

mat

Quote from: [Unknown] on August 19, 2004, 04:56:35 PM
How many days in advance have you set it to show "upcoming events"?

-[Unknown]

7.

I think that is what was originally set up as the default?

Should I change this?

It's not really a feature I use.

Thanks so much for all your patience,
mat

[Unknown]

In the future, if you're going to request support for something, please:
  - provide a link to your forum. (I had to type it manually from the attachment..)
  - provide a test account if you have guest viewing disabled for the feature in question.

I have registered as "test".  You may wish to delete this account.

Your database is not set to have settings long enough in some cases, although this still shouldn't be happening.  Please run the following query:

ALTER TABLE prefix_smf
CHANGE COLUMN value value text NOT NULL default '';

Where "prefix_" is your prefix, probably "yabbse_".

-[Unknown]

mat

my apologies... i didnt realize there was bug testing edicate...

so i tried running that query...

but got an error:

Database olympus_ombbs  running on localhost

Error

SQL-query :

ALTER TABLE yabbse_ CHANGE COLUMN value value text NOT NULL default ''

MySQL said:
#1146 - Table 'olympus_ombbs.yabbse_' doesn't exist



Just confused as to which table this needed to be ran on?  or all of them?

thanks,
mat

[Unknown]

Sorry, typo, I meant:

ALTER TABLE yabbse_settings
CHANGE COLUMN value value text NOT NULL default '';

-[Unknown]

mat

Quote from: [Unknown] on August 20, 2004, 07:08:55 AM
Sorry, typo, I meant:

ALTER TABLE yabbse_settings
CHANGE COLUMN value value text NOT NULL default '';

-[Unknown]

excellent!

worked great...

after doing that sql query - i just had to create a calendar event and delete it...

thanks for all your help and patience,
mat

Advertisement: