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 07-29-2008, 02:28 PM
fedorama fedorama is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Threadviews-Incorrect file format

Hi ,

I backed up my database via SSH before, but when trying to back up again I got this message in my SSH client -



Confused, i then wandered into my admin panel and into the "Repair and Optimize" section and ran it, and, lo and behold, the first time I saw an error and it is the same problem that prevented me from backing up !



What caused this, how can I fix this, and continue backing up ?

I haven't done anything to the server, not sure why there is a problem with threadviews ...

HELP ME !
Reply With Quote
  #2  
Old 07-29-2008, 02:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may help - http://www.vbulletin.com/forum/showt...ct+file+format
and http://www.vbulletin.com/forum/showt...ct+file+format
Reply With Quote
  #3  
Old 07-29-2008, 02:37 PM
fedorama fedorama is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why, thank you Lynne.

Your assistance is most appreciated, guess I'll have to go to the boys at vb.com and read up on it !

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

Hi Lynne .. one more thing if you don;t mind !

I read the thread you mentioned, and looks like I have to run some Queries.

I logged in as Admin and tried executing a query and got a "You are not authorized to run mySQL queries" message.

How can this be when I'm Admin >?
Reply With Quote
  #4  
Old 07-29-2008, 03:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You actually need to put your userid into the config file to allow you to run queries (put in your userid in place of the "1"):
PHP Code:
 $config['SpecialUsers']['canrunqueries'] = '1'
Reply With Quote
  #5  
Old 07-29-2008, 03:31 PM
fedorama fedorama is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi lynne, sorry to badger !

Here is the line and how it appears in my config file .. apparently there is no "1", is this odd ?



Should I put my Admin username in between the apostrophes ?
Reply With Quote
  #6  
Old 07-29-2008, 03:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"1" is my userid on my site - I copied that line from my config file. You need to put your own userid inbetween those two apostophes.
Reply With Quote
  #7  
Old 07-29-2008, 03:41 PM
fedorama fedorama is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have "1" in other fields in my config file, like for "canviewadminlog" and "canpruneadminlog", they have "1" instead of an nothing.

So "1" is the Admin usergroup number right ? In the Usergroup section of my admin cp Admin usergroup is "id=6"

So by userid .. .a bit confused.
Reply With Quote
  #8  
Old 07-29-2008, 03:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you don't put in the usergroup id, you put in your actual userid. I am user number 1 on my site, so I have a 1 in all those fields so I can do anything. You should put your own userid into those fields (perhaps you are user number 1 also?).
Reply With Quote
  #9  
Old 07-29-2008, 03:49 PM
fedorama fedorama is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By User ID , is that User Name ?

Like Fedorama here ?

I had vBulletin install it on my server, so didn't set it up myself.

You can see in the below how some have "1" while the runquery field is empty.

Reply With Quote
  #10  
Old 07-29-2008, 03:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fedorama View Post
By User ID , is that User Name ?

Like Fedorama here ?
No, userid is your user number. Here is a link to your member page here:
https://vborg.vbsupport.ru/member.php?u=258484

You are user 258484, so that is your userid.

Mine is https://vborg.vbsupport.ru/member.php?u=65230

So my userid is 65230
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 04:43 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.05607 seconds
  • Memory Usage 2,246KB
  • 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
  • (1)bbcode_php
  • (1)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