vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   where do I edit or make correction? (https://vborg.vbsupport.ru/showthread.php?t=137285)

p1a6u3 01-23-2007 03:08 AM

where do I edit or make correction?
 
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.

Code:

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:

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


All times are GMT. The time now is 11:24 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.01122 seconds
  • Memory Usage 1,716KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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