[SOLVED] NMS doesn't send newsletter

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

[SOLVED] NMS doesn't send newsletter

Post by staartmees »

after upgrade from 1.9.4.3 to 1.10, NMS no longer sends newsletters.

debug shows following errors:
Warning: set_time_limit(): Cannot set time limit due to system policy in /customers/scheldeschorren.be/scheldeschorren.be/httpd.www/cms/modules/NMS/action.process_queue.php on line 142
Notice: Undefined variable: jobrow in /customers/scheldeschorren.be/scheldeschorren.be/httpd.www/cms/modules/NMS/action.process_queue.php on line 162


----------------------------------------------

Cms Version: 1.10

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.6
ModuleManager: 1.5
News: 2.12.2
nuSOAP: 1.0.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.4
CustomContent: 1.7.3
Play: 0.5.2
FormBuilder: 0.7.1
SVP: 0.1.4
FrontEndUsers: 1.16.2
CGExtensions: 1.27.1
Gallery: 1.4.4
CGCalendar: 1.8.3
DewPlayer: 0.2.1
CMSPrinting: 1.0
CMSSimplepie: 1.0
NMS: 2.3.2

Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 12000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.3.8
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: OFF (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 32M
max_execution_time: 50
output_buffering: Aan
safe_mode: OFF (False)
file_uploads: On (True)
post_max_size: 12M
upload_max_filesize: 12M
session_save_path: Geen controle omdat 'open_basedir' actief is
session_use_cookies: On (True)
xml_function: On (True)

Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a

----------------------------------------------
Last edited by staartmees on Sun Nov 06, 2011 6:07 am, edited 1 time in total.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: NMS doesn't send newsletter

Post by staartmees »

version 1.10.1 solved this problem
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: [SOLVED] NMS doesn't send newsletter

Post by applejack »

Hmm that's weird 1.10.1 didn't solve it for me.

PHP Fatal error: Call to a member function SetSmartyVars() on a non-object in /modules/NMS/NMS.module.php on line 664

$gCms->modules[$one_module]['object']->SetSmartyVars($id, $job_id, $message['messageid'], $destrow['email'], $smarty, 'send');

Is this line the same in your file?
I updated NMS using the XML how about you?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: [SOLVED] NMS doesn't send newsletter

Post by staartmees »

line 664 is the same
I uploaded NMS with the XML-file
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: [SOLVED] NMS doesn't send newsletter

Post by applejack »

And you can definitely process a job? Mine just stalls unlike before when it said it had finished but the number sent was 0

Maybe because of having a different php version as I am on 5.2.13.

Though to me according to the changes listed for v1.10 as below the line above is out of date but I am no hard core php coder.

"Removed the $gCms→modules array. use cms_utils::get_module() instead."
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: [SOLVED] NMS doesn't send newsletter

Post by staartmees »

I have no problems to process a job
I have PHP 5.3.8, 5.2.12 is the lowest possible version of PHP
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: [SOLVED] NMS doesn't send newsletter

Post by applejack »

Ok thanks I submitted a bug report.

Maybe I should try and upgrade my version of php. How do you find 5.3 generally an compatibility issues with the core / modules generally ?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: [SOLVED] NMS doesn't send newsletter

Post by staartmees »

sorry I'm not that familiar with php and so one to answer that question. 5.3.8 works fine for me
Post Reply

Return to “Modules/Add-Ons”