Welcome to Geeklog, Anonymous Thursday, February 29 2024 @ 08:28 pm EST

Geeklog Forums

1064: error in your SQL syntax near \'\' at line 1


I was getting this message when trying to post links and found that it would only happen when I DID NOT put a description for the link. Of course I could put just a space in but why do that when I can code it in Smile I cheated of course - the best way to fix it is to check for a null description but I\'m lazy. I fixed it on my system by modifying link.php so that it adds a SPACE to the description. // clean \'em up $description = addslashes (COM_checkHTML (COM_checkWords ($description))); $description .= \" \"; Add the last line after the first line and save/upload your script change.

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
This is already fixed in 1.3.8rc1, btw.

bye, Dirk

All times are EST. The time is now 08:28 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content