View Full Version : Site Database but no files!
slammz
03-23-2012, 05:26 PM
Ok, well I have a DB but no files for it. I know it is was on 4.0.6 but when I import the DB and use the 4.0.6 files I am getting errors like this:
http://puu.sh/m21F
Any help?
I think you might be missing stuff that's normally in the datastore table. You can upload tools.php (from the "do not upload" folder of the distribution) to admincp, then point your browser at admincp/tools.php. There are a few options for rebuilding the Datastore Cache.
slammz
03-23-2012, 09:06 PM
I think you might be missing stuff that's normally in the datastore table. You can upload tools.php (from the "do not upload" folder of the distribution) to admincp, then point your browser at admincp/tools.php. There are a few options for rebuilding the Datastore Cache.
I have tried a few things and have nothing. Still errors. I am starting to think that it wasn't on 4.0.6. Is there anyway to find out what version is was on from looking in the DB?
Yes, you should be able to do this query:
SELECT value from setting WHERE varname = 'templateversion'
I suppose another possibility could be that you have a problem in your config.php - are you getting any database errors?
slammz
03-23-2012, 09:16 PM
Yes, you should be able to do this query:
SELECT value from setting WHERE varname = 'templateversion'
I suppose another possibility could be that you have a problem in your config.php - are you getting any database errors?
It isn't letting me run that query. It just reloads the page and does nothing. Also, the config.php is correct.
Can you run it from phpmyadmin or something like that (outside of vbulletin)? Also maybe check your web server error log if you have access to that.
Adam H
03-23-2012, 09:32 PM
have you tried disabling hooks from the config file ? The database was probably running mods before , now you have a clean install its still looking for them........just a thought
slammz
03-23-2012, 09:42 PM
have you tried disabling hooks from the config file ? The database was probably running mods before , now you have a clean install its still looking for them........just a thought
Where do I disable that in the config.php file?
Adam H
03-23-2012, 09:49 PM
add this on the second line of the config.php :
define('DISABLE_HOOKS', true);
under the <?php
slammz
03-23-2012, 09:54 PM
add this on the second line of the config.php :
define('DISABLE_HOOKS', true);
under the <?php
http://puu.sh/m4d6
I did it and I am still getting errors.
http://puu.sh/m4dE
Trying to get into the admincp.
--------------- Added 1332553152 at 1332553152 ---------------
Any other help?
--------------- Added 1332610346 at 1332610346 ---------------
Anything I can do? I need to get it up.
Adam H
03-24-2012, 05:43 PM
I take you have actually ran the upgrade script ? Or have you installed the same file versions as the one the database was previously on ?
slammz
03-24-2012, 07:42 PM
I take you have actually ran the upgrade script ? Or have you installed the same file versions as the one the database was previously on ?
I have the DB on 4.0.6 and the 4.0.6 files. I will try to update to 4.1.11
Adam H
03-24-2012, 08:24 PM
I have the DB on 4.0.6 and the 4.0.6 files. I will try to update to 4.1.11
Yup , thats what i was going to recommend , just in case there is a mismatch
slammz
03-24-2012, 08:44 PM
Yup , thats what i was going to recommend , just in case there is a mismatch
It worked. Thanks for all the help!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.