Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
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 :
Text 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

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Maybe the problem is the ++ in the id.

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
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