[RC1] Delete a search engine July 18, 2014, 09:25:15 am I tried to add Google as search engine. Okay, this didn't work (is there a manual how to do that?), but when I try to empty the three fields and save the changes, I get this error message:QuoteThe database value you're trying to insert does not exist: value
Re: [RC1] Delete a search engine Reply #1 – July 18, 2014, 09:41:43 am Can you please describe step-by-step what you did?What I tried is: add a new search engine using "test" as name and user agent saved modified the search engine emptied the fields name and user agent (the IP list was already empty)* savedIt saved without errors.Of course an empty search engine doesn't help, so this should be fixed (1.0.1 or 1.1).Then I selected the empty search engine with the checkbox next to it and removed the entry. No errors.... unless maybe it has been fixed in the meantime... dunno.Another small error is that while editing/adding, the menu entry highlighted is wrong (stats instead of spiders).
Re: [RC1] Delete a search engine Reply #2 – July 18, 2014, 09:56:57 am I don't have any checkboxes! Filled the three fields (name, URL, word-separator) and clicked "save"... Tried the search... Didn't work... Emptied the fields and clicked "save" again... Got the error message.
Re: [RC1] Delete a search engine Reply #3 – July 18, 2014, 10:28:32 am QuoteI don't have any checkboxes! Ah ... I (and emanuele) were looking in the wrong area (Admin -> Members -> Search Engines -> Spiders) QuoteOf course an empty search engine doesn't help, so this should be fixed (1.0.1 or 1.1).Yup ... I think its harmless for 1.0 but was able to do that as wellAnyway the error is in Admin -> Forum -> Search -> Settings ... I can reproduce your bug too I'm not familiar with that area and settings so I hope emanuele is I know it adds them to the quick search drop down, but don't know a thing past that.
Re: [RC1] Delete a search engine Reply #4 – July 18, 2014, 10:37:05 am Quote from: Spuds – July 18, 2014, 10:28:32 amI can reproduce your bug too Thank goodness!
Re: [RC1] Delete a search engine Reply #5 – July 18, 2014, 10:55:58 am AHA!That's the reason give a path to the page the problem occur is always better. Yeah, looks like one of my bugs. In ManageSearch.controller.php, change:Code: [Select] updateSettings(array( 'additional_search_engines' => !empty($new_engines) ? serialize($new_engines) : null ));to:Code: [Select] updateSettings(array( 'additional_search_engines' => !empty($new_engines) ? serialize($new_engines) : '' ));And here it is:https://github.com/emanuele45/Dialogo/commit/43d02eed5889f1e3fe52337e06474ad0a5bc9eebIn order to add google, you can use the following:name: Googleurl: Code: [Select]https://www.google.it/search?q=words separator: +
Re: [RC1] Delete a search engine Reply #6 – July 18, 2014, 10:57:39 am Quote from: emanuele – July 18, 2014, 10:55:58 amThat's the reason give a path to the page the problem occur is always better. Okay, next time. Quote from: emanuele – July 18, 2014, 10:55:58 amYeah, looks like one of my bugs. yourself!