I'm using Channel Form to post entries from the front end. It works fine locally, but on the development and production server it isn't working at times: Channel images, WYGWAM, Tagger, and Grid. All but WYGWAM look right (the WYGWAM field shows as a basic text box, not the WYWAMY look) but don't work. If you click on a suggested tag it does not get added, if you click an "add row" icon for a Grid it just takes you to the top of the page.
In console I see the following error whenever it breaks (not when it works):
[Error] SyntaxError: Unexpected token '<' (www.example.com, line 40)
Strange part is it is very inconsistent. It will work fine, then break. Then won't work on any browser (Mac, PC, Chrome/Safari), then will start working again.
I've set up a test account:
username: [email protected]
password: eecms
http://www.rcdevotee.com/contribute/model
Feel free to see if it works, doesn't work, and if you see any issues that can help figure it out when it isn't working.
The template does not have jQuery, the form includes it (include_jquery=="yes"). So no double jQuery issues in this case.
If I remove the form altogether I don't get the error I listed above. If I have just the form tags, but no fields it will give the error when it isn't working. So it has something to do with the Channel Form tag and not any of the fields it would seem.
Any help or ideas where to look for help much appreciated.