Topic on Project:Support desk

DBQueryError when I try to search for anything on test Wiki

8
DK PWCS (talkcontribs)

I have set up a test Wiki with several pages but every time I use the search function I get

Database Error

A database query error has occurred. This may indicate a bug in the software. [ff557850846b7910a1eed4c3] 2016-12-08 00:50:41: Fatal exception of type "DBQueryError"

What have I done wrong?

Jackmcbarn (talkcontribs)

More information is needed to determine the problem. Please follow the instructions at Manual:How to debug to get this information.

DK PWCS (talkcontribs)

Thanks.

I've added this to index.php and LocalSettings.php but get nothing extra: error_reporting( -1 ); ini_set( 'display_startup_errors', 1 ); ini_set( 'display_errors', 1 );

DK PWCS (talkcontribs)

Thanks.

I've added this to index.php and LocalSettings.php but get nothing extra: error_reporting( -1 ); ini_set( 'display_startup_errors', 1 ); ini_set( 'display_errors', 1 );

Jackmcbarn (talkcontribs)

That's only the beginning. Do the rest of what the page says.

71.9.45.186 (talkcontribs)

Parse error: syntax error, unexpected '.168' (T_DNUMBER) in C:\xampp\htdocs\wiki\LocalSettings.php on line 70

Jackmcbarn (talkcontribs)

You made a typo in your LocalSettings.php file. If you can't find it yourself, post the file somewhere (removing sensitive stuff first) and I'll point it out.

DK PWCS (talkcontribs)

Thanks Jack. The previous post was not from me. Someone replied in the wrong post.

I managed to fix this issue by upgrading MYSQL...I am however now having an issue with getting the Search function to find text included in the pages rather than just the page names.

Any ideas?