View Full Version : Pulling My Hair Out Trying to Get SpiderString
amykhar
05-31-2005, 09:02 PM
I am trying to use unserialize to get the wol_spiders spiderstring out of the datastore. Nothing seems to be working. Does anybody have any suggestions (besides stop trying :D)
Using the special templates doesn't seem to work in CMPS modules.
Amy
amykhar
06-01-2005, 01:10 AM
This SHOULD do it, shouldn't it? But I keep getting an empty sting:
$spiderdatastore = unserialize($datastore['wol_spiders']);
$spiderstring = $spiderdatastore['spiderstring'];
Andreas
06-01-2005, 01:25 AM
Well, if wol_spiders wasn't in $specialtemplates before global.php was called, the associated data will not be in $datastore.
Either make sure that it is there, or use a query.
amykhar
06-01-2005, 03:07 AM
Bless you. I tracked it down and realized a couple of things.
1. The special templates for CMPS are added in global.php
2. I didn't have to use unserialize.
Plus, I upgraded CMPS just to make sure. It's finally working right. :)
Amy
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.