PDA

View Full Version : where do I edit or make correction?


p1a6u3
01-23-2007, 03:08 AM
Hello and thanks for taking time to read my inquiry.
I have done many searches for an answer to my problem and found somewhat similar answers but little if no directions as how to solve.
In my forum home there is a link in the drop down menu for checking "Todays Posts". When there is no new posts of course I get the message stating there are none.
However, when a new post or posts are made and the link is clicked it gives me this error.


Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT searchid FROM search AS search WHERE userid = 1 AND searchhash = '42610ce97467a83d0ae5d628a7651d4f' AND orderedids

= '5' AND announceids = '' AND completed = 1;

MySQL Error : Unknown column 'completed' in 'where clause'
Error Number : 1054
Date : Monday, January 22nd 2007 @ 11:54:34 PM
Script : http://www.mysite.com/forums/search.php?do=getdaily
Referrer :
IP Address : 000.0.00.000
Username : admin
Classname : vb_database


From my searches I somewhat understand the error but dont know how to take action or where to look to edit. I am very confident and successful at following instructions, installing hacks etc etc.......my prob is where to look and how to fix. will running a specific query fix this, I am at a loss here please excuse me but I am very eager to learn.
If anyone out there can give me brief direct instructions I would be very grateful for your help.
Thank you in advance....

p1a6u3 :confused:

p1a6u3
01-24-2007, 04:00 AM
any help sure would be appreciated............ :up:

Attilitus
01-24-2007, 04:12 AM
Have you installed any modifications or made changes to the code? The column "completed" does not exist in the search table on a default installation. (Thus why the error is saying that the column is Unknown.)

p1a6u3
01-24-2007, 05:29 AM
UPDATE:

I solved it by replacing the search.php file in the forums root folder.
Thanks to those who replied.

p1a6u3 :cool:

VBUsers
03-21-2007, 07:42 AM
im having the same issue please can some one post the fix for it.

Marco van Herwaarden
03-21-2007, 08:47 AM
To fix this please run the following query:

ALTER TABLE search ADD COLUMN `completed` smallint(5) unsigned NOT NULL default '1';