Welcome Guest, Not a member yet? Register   Sign In
Variable 'sql_mode' can't be set to the value of

(This post was last modified: 09-05-2019, 11:34 AM by ciadmin.)

A Database Error Occurred
Error Number: 1231
Variable 'sql_mode' can't be set to the value of 'REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode'
SELECT * FROM `blog`
Filename: models/Blog_model.php
Line Number: 70

Hi, I have just recently uploaded my website to a server. Check it out its for a friend *REDACTED*. And now when I try and log in I keep getting this error.

If anyone can help, and also if anyone is able to test my website and find vulnerabilities, its all educational for me.

You will need to post your code a couple of lines before and after that error message. Everything that gets passed into it, if it's a function etc.

And what is on line 70 of your blog model?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB