Page 1 of 1

Newsletter Module - Strange behavior

Posted: Sat Jul 29, 2006 9:33 pm
by RomanB
Hello,

I upgraded my CMSMS Site to Version 0.13 and installed the Newsletter Module 1.0-Beta3.

If I insert {cms_module module='NMS'} then instead of the subscribe form my page look like:

smarty->assign('prompt_email',$this->Lang('emailaddress')); $this->smarty->assign('error',$params['error']); $this->smarty->assign('submitbtn', $this->CreateInputSubmit($id, 'submit', $this->Lang('submit'))); $template = 'nms_subscribeform'; $mode = 'subscribe'; if(isset($params['mode']) && $params['mode'] != '') { $mode = $params['mode']; } switch( $......

What's going wrong???

Does somebody know why Code is printed instead of the subscribe form??

thanks for your help

Roman

Re: Newsletter Module - Strange behavior

Posted: Sun Jul 30, 2006 1:38 am
by calguy1000
roman I'll try to take a look at that this weekend, it's probably a simple editor mistake in action.default.php

I'd look for that code in there and see if you can fix an obvious little error, like no closed quote or something.

Re: Newsletter Module - Strange behavior

Posted: Sun Jul 30, 2006 9:58 am
by RomanB
Hello,

I checked action.default.php and there is no error - can not find any editor mistakeĀ  :)

I checked the server logs and find some IIS Worker Process Crashes and I also checked my php.ini because I thought
that the mishandling of code processing has something to do with IIS or PHP.

So I troublehoot this w3wp.exe crashes (I reconfigured my Application Pool) and changed one line in my php.ini (short_open_tag = On)

After this everything is working fine.
;D

have a nice weekend
Roman