vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   HELP!! Please! My 'session' table just disappeared. (https://vborg.vbsupport.ru/showthread.php?t=279199)

mdreamer 02-26-2012 08:48 PM

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

kh99 02-26-2012 08:57 PM

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.

mdreamer 02-26-2012 09:12 PM

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

kh99 02-26-2012 09:16 PM

If you click on the link for your database, there's a "type" column. I think it will either say "MyISAM" or "Memory".

mdreamer 02-26-2012 09:22 PM

Ok got it..
seems it worked!

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

It was MEMORY


All times are GMT. The time now is 02:37 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.00924 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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