PDA

View Full Version : vBulletin include in External Pages


Sany1984
12-26-2009, 10:57 PM
Hello,

We have a Own CMS and used this code to Integrate the Session Management and more for the CMS:


define('CWD', '/var/customers/webs/ecooling/forum');
global $db, $vbulletin;
include(CWD . '/includes/init.php');
include(CWD. '/includes/class_dm.php');


With the vB 4.0 Upgrades takes me my CMS this out:


Warning: MemcachePool::get() [memcachepool.get]: Invalid key in [path]/includes/class_datastore.php on line 295


We Use the Memcache Storage..

Can you help me? ;)

Thanks!

--------------- Added 1261932530 at 1261932530 ---------------

No infos?

Sany1984
01-02-2010, 06:39 PM
When i Deactivate Memcache in the config.php, is this Error not present, can anyone help me please?

Lynne
01-02-2010, 07:54 PM
What is on line 295 of class_datastore.php ? Do you get the error on other pages? Perhaps you need to call another file to deal with memcached - have you tried global.php instead of init.php?

Sany1984
01-02-2010, 08:47 PM
This Problem exists not in vBulletin 4, other wise when i try the vBulletin 4 to include in our CMS.

When i deactivate Memcache from vBulletin, then goes this, when i activate it, than comes this error on my CMS.

The global.php instead of init.php is the same.

The Code from Line 295 from class_datastore.php:


if (($data = $this->memcache->get($ptitle)) === false)


Thanks

Lynne
01-02-2010, 08:59 PM
I really don't know what the problem is. I am unfamiliar with memcached and can't think of why you would only get this on some of your pages. You may want to check the bug tracker and see if there is anything in there regarding it.