vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Site Database but no files! (https://vborg.vbsupport.ru/showthread.php?t=280559)

slammz 03-23-2012 05:26 PM

Site Database but no files!
 
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?

kh99 03-23-2012 07:52 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.

slammz 03-23-2012 09:06 PM

Quote:

Originally Posted by kh99 (Post 2312604)
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?

kh99 03-23-2012 09:10 PM

Yes, you should be able to do this query:

Code:

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

Quote:

Originally Posted by kh99 (Post 2312624)
Yes, you should be able to do this query:

Code:

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.

kh99 03-23-2012 09:21 PM

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

Quote:

Originally Posted by Adam H (Post 2312635)
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 :


Code:

define('DISABLE_HOOKS', true);
under the <?php

slammz 03-23-2012 09:54 PM

Quote:

Originally Posted by Adam H (Post 2312644)
add this on the second line of the config.php :


Code:

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 [DATE]1332553152[/DATE] at [TIME]1332553152[/TIME] ---------------

Any other help?

--------------- Added [DATE]1332610346[/DATE] at [TIME]1332610346[/TIME] ---------------

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

Quote:

Originally Posted by Adam H (Post 2312883)
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

Quote:

Originally Posted by slammz (Post 2312914)
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

Quote:

Originally Posted by Adam H (Post 2312925)
Yup , thats what i was going to recommend , just in case there is a mismatch

It worked. Thanks for all the help!


All times are GMT. The time now is 05:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01196 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete