Page 1 of 1

CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Wed Apr 11, 2007 12:30 pm
by morhun
Hallo,
Jedes mal wenn ich eine "Message" in "None(HTML Message)" schreiben möchte bekomme ich den Fehler "Form Error" kann jemand mir helfen? Mit "None(Text Message)" geht es aber dann in der Email sieht nicht schön aus.

2. Fehler: Unsubscribe und User Prefences funktionieren in der Emaillink nicht. ICh bekomme einen Fehler "Ein Parameter fehlt..."

Kann jemand bitte mir helfen? Ich brauch dieses Modul für einen Verein... Danke im Voraus...

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Mon Apr 16, 2007 6:55 pm
by slinux
Ich habe das selbe Problem.

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Mon Apr 16, 2007 6:56 pm
by calguy1000
Try this:

Code: Select all

Index: NMS.module.php
===================================================================
--- NMS.module.php      (revision 139)
+++ NMS.module.php      (revision 140)
 -1249,11 +1249,6 @@
            $this->smarty->assign('message',$this->Lang('error_needmessagetext'));
            $error = true;
          }
-       else if( $templateid == -1 )
-         {
-           $this->smarty->assign('message',$this->Lang('error_formerror'));
-           $error = true;
-         }
        else if( $templateid > 0 && (! $pageid ) )
          {
            $this->smarty->assign('message',$this->Lang('error_formerror'));

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Mon Jul 02, 2007 9:42 am
by asim
Calguy,

Apologies in advance if this seems like a question which should be pretty self-explanatory but I'm having the same error as the folks above, however I'm not entirely sure where I should put your code suggestion, does it need to replace currently existing code and exactly where should I be doing the modification? Is it in the file "NMS.module.php" or?

Thank you.

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Fri Nov 09, 2007 12:16 am
by herbshirt
I too am not sure where to make the correction. I'm getting the same error.

I have had a look at this script: NMS.module.php and it's HUGE. I can't find where to insert the new code (or overwrite old??)

Herb.

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error

Posted: Fri Nov 09, 2007 3:55 pm
by calguy1000
The newer version of NMS (1.0.2) has this fix already.

Re: CMSMS 1.0.5 und NMS 1.0.1 Form Error [solved by Calguy]

Posted: Fri Nov 09, 2007 7:16 pm
by herbshirt
Thanks Calguy,

I was using the Module Manager where that version doesn't appear.

Herb.