Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2012, 05:26 PM
slammz slammz is offline
 
Join Date: Oct 2011
Location: United States
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 03-23-2012, 07:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-23-2012, 09:06 PM
slammz slammz is offline
 
Join Date: Oct 2011
Location: United States
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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?
Reply With Quote
  #4  
Old 03-23-2012, 09:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 03-23-2012, 09:16 PM
slammz slammz is offline
 
Join Date: Oct 2011
Location: United States
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Reply With Quote
  #6  
Old 03-23-2012, 09:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 03-23-2012, 09:32 PM
Adam H Adam H is offline
 
Join Date: Apr 2008
Location: UK
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-23-2012, 09:42 PM
slammz slammz is offline
 
Join Date: Oct 2011
Location: United States
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adam H View Post
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?
Reply With Quote
  #9  
Old 03-23-2012, 09:49 PM
Adam H Adam H is offline
 
Join Date: Apr 2008
Location: UK
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

add this on the second line of the config.php :


Code:
define('DISABLE_HOOKS', true);
under the <?php
Reply With Quote
  #10  
Old 03-23-2012, 09:54 PM
slammz slammz is offline
 
Join Date: Oct 2011
Location: United States
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adam H View Post
add this on the second line of the config.php :


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

I did it and I am still getting errors.



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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:54 AM.


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.05228 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete