Category and a error

Found a bug? Tell us!!
Post Reply
Guest

Category and a error

Post by Guest »

I've just installed Serendipity (fresh) and when I choose Dutch as language an go to the categories I see (in my case) two categories. When I choose the edit icon on a catagory I get he next error:

Warning: sprintf(): Too few arguments in /srv/www/htdocs/mambo-
t1/blog/include/admin/category.inc.php on line 147

If I choose English as language then I do not get this error.

Does somebody has any ideas?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Category and a error

Post by garvinhicking »

Thanks for detecting this!

It was in fact caused by a duplicate constant name in your file lang/serendipity_lang_nl.inc.php.

There you can spot two entries of "EDIT_THIS_CAT", but you only need the second occurence with a single "%s" inside. The error is not important, just the category name you are editing is not printed...

I fixed this in our sourcecode!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rdekker
Posts: 1
Joined: Sun Aug 07, 2005 10:44 pm

Category error

Post by rdekker »

Thanks!
Post Reply