Results 1 to 3 of 3
  1. #1
    Casual Pligger davebowker's Avatar
    Joined
    Oct 2006
    Posts
    33
    Thanks
    Received:0
    Given: 0

    error when searching

    anytime i search for something this pops up;

    Search results for

    SQL/DB Error -- [Unknown column 'link_modified_date' in 'order clause']

    SQL/DB Error -- [Unknown column 'link_modified_date' in 'order clause']



    not sure whats going on and would appreciate some help


    thanks in advance

    dave

  2. #2
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    In your database under the links table, is there a field called link_modified_date?

  3. #3
    Casual Pligger davebowker's Avatar
    Joined
    Oct 2006
    Posts
    33
    Thanks
    Received:0
    Given: 0

    :)

    ok. after a chat with kb on the irc, the answer is dont change to much in the search form or it breaks.


    from the original code, its safe to delete the following and still keep it working:

    5 <form action="{$my_base_url}{$my_pligg_base}/search.php" method="get" name="thisform" id="thisform">
    6 <label for="searchsite">{#PLIGG_Visual_Search_Header_Sear ch#}:</label>
    7 {if $templatelite.get.search neq ""}
    8 {assign var=searchboxtext value=$templatelite.get.search|sanitize:2}
    9 {else}
    10 {assign var=searchboxtext value=#PLIGG_Visual_Search_SearchDefaultText#}
    11 {/if}

    12 <input type="text" size="20" name="search" id="searchsite" value="{$searchboxtext}" onfocus="if(this.value == '{$searchboxtext}') {ldelim}this.value = '';{rdelim}" onblur="if (this.value == '') {ldelim}this.value = '{$searchboxtext}';{rdelim}"/>
    13 <input type="submit" value="Go" class="submit" />
    14 </form>
    red are the bits that u can remove.

    this bit is only needed if u want to pass the search value onto the search results screen so it saves what you type in the search box. if you are going to do this then you also need to add the following into libs/lang.conf :

    //<SECTION>SEARCH</SECTION><ADDED>0.80</ADDED>
    78 PLIGG_Visual_Search_SearchDefaultText = "click here...(or whatever you want this to say)"


    hope that helps anyone.

    thanks ash, kb

    dave

Similar Threads

  1. After searching, I still need help.
    By ucopious in forum Questions & Comments
    Replies: 0
    Last Post: 02-26-2010, 06:27 PM
  2. one word searching
    By kaoru5thchild in forum Questions & Comments
    Replies: 0
    Last Post: 05-24-2009, 11:45 PM
  3. Searching Pages
    By flipflopsnrain in forum Questions & Comments
    Replies: 1
    Last Post: 05-04-2009, 07:25 PM
  4. omg noobies and no searching
    By abcdefgary in forum Questions & Comments
    Replies: 3
    Last Post: 06-09-2007, 06:29 PM
  5. Problem in searching
    By shobhit1 in forum Questions & Comments
    Replies: 4
    Last Post: 01-18-2007, 09:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg