Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Search module table problems... missing/incorrect table?
  • Posted: 15.06.2007, 05:00
     
    alarconcepts
    rank:
    Professional Professional
    registered:
     April 2004
    Status:
    offline
    last visit:
    21.01.08
    Posts:
    2723
    In creating a pnsearchapi.php file for a module, I see that it wants to insert into the $pntable['search_result'] table, but this table does not exist.

    I see there is a '*_search_stat' table, though, so I looked there. That table contains different fields than are trying to be inserted (using default code). I followed by the News and Reviews modules to add this search functionality, but I'm getting errors on the final insert into the search table. Is this a bug or am I missing something?

    Thanks!

    - Alar

    Edit: I did read the Wiki on creating the search plugin! :)



    edited by: alarconcepts, Jun 14, 2007 - 07:05 PM

    --
    Photography | PHP | Other
  • Posted: 15.06.2007, 14:54
     
    alarconcepts
    rank:
    Professional Professional
    registered:
     April 2004
    Status:
    offline
    last visit:
    21.01.08
    Posts:
    2723
    I did a full reinstallation from the latest SVN snapshot and I now have that 'missing' table intact. I don't know what happened to the original one...

    icon_rolleyes

    Thanks all the same,

    :)



    edited by: alarconcepts, Jun 15, 2007 - 04:55 AM

    --
    Photography | PHP | Other

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula