PDA

View Full Version : Invalid SQL? What does this mean?


OurCouponHome
10-07-2010, 09:56 PM
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 1286495114 at 1286495114 ---------------

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 1286496177 at 1286496177 ---------------

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

--------------- Added 1286496251 at 1286496251 ---------------

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! :)