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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2007, 02:16 PM
mattonline mattonline is offline
 
Join Date: Sep 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default need help with SQL

OK so heres the story, for some reason my forum http://www.EntrepreneurForum.co.uk went down, lost its SQL database or something (not sure how it happend) so i re-installed the files, but i put in 3.67 files when the database was 3.65, and there were still errors, so i ran install/install.php and updated the database which is fine, but when i got to view members profiles

http://entrepreneurforum.co.uk/membe...lastposter&f=2
and some posts
http://entrepreneurforum.co.uk/showt...=4693#post4693
and this one is weird
http://entrepreneurforum.co.uk/showthread.php?t=2546

none of the threads work, how do i get them to work again? what do i do, i still have the SQL backup from the 22nd of june


thanks in advance

Do you suggest i re-install the forum, in 3.65 ?

anyone know
Reply With Quote
  #2  
Old 06-24-2007, 05:59 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those threads may have been created after the database backup, and therefore would not exist anymore.
Reply With Quote
  #3  
Old 06-24-2007, 07:48 AM
mattonline mattonline is offline
 
Join Date: Sep 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hm, if they were created after the DB backup then wouldn't they not be there,


But i've been able to sort the situation out now.

I've made it so your able to view the threads they work now.

But i keep having errors when i go to post a reply, such as MYSQL ones, but the message will still post fine, (am i missing a certain file?)

and i get DB error when i go to a profile.
http://www.entrepreneurforum.co.uk/m...lastposter&f=3
Reply With Quote
  #4  
Old 06-24-2007, 03:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you get the mysql error mailed to you? It would help if we could see it posted.
Reply With Quote
  #5  
Old 06-24-2007, 04:11 PM
mattonline mattonline is offline
 
Join Date: Sep 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok its shown below, i've managed to fix the one problem, of the error message comming up when you post a reply button, which was that i didn't have VBAdavnced installed, so that error is fixed now.

PHP Code:
Database error in vBulletin 3.6.5:

Invalid SQL:

    
SELECT pf.profilefieldidpf.profilefieldcategoryidpf.requiredpf.type,
pf.datapf.defpf.height
    FROM profilefield 
AS pf
    LEFT JOIN profilefieldcategory 
AS pfc ON(pfc.profilefieldcategoryid =
pf.profilefieldcategoryid)
    
WHERE pf.form 
            
AND pf.hidden 0
    ORDER BY pfc
.displayorderpf.displayorder;

MySQL Error  Table 'matt_database.profilefieldcategory' doesn't exist
Error Number : 1146
Date         : Sunday, June 24th 2007 @ 06:07:49 PM
Script       :
http://www.entrepreneurforum.co.uk/member.php?find=lastposter&t=16
Referrer     : 
IP Address   : 210.150.10.105
Username     : Unregistered
Classname    : vB_Database 
Reply With Quote
  #6  
Old 06-27-2007, 02:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a table called "profilefieldcategory" (it's not standard in my vbulletin installation)? Could that be from VBAdvanced also?
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 09:49 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.04093 seconds
  • Memory Usage 2,211KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete