Opened 7 years ago

Closed 7 years ago

#154 closed defect (invalid)

vbulletin / vbjournal problem

Reported by: anonymous Owned by: moo
Priority: critical Milestone:
Component: cacher Version: 1.2.1
Keywords: Cc:
Application: PHP Version:
Other Exts: SAPI: Irrelevant
Probability: Always Blocked By:
Blocking:

Description

This is causing errors in vbjournal
http://www.vbulletin.org/forum/showthread.php?t=96462&page=109

I get this when I go to "my journal" area

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/class_core.php:3118) in /includes/functions.php on line 2801

If I go to journal index I get this

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Change History (3)

comment:1 Changed 7 years ago by moo

is there any xcache_set/get in your vbjournal or vbuleltin? i.e., is xcache var cahe in used? who wrote that xcache_set/get?

comment:2 Changed 7 years ago by moo

i'm not sure what's going on, but you may replace

$categorycache = unserialize($vbulletin->gallery_c_cache);

with

$categorycache = $vbulletin->gallery_c_cache;

comment:3 Changed 7 years ago by moo

  • Resolution set to invalid
  • Status changed from new to closed

well, in vbjournal, simply remove

$vbulletin->journal_opt = unserialize($vbulletin->journal_opt);

in /journal.php, it's a bug in vbjournal imho, not XCache

Note: See TracTickets for help on using tickets.