For some reason the uid is empty. If you can figure out why the 'uid = ' doesn't include a number then you have your problem fixed.
If you just changed register_globals, did you restart Apache?

--Tony

[EMAIL PROTECTED] wrote:

gl_users needs quotes around it like this...
SELECT * FROM 'gl_users' WHERE 1

*/[EMAIL PROTECTED]/* wrote:

    Hi folks

    I recently installed geeklog and am having some troubles. The site
    runs ok.
    I add users and what not, but I can't add/remove any stories or
    comments.
    Whenever I try to post I get this error message:

    Wed Jul 2 08:44:54 2003 - 1064: You have an error in your SQL
    syntax near
    '' at line 1 SQL in question: SELECT username FROM gl_users WHERE
    uid =

    I am running Geeklog 1.3.7sr2. I figure it's probably something
    stupid I
    overlooked. I checked the FAQ and both register_globals and
    file_uploads
    are set to on. Any suggestions?

    Thanks,

    John

    _______________________________________________
    geeklog-users mailing list
    [EMAIL PROTECTED]
    http://lists.geeklog.net/listinfo/geeklog-users

------------------------------------------------------------------------
Do you Yahoo!?
SBC Yahoo! DSL <http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/> - Now only $29.95 per month!


Reply via email to