View Full Version : During Install: "build datastore" error (fatal)
seangworld
06-21-2004, 04:43 PM
this is the error i get, during install (clean):
Fatal error: Call to undefined function: build_datastore() in /home/www/seangworld/vbulletin/admincp/vbacmps_install.php on line 1353
what do i need to do?
seangworld
06-21-2004, 04:58 PM
i just looked at my admin control panel, to see if it shows up and it looks like everything is there... and im able to start setting it up, it looks like. im afraid to do anything cuz i dont wanna screw anything up.
DarknessDivine
06-21-2004, 05:02 PM
you shouldn't screw anything up... if everything is in the admincp I'd say that it's installed..don't quote me on that cuzzzzz I don't know everything about it just trying to help....;)
seangworld
06-21-2004, 05:08 PM
actually, i just tried to edit the settings and i got another fatal error in that same thing but on line 49.
im going to check the chmod.
seangworld
06-21-2004, 05:21 PM
nope, still doesnt work.
seangworld
06-21-2004, 09:17 PM
i uninstalled this, reinstalled it 2x. i still get stuck at the same spot dealing with line 1353 and the build datastore fatal error thing.
is anyone gonna seriously help me with this, or at least point me to a thread that has already covered this? i did a couple of searches and don't see it.
DarknessDivine
06-21-2004, 11:57 PM
Hey seangworld try posting a trouble ticket so Brian can have a look..It may take him a bit but he'll get to it and tell you the problem. Sorry I can't be of more help..I'm just learning this stuff as well...;) Trouble Tickets are in the members area...
Brian
06-21-2004, 11:59 PM
Sounds like you're running a beta version of vBulletin.
seangworld
06-23-2004, 12:38 AM
it's 3.0.0 RC2.
Brian
06-23-2004, 11:14 AM
I could have swore that function was in the RC versions, but I guess not. If you'll open the install file and look for this line (right near the top of the file):
$scriptname = 'CMPS';
Then add this code right above that:
function build_datastore($title = '', $data = '')
{
global $DB_site;
if ($title != '')
{
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "datastore
(title, data)
VALUES
('" . addslashes(trim($title)) . "', '" . addslashes(trim($data)) . "')
");
}
}
That will place the function in that file and should allow you to finish the install. You'll also want to add that function to your vba_cmp_admin.php file as it uses that function in a couple of places as well.
seangworld
06-23-2004, 11:55 PM
ok thanks. i'll go reinstall it. i was trying out that vbindex crap and well...it was the easiest frickin install, but it doesnt have as much to offer as cpms has.
i'll post back what happens.
seangworld
06-24-2004, 12:23 AM
ok, worked perfectly. im back in business, THANKS BRIAN!
seangworld
06-24-2004, 12:26 AM
ACTUALLY, i take that back...now when i set the settings under "default settings", i hit save and i get:
Fatal error: Call to undefined function: build_datastore() in /home/www/seangworld/vbulletin/admincp/vba_cmps_admin.php on line 49
seangworld
06-24-2004, 12:34 AM
try and take a look at what i got going...i cant figure it out.
http://www.seangworld.com
seangworld
06-24-2004, 12:42 AM
lol, im funny, and lucky i guess.
what i did was i opened up that cmps admin page, went to line 49. at the beginning of THAT section, i dropped in that same exact code you gave me and it worked. lol
mholtum
06-24-2004, 12:56 AM
you should upgrade your VB to 3.0.1. and edit your image paths in admincp
seangworld
06-24-2004, 12:58 AM
that's what im trying to figure out right now. and i can't upgrade right now cuz i haven't paid for my yearly thing. i just own the lease, don't have the ability to upgrade right now. im trying to figure out why my images aren't working. when i goto the icon manager, then edit, the urls are correct, but when i goto my index.php page, i right click the images and it's missing "/vbulletin" where else am i supposed to look?
seangworld
06-24-2004, 01:29 AM
ok, im good to go. thanks for the help!
alfaowner
01-21-2006, 07:35 PM
so did it fix the problem????
alfaowner
01-22-2006, 07:38 AM
wrong forum sorry
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.