Welcome to Geeklog Thursday, April 02 2020 @ 07:44 pm EDT

Geeklog Forums

[Fixed] Links plugin and link id


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
I created a new link with link id : notepad++
The link work fine but I can't edit it.

I get the message : An SQL error has occurred. Please see error.log for details.

The error is :
PHP Formatted Code
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL<br />server version for the right syntax to use near '' at line 1. <br />SQL in question: SELECT username FROM gl_users WHERE uid =  <br />

Before submitting a bug report I would like your opinion.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Maybe the problem is the ++ in the id. Question

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Special characters should have been filtered out from the link id. That's a bug and already fixed in 1.4.1b2.

The error message you quoted, however, has nothing to do with this. Note that it's about the gl_users table, not the gl_links table.

bye, Dirk
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Next time I will look twice to the bug reports...

Thank you.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 07:44 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