Forums / Cotonti / Bugs / Reports / Search bugged?

foxhound
#1 2011-09-06 07:34

Not sure where this belongs but the search on this website is bugged, not sure whats going on but it looks very bugged..

If you select to search pages only and the results have pagination if you navigate to the next page the search will reset and list search results of all, instead of the previously selected pages only.

If you go to the [url=http://www.cotonti.com/find]search[/url] and (for example) search for "plugins", if you than click on pages it finds nothing (the search box is even emptied), type "plugin" again and than click the main search button and you will get an error at top of the page: [code]Warning: urlencode() expects parameter 1 to be string, array given in /htdocs/plugins/urleditor/inc/urleditor.functions.php on line 217

Warning: urlencode() expects parameter 1 to be string, array given in /htdocs/plugins/urleditor/inc/urleditor.functions.php on line 217

Warning: urlencode() expects parameter 1 to be string, array given in /htdocs/plugins/urleditor/inc/urleditor.functions.php on line 217

Warning: urlencode() expects parameter 1 to be string, array given in /htdocs/plugins/urleditor/inc/urleditor.functions.php on line 217[/code]

 

Additionally I think there is a bug in the skin?
http://www.imagebanana.com/view/vje7zbit/arma2OA2011090601411100.png

Pagination at the bottom is pushed into the editor.

 

[edit]

I need to learn this new editor it seems.

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
esclkm
#2 2011-09-06 18:30

search plugin or find plugin??? (on this site)

 

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
foxhound
#3 2011-09-06 23:10

The search on this site:
http://www.cotonti.com/find

 

Just for information. Its happening on 2 different locations (both work and home) and in both IE and FF. Just type "plugins" in the search box and press "pages". It will return no result. Now, the search field is empty, type in "plugins" in the search field again and press the search button, now the previously posted error will come up at the header.

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
GHengeveld
#4 2011-09-07 22:10

Thanks for the report, I'll look into it. There's some other issues with the find module that need to be resolved.

To clarify: The search function on this site is different from the search plugin that comes with Cotonti by default. We use a module named 'find'. This module has an entirely different approad to searching within the site, as it indexes keywords on pages and forum posts and searches the index, rather than searching within pages fulltext. This is far more efficient, but is technically quite complex.

I intend to release the module some day, but issues like this need to be resolved first.

Added 1 month later:

I've released the module now, so you can have a look at the code yourself and improve upon it.

This post was edited by GHengeveld (2011-10-18 11:00, 12 years ago)