hi
after migration tried to login to admin account but it showing this error in logs
[Fri Jun 7 08:12:20 2024][3529542] [Fri Jun 7 08:12:20 2024] index.cgi: DBD::mysql::db selectrow_arrayref failed: FUNCTION database.name.DECODE does not exist at Modules/DataBase.pm line 87.
[Fri Jun 7 08:12:20 2024][3529542] [Fri Jun 7 08:12:20 2024] index.cgi: Can't execute select at Plugins/Auth/xfspro.pm:23:
[Fri Jun 7 08:12:20 2024] index.cgi: FUNCTION database.name.DECODE does not exist at Modules/DataBase.pm line 89.
any suggestions appreciated
thanks in advance
XFileSharing Pro - problem after migration
Re: problem after migration
Verify that the DECODE function exists in your MySQL database schema. Sometimes, after migration or updates, database functions might not migrate correctly or might need to be recreated.
Ensure that your application is correctly configured to connect to the MySQL database and that the database credentials (username, password, database name) are correctly set in your application's configuration files.
Ensure that your application is correctly configured to connect to the MySQL database and that the database credentials (username, password, database name) are correctly set in your application's configuration files.
Re: problem after migration
It's a migration from mariadb to mysql8 and mysql doesn't have decode function, any suggestion to make it work ?
sib-fan87 wrote: ↑Jul 06, 2024 2:15 am Verify that the DECODE function exists in your MySQL database schema. Sometimes, after migration or updates, database functions might not migrate correctly or might need to be recreated.
Ensure that your application is correctly configured to connect to the MySQL database and that the database credentials (username, password, database name) are correctly set in your application's configuration files.
Re: problem after migration
Since MySQL 8 doesn't have a built-in DECODE function (which is present in Oracle databases and MariaDB), you can approach the issue by replacing it with a similar function or creating a custom function that mimics DECODE.
Seems like a difficult problem which might require you to modify the sql.
You should contact sibsoft so you don't break your site
Seems like a difficult problem which might require you to modify the sql.
You should contact sibsoft so you don't break your site