[Solved] NMS: FetchRow() on a non-object

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rcp

[Solved] NMS: FetchRow() on a non-object

Post by rcp »

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:

Code: Select all

$q = "SELECT content_id,content_name
to

Code: Select all

$q = "SELECT content_id,content_name_en
Last edited by rcp on Thu Oct 18, 2007 10:05 am, edited 1 time in total.
Locked

Return to “CMSMS Core”