Git Product home page Git Product logo

Comments (7)

sriccio avatar sriccio commented on July 19, 2024

Hello,

Some news about this one.
After a lot of trial and error, I found out that the fix was to manually add

mysqli_report(MYSQLI_REPORT_OFF);

In the app config.php after the upgrade.

from app.

sriccio avatar sriccio commented on July 19, 2024

Unfortunately, after fixing the issue manually, when saving the config from the app, the line goes away.

I see this commit but it looks like it's not available in 2.8.6.1 which is latest release.

c11d11c

from app.

PVTGoesen avatar PVTGoesen commented on July 19, 2024

Hello,
is this the only error in the sql.log?

I try to use PHP 8.1 and MySQL 8.0
I get this error too, but the login page loads. When I login then more errors show up, like:

sql.ERROR: [User=  ()] MySql Query: SELECT * FROM `user_email_preferences` WHERE `user_id` = '24'; [] []

I've checked the sql-server log and the commands are been executet:

Connect	[email protected] on booked using TCP/IP
Init DB	booked
Query	SET NAMES utf8
Query	SET SESSION sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
Query	SELECT `name`, `value` FROM `user_preferences` WHERE `user_id` = '24'
Quit

So even if the SQL-server sends a valid query an error appears in the sql.log. Can you confirm this behaviour?

from app.

sriccio avatar sriccio commented on July 19, 2024

Hello, I fixed the issue by adding manually

mysqli_report(MYSQLI_REPORT_OFF); at the beginning of config.php

I also needed to patch this file with this change:

c11d11c

Otherwise as soon as you trigger a config change it will remove the previously added line in the config.php

Maybe this can help you too

from app.

PVTGoesen avatar PVTGoesen commented on July 19, 2024

OK I did both, but nothing changed. Which version of MySQL do you use?

from app.

sriccio avatar sriccio commented on July 19, 2024

Server version: 8.0.33-cll-lve MySQL Community Server - GPL

from app.

PVTGoesen avatar PVTGoesen commented on July 19, 2024

OK, thats the same I use.
Thanks for your help!

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.