Page 1 of 1
					
				[SORTED] Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2
				Posted: Tue Jun 30, 2009 10:15 am
				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
			 
			
					
				Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"
				Posted: Tue Jun 30, 2009 10:32 am
				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
 
			 
			
					
				Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"
				Posted: Tue Jun 30, 2009 10:33 am
				by pgingao
				Hi Alby,
sorry but what patch?
Thank you
Paulo
			 
			
					
				Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"
				Posted: Tue Jun 30, 2009 10:38 am
				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
 
			 
			
					
				Re: Error on NMS (2.2.2) running on a CMS Made Simple MLE version 1.5.2 "Caguas"
				Posted: Tue Jun 30, 2009 10:47 am
				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