Hi,I have tried to post via Gnome-Blog( XML RPC ) but after posting i got this error
Warning: sqlite_query() [function.sqlite-query]: columns host, day, entry_id are not unique in /home/gnudownload/people/pedram/blog/include/db/sqlite.inc.php on line 229
i removed my XML-RPC post but nothing happen..
Whats wrong ?
XML-RPC and SQLite
I'm a Linux user, too. I'd love to see this fixed, even though I don't use XML-RPC myself.
I want to clarify the problem: you tried to post via XML-RPC using Gnome-Blog; it submitted the entry without errors; when you visited your blog, you got the indicated error; when you removed the entry in question, the error didn't go away.
It looks like SQLite isn't autoincrementing the entry IDs. Is this your second post? Can you examine the database directly and verify that there are multiple entries with the same unique_id in the serendipity_entries table?
I want to clarify the problem: you tried to post via XML-RPC using Gnome-Blog; it submitted the entry without errors; when you visited your blog, you got the indicated error; when you removed the entry in question, the error didn't go away.
It looks like SQLite isn't autoincrementing the entry IDs. Is this your second post? Can you examine the database directly and verify that there are multiple entries with the same unique_id in the serendipity_entries table?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, the error output rather seems to me as if it stems from the Referrer/Statistics plugin?
Which event/sidebar plugins do you have installed?
Judebert: Autoincrementing of the ID should actually work properly in SQLite, I believe.
Regards,
Garvin
Hm, the error output rather seems to me as if it stems from the Referrer/Statistics plugin?
Which event/sidebar plugins do you have installed?
Judebert: Autoincrementing of the ID should actually work properly in SQLite, I believe.
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/
# 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/
How in the world can you tell? I need to learn your diagnostic methods!garvinhicking wrote:Hm, the error output rather seems to me as if it stems from the Referrer/Statistics plugin?
I would hope so! I was just postulating based on the "{fields} are not unique" message, which led me to believe something was wrong with this particular installation, not every SQLite database.garvinhicking wrote:Judebert: Autoincrementing of the ID should actually work properly in SQLite, I believe.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Regards,
Garvin
It's simply the "columns host, day, entry_id are not unique" error. I thought about where a "day" column exists, and this only is in the serendipity_referrers DB table, so it must be related to that table/plugin...How in the world can you tell? I need to learn your diagnostic methods!
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/
# 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/
Sidebar:Calendar,search,archive,category,rss,license,Powered bygarvinhicking wrote:Hi!
Hm, the error output rather seems to me as if it stems from the Referrer/Statistics plugin?
Which event/sidebar plugins do you have installed?
Judebert: Autoincrementing of the ID should actually work properly in SQLite, I believe.
Regards,
Garvin
Event Plugin: Markup: Serendipity , Markup: Emoticate , Markup: NL2BR , Browser Compatibility , Spam Protector , Creative Commons License
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi carp!
Can you check your s9y configuration and see if "Track Referrers" is enabled? Please disable it, if it's enabled, to test if that changes your problem.
Regards,
Garvin
Can you check your s9y configuration and see if "Track Referrers" is enabled? Please disable it, if it's enabled, to test if that changes your problem.
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/
# 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/