No, there should not be a semi-colon after attach. However, I cannot find a query like that at all in the default vb files. You may want to find that query and disable that modification and perhaps you wont' get those errors anymore. Very often, when I see that error on my site, it's a timeout things. However, if you are on shared hosting, I would guess they won't be willing to up that value.