• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable 'sql_mode' can't be set to the value of

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 )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.