[Solved] NMS: FetchRow() on a non-object
Posted: Wed Oct 17, 2007 7:13 pm
Hi!
I've just installed the CMSMS 1.1.4.1 and Newsletter Made Simple 1.02.
The module run just fine and users are able to subscribe, confim subscription and unsubscribe.
The problem is that when I click the "User Settings" tab, I get the error:
Fatal error: Call to a member function FetchRow() on a non-object in .../public_html/modules/NMS/NMS.module.php on line 1613
Anyone knows why this happens?
Also, does anyone know a trick to just print out "you're confirmed" or "you've unsubscribe" messages without loading all the usual cmsms baggage (css, images, etc).
Thanks in advance!
--
Update: I found the problem. NMS doesn't like MLE. I had to change line 1603 of NMS.module.php from:
to
I've just installed the CMSMS 1.1.4.1 and Newsletter Made Simple 1.02.
The module run just fine and users are able to subscribe, confim subscription and unsubscribe.
The problem is that when I click the "User Settings" tab, I get the error:
Fatal error: Call to a member function FetchRow() on a non-object in .../public_html/modules/NMS/NMS.module.php on line 1613
Anyone knows why this happens?
Also, does anyone know a trick to just print out "you're confirmed" or "you've unsubscribe" messages without loading all the usual cmsms baggage (css, images, etc).
Thanks in advance!
--
Update: I found the problem. NMS doesn't like MLE. I had to change line 1603 of NMS.module.php from:
Code: Select all
$q = "SELECT content_id,content_nameCode: Select all
$q = "SELECT content_id,content_name_en