Topic: Search module table problems... missing/incorrect table?
alarconcepts
avatar
Professional
Professional
Posts: 2723

Posted:
15.Jun 2007 - 05:00

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
alarconcepts
avatar
Professional
Professional
Posts: 2723

Posted:
15.Jun 2007 - 14:54

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