Phorum Database Error for temporary search table
Posted by SeriousMoonlight
|
Phorum Database Error for temporary search table September 19, 2018 03:36PM |
Registered: 7 years ago Posts: 2 |
Hi,
Phorum works greatly offline (thank you for the great software!) but on a shared webspace I only receive an error message after submitting a search. I did not find anything on this message in the forum as well as at the backtraced lines of code (I know some PHP but no MySQL). Could the provider not allow to create temporary tables, or what is causing the problem?
The error message (user names etc. cut); the error appears to be persistent:
"Phorum Database Error
Sorry, a Phorum database error occurred.
Please try again later!
Error:
Access denied for user 'usr...'@'192....%' to database '63...' (1044): CREATE TEMPORARY TABLE _search_ft_af49e60... ( KEY (message_id) ) ENGINE=HEAP SELECT message_id FROM _search WHERE MATCH (search_text) AGAINST ('+test' IN BOOLEAN MODE)
Backtrace:
Function phorum_database_error called at
{path to Phorum}/include/db/mysql/mysqli.php:212
----
Function phorum_db_interact called at
{path to Phorum}/include/db/mysql.php:1778
----
Function phorum_db_search called at
{path to Phorum}/search.php:236
----"
Any help would be appreciated. I am building the forum of a small non-profit organization.
Phorum works greatly offline (thank you for the great software!) but on a shared webspace I only receive an error message after submitting a search. I did not find anything on this message in the forum as well as at the backtraced lines of code (I know some PHP but no MySQL). Could the provider not allow to create temporary tables, or what is causing the problem?
The error message (user names etc. cut); the error appears to be persistent:
"Phorum Database Error
Sorry, a Phorum database error occurred.
Please try again later!
Error:
Access denied for user 'usr...'@'192....%' to database '63...' (1044): CREATE TEMPORARY TABLE _search_ft_af49e60... ( KEY (message_id) ) ENGINE=HEAP SELECT message_id FROM _search WHERE MATCH (search_text) AGAINST ('+test' IN BOOLEAN MODE)
Backtrace:
Function phorum_database_error called at
{path to Phorum}/include/db/mysql/mysqli.php:212
----
Function phorum_db_interact called at
{path to Phorum}/include/db/mysql.php:1778
----
Function phorum_db_search called at
{path to Phorum}/search.php:236
----"
Any help would be appreciated. I am building the forum of a small non-profit organization.
|
Re: Phorum Database Error for temporary search table September 19, 2018 03:50PM |
Admin Registered: 19 years ago Posts: 575 |
|
Re: Phorum Database Error for temporary search table September 19, 2018 05:58PM |
Registered: 7 years ago Posts: 2 |
Thank you! I assumed the temp table to be in the MySQL database (as accessible via phpMyAdmin) and cannot see a path to the temp directory in the error message. Unfortunately, changing the cache directory to ./cache did not solve the issue. It is writable for its owner and group. Making it temporarily writable for the world also did not solve the problem. So it is not an issue of the FTP owner is not the webserver owner. I have recent files in the temp directory all the time. Only the search tables cannot to be created.
|
Re: Phorum Database Error for temporary search table September 19, 2018 10:39PM |
Admin Registered: 19 years ago Posts: 575 |
Sorry, only registered users may post in this forum.