vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Invalid SQL? What does this mean? (https://vborg.vbsupport.ru/showthread.php?t=251808)

OurCouponHome 10-07-2010 09:56 PM

Invalid SQL? What does this mean?
 
Our site says this:

Database error in vBulletin 4.0.6:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
('a1a6990994d2024125797f7de2e8d8bc', 3, '75.183.62.116', '0ecbc006f9bf61789634356a51e06b26', 1286491736, '/', 0, 0, 1, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB0.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; yie8)', 0, 0);

MySQL Error : The table 'session' is full
Error Number : 1114
Request Date : Thursday, October 7th 2010 @ 03:48:56 PM
Error Date : Thursday, October 7th 2010 @ 03:48:56 PM
Script : http://www.ourcouponhome.com/
Referrer :
Classname : vB_Database
MySQL Version : 5.0.91-log


What does this mean?

Lynne 10-07-2010 10:25 PM

It means you session table is full. Are your Scheduled Tasks running? There should be a task that goes through regularly and removes rows from the session table. What do you have your session timeout set to - default is 900 seconds, or 15 minutes.

OurCouponHome 10-07-2010 10:37 PM

Yes, it says 900 seconds.

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

This is what my scheduled tasks says:

m h D M DoW Title Next Time Controls
56 * * * * Thread Views
This script updates thread views once per hour. This option is suggested for forums with large numbers of threads or users. 09-05-2010
10:56 AM Edit Disable

Lynne 10-07-2010 10:47 PM

It doesn't look like your scheduled tasks are running. Try running them manually and see if it updates the Next Time column to be sometime in the future. And then make sure you see them actually running. You may want to truncate your session table via phpMyAdmin.

edit: I guess you got your site back. But, looking at the source code, it doesn't look like you are using a default footer template and so the cron job image isn't in there and thus the Scheduled Task is not running. You also have two sets of </body> and </html> tags, which is not proper html. And, you are missing the vBulletin copyright, if you haven't paid for branding free.

OurCouponHome 10-07-2010 10:51 PM

Thank you soooo much! That worked. I wonder wy they stopped running.

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

Thanks..we are paid for. We will get the copyright right up.

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

Lynne...I have to say, I really hope you are getting paid for what you do because you help so many people and I'm sure alot of them don't say thanks...but please know how uch we appreciate your help! :)


All times are GMT. The time now is 05:27 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.01031 seconds
  • Memory Usage 1,720KB
  • 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