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 02-26-2012, 08:48 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default HELP!! Please! My 'session' table just disappeared.

Hi,

I need urgent help. 12 hours ago my 'session' table just disappeared. for no apparent reason, I didn't upgrade anything or change It looks like the rest of the DB is ok but i won't know for sure until everything will be online again with no DB errors.

I have a back up of 2 weeks ago that I really don't want to use.. it means to lose a lot of info.

Here is the error:

Database error in vBulletin 4.1.10:

Invalid SQL:

SELECT *
FROM session
WHERE userid = 0
AND host = '66.249.68.99'
AND idhash = 'c827199bec48e24e5059338869b06bed'
LIMIT 1;

MySQL Error : Table 'MyDB.session' doesn't exist
Error Number : 1146
Request Date : Sunday, February 26th 2012 @ 01:01:13 PM
Error Date : Sunday, February 26th 2012 @ 01:01:13 PM
Script :
Referrer :
IP Address : 66.249.68.99
Username :
Classname : vB_Database
MySQL Version :

i
What can cause that? Is this table contains temporary data? What can I do?

Please help me
Reply With Quote
  #2  
Old 02-26-2012, 08:57 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what would cause that. I think you should just be able to recreate that table since it is temporary information. The SQL to create it is in install/mysql-schema.php, the only thing is that there's a function to decide what the engine should be, so you have to figure that out. It looks like the same engine is used for cpsession, so maybe you can look at your database and see what the cpsession table is set to.
Reply With Quote
  #3  
Old 02-26-2012, 09:12 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Thank you for replying. I will do that. Where can i see the engine? I am using MyPHPAdmin. I looked at the cpsession table and I don't see ant engine definition...

Thanks
Maayan
Reply With Quote
  #4  
Old 02-26-2012, 09:16 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you click on the link for your database, there's a "type" column. I think it will either say "MyISAM" or "Memory".
Reply With Quote
  #5  
Old 02-26-2012, 09:22 PM
mdreamer's Avatar
mdreamer mdreamer is offline
 
Join Date: Jul 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it..
seems it worked!

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

It was MEMORY
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 10:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03966 seconds
  • Memory Usage 2,192KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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