Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#996 Topics: syntax error in insert statement

v1.7.3
closed-works-for-me
5
2003-10-31
2003-10-31
andy stevko
No

Admin Topics
http://ubehebe/tiki/tiki-admin_topics.php
entered topic name,
left image filename blank <--this is the problem IMO,
clicked ADD.

got white screen error message:
Warning: MYSQL error: DB Error: syntax error in query:
insert into
tiki_topics(name,image_name,image_type,image_size,image_data,active,created)
values('Logging','','',,'','y',1067626005)
in /usr/local/apache_1.3.27/htdocs/tiki/lib/tikilib.php
on line 101

NOTE: when I filled in the image filename, the function
worked well.

using
This is Tiki v1.7.3 -Eta Carinae- (c)2002-2003 by the
Tiki community Fri 31 of Oct, 2003 [10:50]
on Redhat Linux, Apache 1.3.27, and mySQL.
client: Mozilla 1.5 on WinXP

Discussion

  • Dennis Heltzel
    Dennis Heltzel
    2003-10-31

    Logged In: YES
    user_id=714633

    This works fine in the CVS version. You might try upgrading
    to 1.8RC1 if you are a risk taker. If you do, and it's still
    breaks for you, please post mroe details to the dev list or
    the irc channel and I'll look into it.

    Dennis (dheltzel)

     
  • Dennis Heltzel
    Dennis Heltzel
    2003-10-31

    • assigned_to: nobody --> dheltzel
    • status: open --> closed-works-for-me