Hello again,
I discovered this link and found a very usefull way to report the SS errors:
https://docs.silverstripe.org/en/3.3/getting_started/installation/common_problems/
I quote: "If you can log-in to the CMS as an administrator, append ?isDev=1 to any URL to temporarily set your browsing session into "dev mode".
So I appended to the search page and I got:
[User Error] Uncaught SS_DatabaseException: Couldn't run query: SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch 0) The used table type doesn't support FULLTEXT indexes
GET /about-us/SearchForm?Search=own&action_results=L
Line 55 in /home/mysite/public_html/framework/model/connect/DBConnector.php
Source
46 if (!empty($sql)) {
47 $formatter = new SQLFormatter();
48 $formattedSQL = $formatter->formatPlain($sql);
49 $msg = "Couldn't run query:\n\n{$formattedSQL}\n\n{$msg}";
50 }
51
52 if($errorLevel === E_USER_ERROR) {
53 // Treating errors as exceptions better allows for responding to errors
54 // in code, such as credential checking during installation
55 throw new SS_DatabaseException($msg, 0, null, $sql, $parameters);
56 } else {
57 user_error($msg, $errorLevel);
58 }
59 }
60
61 /**
Trace
DBConnector->databaseError(The used table type doesn't support FULLTEXT indexes,256,SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0))
MySQLiConnector.php:124
MySQLiConnector->query(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0),256)
MySQLiConnector.php:212
MySQLiConnector->preparedQuery(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0),Array,256)
Database.php:134
SS_Database->{closure}(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0))
Database.php:178
SS_Database->benchmarkQuery(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0),Closure)
Database.php:136
SS_Database->preparedQuery(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0),Array,256)
DB.php:311
DB::prepared_query(SELECT DISTINCT count(*) FROM "SiteTree_Live" WHERE ( MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) + MATCH (Title, MenuTitle, Content, MetaDescription) AGAINST ('own*' IN BOOLEAN MODE) AND ShowInSearch <> 0),Array)
SQLExpression.php:121
SQLExpression->execute()
SQLSelect.php:554
SQLSelect->unlimitedRowCount()
MySQLDatabase.php:195
MySQLDatabase->searchEngine(Array,own*,0,10,"Relevance" DESC,,1)
SearchForm.php:152
SearchForm->getResults()
ContentControllerSearchExtension.php:44
ContentControllerSearchExtension->results(Array,SearchForm,SS_HTTPRequest)
call_user_func_array(Array,Array)
Object.php:711
Object->__call(results,Array)
Form.php:462
Page_Controller->results(Array,SearchForm,SS_HTTPRequest)
Form.php:462
Form->httpSubmission(SS_HTTPRequest)
RequestHandler.php:288
RequestHandler->handleAction(SS_HTTPRequest,httpSubmission)
RequestHandler.php:200
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:158
Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:172
ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
Director::direct(/about-us/SearchForm,DataModel)
main.php:184
Then Searching for: "The used table type doesn't support FULLTEXT indexes" I found this link:
http://stackoverflow.com/questions/20964269/1214-the-used-table-type-doesnt-support-fulltext-indexes
And it said:
Before MySQL 5.6 Full-Text Search is supported only with MyISAM Engine.
Therefore either
1.- change the engine for your table to MyISAM (at the end of the SQL instructions goes: ENGINE=MyISAM;)
2.- or upgrade to 5.6 and use InnoDB Full-Text Search.
I have MySQL 5.5.48 but in the SS requirements it said that it requires MySQL 5.0+
so I comply with the requirements, please confirm if this is a bug, because I am not qualified to touch internal SQL/PHP code of the CMS Module that it should work.
https://docs.silverstripe.org/en/3.3/getting_started/server_requirements/
Thank you and regards
joejac