vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Mysql error (https://vborg.vbsupport.ru/showthread.php?t=304176)

Bladed 11-05-2013 12:58 AM

Mysql error
 
I just moved my forum to a new host. It took us several days to get the database to the point of where I could even access it, due to the poor hosting service of the previous host.
Here is the error message (user name has been starred out:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT *
FROM session
WHERE userid = 0
AND host = '157.55.33.34'
AND idhash = '3f0601152dfc3592e95afec8f1e250b1'
LIMIT 1;

MySQL Error : Table '********_vbulletin.session' doesn't exist
Error Number : 1146

What do I need to do to fix this?

nerbert 11-05-2013 01:27 AM

What do you have for your table prefix in includes/config.php? Check your database with phpMyAdmin if you don't know what it's supposed to be

ForceHSS 11-05-2013 01:59 AM

you have a missing table session not there upload all files for your version and run upgrade.php should replace it and any others missing

Bladed 11-05-2013 04:29 AM

this was odd. I restarted my computer due to lag on my ftp client, while uploading the install file. When I restarted my browser my forum came up and is working ok now.

ForceHSS 11-05-2013 05:12 AM

Even so still do what I said above as that table is still missing and others might be as well

Bladed 11-05-2013 07:34 AM

I checked the database before I posted this and the session table is there. (shrug)

ForceHSS 11-05-2013 07:57 AM

Table '********_vbulletin.session' doesn't exist
In you first post you seem to of blocked some part of the message out without this info I am going by what I see without the full message its hard to help and I can only go with info given

Bladed 11-07-2013 10:04 AM

What was blocked out as I said in the op was the user name.
I've had my forum up since then, however I discover the C99madShell v. 2.0 madnet edition hack. So I've now deleted the old install and trying to upgrade to the new version.


All times are GMT. The time now is 01:14 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.01223 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
  • (8)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