-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error from mysql.inc.php #848
Comments
ChatGPT offers two solutions for this
or using mysqli_real_escape_string instead of mysql_escape_string
For my test I used the second solution and it works for me. |
@bauigel The error you quote does not fit to the proposed fixes. The error message speaks about a reference, but the two patches add null treatment handling to Ignoring the error message mismatch: It might be useful to let Could you have a second look at the error message - is it really gone, and really with this change? |
Ah, sorry my fault. The "solution" is for another problem I had. The error on line 101 should be fixed by removing the & from line 61:
|
Also adjusts the code that calls the function with a prepended &, as that would have caused a new warning. Fixes #848
Interestingly, I did not get the quoted error message, but a similar one when removing the & - in the functions that called the |
* Remove & reference declaration from db_query to avoid warning Also adjusts the code that calls the function with a prepended &, as that would have caused a new warning. Fixes #848 * Fix reference return warning for getFile Is also not returning a sharable variable * document change
With current git-master I get an error from mysql.
The text was updated successfully, but these errors were encountered: