Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[BUG] Sources/ManageAttachments.php:568 crashes MySQL-Server

Started by DracoBlue, April 06, 2007, 06:19:49 AM

Previous topic - Next topic



when trying to update (creation works well) a post, which has attachements it often (nearly) happens that my mysql 5.0.18 crashes.

I looked into the statement and saw that it shouldn't be (around line 568):
( a.attachmentType =3 AND thumb_parent.ID_THUMB = a.ID_ATTACH )
mysql 5 doesn't crash when using this instead:
( thumb_parent.ID_THUMB = a.ID_ATTACH AND a.attachmentType =3 )

Basicly this seems to be an mysql 5.0 issue, but this quickfix helped me to keep my site working with smf attachements.

Kind regards,
  Jan (DracoBlue) [nonactive] • [nonactive]  • [nonactive]  • [nonactive]  • [nonactive] • [nonactive] • [nonactive]


I tested this on my MySQL installation (5.0.32), and could not replicate it. Have you tried it with the latest MySQL version?

Have you edited the MySQL configuration in any way? If so, are you able to attach the my.cnf file here?
Also, is this on a Linux PC, or a Windows PC?
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to for SMFshop support, do NOT email or PM me!


Its a linux machine, suse 10.0. Will try to update the server, and see if that helps. [nonactive] • [nonactive]  • [nonactive]  • [nonactive]  • [nonactive] • [nonactive] • [nonactive]