I’ve uploaded pictures to this gallery before...and other galleries work. But lately every time I try to upload pictures to this gallery I get a Modx parse error (see screenshot). Any ideas? The directory is chmod 777.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Still not working. Just to confirm, all the other galleries on the site still work fine, just not that one. I’ve tried ftping and resynching but still parse error.
So I duplicated the page and it the new gallery worked fine. Guess this is my workaround.
Edit: Spoke too soon. That page also has problems. It was able to upload 2 pictures before resorting to the parse error. FTP and resynch didn’t work at all.
OK, I’m officially stupid.
The problem was that the files didn’t have any extensions, but since I was in Windows I never noticed. Uh I renamed them all to .jpg and it worked fine.
Oh.. I guess I have to add a check for that too.. thanks for the heads up
"He can have a lollipop any time he wants to. That's what it means to be a programmer."