“Form error” with Newsletter Made Simple Topic is solved

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

“Form error” with Newsletter Made Simple

Post by 10010110 »

I’m getting increasingly frustrated with this. I’m trying to create a newsletter message but when submitting, a red warning with the unspecific text “Form error” pops up from the top.

This is what PHP has to say:
Notice: Deprecated usage of CGExtensions::CreateTemplateDropdown in /Users/Stephan/Sites/LMR Sachsen-Anhalt/site/modules/CGExtensions/CGExtensions.module.php on line 1345

Notice: Deprecated usage of CGExtensions::ListTemplatesWithPrefix in /Users/Stephan/Sites/LMR Sachsen-Anhalt/site/modules/CGExtensions/CGExtensions.module.php on line 1327
CMS version 2.2.15
PHP 7.3.29
CGExtensions 1.65.2
CGSimpleSmarty 2.2.1
NMS 2.13.3

Any idea what’s happening here?
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

Re: “Form error” with Newsletter Made Simple

Post by 10010110 »

This is very weird. In an existing installation (CMS 2.2.16), when creating a new message, I’m getting this screen:
compose1.jpg
but in a new installation I’m getting this:
compose2.png
Modules and dependencies are the same versions in both. What the hell? Is there something corrupted somewhere? I’m not getting any errors.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: “Form error” with Newsletter Made Simple

Post by DIGI3 »

I just did a test install and the latter is how it looks for me in 2.2.16/php 7.4. Is there anything in the javascript console for the existing (top image) one?

I'm guessing a module upgrade failed somewhere, you could try temporarily renaming the module folder then unzipping a new copy of it in there, that should at least reset the templates without messing with anything in the db. If the problem is in the db then it's going to be more difficult depending upon the complexity of your installation.
Not getting the answer you need? CMSMS support options
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

Re: “Form error” with Newsletter Made Simple

Post by 10010110 »

I’ve replaced NMS, CGExtensions and CGSimpleSmarty files manually now and the problem persists. It seems like this is something in the database that hasn’t been updated properly at some point. The NMS tables of the old and the new installation look identical, so it’s hard to guess where this comes from. :(
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

Re: “Form error” with Newsletter Made Simple

Post by 10010110 »

OK, this is really stupid but the reason for the difference was an old custom template modification in /assets/module_custom ::)
Man, I’ve wasted so much time on this. I guess a reminder when upgrading a module to watch out for old customizations would be nice.
Post Reply

Return to “Modules/Add-Ons”