Ticket #154 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

vbulletin / vbjournal problem

Reported by: anonymous Owned by: moo
Priority: critical Milestone:
Component: cacher Version: 1.2.1
Keywords: Cc:
Blocked By: PHP Version:
Application: Need User Feedback: yes
Other Exts: SAPI: Irrelevant
Probability: Always 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

Changed 5 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?

Changed 5 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;

Changed 5 years ago by moo

  • status changed from new to closed
  • resolution set to invalid

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.