[SORTED] Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am
Location: Cascais

[SORTED] Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2

Post by pgingao »

Hi all,

I'v just installed the last NMS (2.2.2) on a CMS Made Simple MLE version 1.5.2 "Caguas" runing on PHP 5.2.6 and I get the following error wen I go to Modules>NMS:

Fatal error: Call to a member function FetchRow() on a non-object in /home/becoach/public_html/2009/modules/NMS/function.utils.php on line 57

Thanks in advance

Paulo
Last edited by pgingao on Tue Jun 30, 2009 10:50 am, edited 1 time in total.
alby

Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"

Post by alby »

pgingao wrote: Fatal error: Call to a member function FetchRow() on a non-object in /home/becoach/public_html/2009/modules/NMS/function.utils.php on line 57
Have you apply patch?

Alby
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am
Location: Cascais

Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"

Post by pgingao »

Hi Alby,

sorry but what patch?

Thank you

Paulo
alby

Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"

Post by alby »

pgingao wrote: sorry but what patch?
Here, it's for 2.2
but you must substitute query (about) row #50:
................
  $mypages = array();
  $parms = array('content');
//Start MLE
global $mleblock;
  $q = "SELECT content_id,content_name{$mleblock}
                FROM ".cms_db_prefix()."content
               WHERE type = ?
                 AND active = 1";
//End MLE

  if( $templateid != '' )
    {
.........
Alby
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am
Location: Cascais

Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"

Post by pgingao »

Thanks a lot Alby, I've seen that topic but I didn't give it a try it because it was a bit old.

It's now running smooth with that patch and the change on the query.

Cheers

Paulo
Locked

Return to “[locked] CMSMS MLE fork”