errors after entry-saving

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

errors after entry-saving

Post by stm999999999 »

s9y 1.2-alpha1 und PHP 4.4.4

Until some days I have following errors after clicking "save":

Code: Select all

Error: 
SELECT max(v.version) AS maxVer,
                           v.id,
                           a.realname,
                           v.version_date
                      FROM serendipity_stm_versioning AS v
           LEFT OUTER JOIN serendipity_stm_authors AS a
                        ON a.authorid = v.version_author
                     WHERE entry_id = 113
                  GROUP BY v.entry_id
/ MySQL server has gone away. Postgresql is driving me nuts.

Warning: Wrong parameter count for min() in /home/.../htdocs/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 232

Warning: Wrong parameter count for min() in /home/.../htdocs/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 233
Sitemap Update an Google gemeldet.
Warning: Invalid argument supplied for foreach() in /home/.../htdocs/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php on line 564
any idea?
Ciao, Stephan
xzilla
Regular
Posts: 10
Joined: Wed Aug 16, 2006 5:05 pm
Contact:

re: Post subject: errors after entry-saving

Post by xzilla »

The problem is that the above is using non-standard sql (or at least it looks invalid, not sure without seeing the table definitions). Try adding the additional columns you are selecting into your group by clause... something like:

SELECT max(v.version) AS maxVer,
v.id,
a.realname,
v.version_date
FROM serendipity_stm_versioning AS v
LEFT OUTER JOIN serendipity_stm_authors AS a
ON a.authorid = v.version_author
WHERE entry_id = 113
GROUP BY v.id, a.realname, v.version_date
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

hm, I tried to execute this sql-code directly in phpmyadmin. It worked well.

could it be a problem with the connection to the mysql-server?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I believe it's a server issue:

"MySQL server has gone away. Postgresql is driving me nuts."

This message does not come from s9y :)

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/
Post Reply