Page 1 of 1

[SOLVED] error: Call to a member function GetHelp().......

Posted: Mon Oct 29, 2012 4:01 pm
by burlington
Running CMSMS 1.10.3 "Hyacinthe". New installation.

I get the following message in the Modules listing:
<quote>
Fatal error: Call to a member function GetHelp() on a non-object in /home/***/public_html/admin/listmodules.php on line 514
</quote>

The modules themselves work OK, apart from GuestbookBook, but I am wondering why I am getting this message. Also, not all the modules installed are listed, BUT they are all shown in the drop down menu.

Line 514 (starting with if ($modinstance...) and below reads:
<quote>
//Is there help?
if ($modinstance->GetHelp() != '')
{
$namecol = "<a href=\"{$thisurl}&action=showmodulehelp&module=".$key."\">".$key."</a>";
}

// check these modules permissions to see if we can uninstall this thing
$permsok = is_directory_writable( $config['root_path'].DIRECTORY_SEPARATOR.
'modules'.DIRECTORY_SEPARATOR.$key );
$maxverok = version_compare($modinstance->MaximumCMSVersion(), $CMS_VERSION);
$maxverok = ($maxverok >= 0 )?1:0;
</quote>

Can anyone help please?

Thanks

Martin

Re: Fatal error: Call to a member function GetHelp().......

Posted: Mon Oct 29, 2012 4:43 pm
by calguy1000
we really can't help till you upgrade to 1.11.2.1

Re: Fatal error: Call to a member function GetHelp().......

Posted: Mon Oct 29, 2012 5:56 pm
by burlington
Hello Calguy.

This is a pity. I am sorry that the 'knowledge' about 1.10.xx seems to longer be available to users of this version.

The reason why my site in question has been built around 1.10.xx is because some modules, which I rely on, have been said to be problematic with 1.11.xx.

Now, if all these problems have all been sorted out, then I will happily upgrade.

Regards and many thanks

Martin

Re: Fatal error: Call to a member function GetHelp().......

Posted: Tue Oct 30, 2012 9:46 am
by burlington
I really would appreciate some further help with this question.

There must be a reason for the error message and also for 'Modules' not showing all the installed modules.

Martin

Re: Fatal error: Call to a member function GetHelp().......

Posted: Tue Oct 30, 2012 10:32 am
by uniqu3
One of the modules is breaking it so find out which one, did you upgrade any recently.

But as Calguy suggested, bets to keep your version up to date, if modules aren't compatible, try contacting developers of modules or find someone who can assist you on making those module compatible again, i bet sponsoring a module developer would motivate them for faster compatibility release. ;)

Re: Fatal error: Call to a member function GetHelp().......

Posted: Tue Oct 30, 2012 11:05 am
by burlington
Yes I did! Formbuilder, which is now version 0.7.3. Compatible with CMSMS 1.11.xx

I will try reverting back and see what happens.

I agree that I will have to upgrade this site to 1.11.xx but for the moment, assuming this works, I will stick with it and then do an upgrade when there is no pressure to do so.

I will let you know if it works.

Martin

Re: Fatal error: Call to a member function GetHelp().......

Posted: Tue Oct 30, 2012 11:14 am
by burlington
No, sorry but it does not work! Pity really.

Thank you anyway.

Martin

Re: [SOLVED] error: Call to a member function GetHelp().....

Posted: Fri Nov 02, 2012 8:52 am
by burlington
Solved- sort of.

I upgraded to the latest CMS version and it was quite a hairy trip. Twice the upgrade stalled (this has been mentioned before in this Forum) and though I changed the name of the 'News' module recommended by someone) the upgrade still stalled.
I then did a clean complete reinstall apart from the table structure and the content, and this went through OK. Or seemed to.

I then tried to log in to the admin panel and got a message 'Please upgrade', which I did- the process looked like a normal upgrade process. Tried to log in again to the admin panel and, again, I got this 'Please upgrade' message. FINALLY, on the third attempt, I got in to the admin panel and the system seems to work OK apart, now from a (Smarty?) problem with the the Gallery module v .1.6 mentioned in my posting at http://forum.cmsmadesimple.org/viewtopi ... =7&t=63793.

Phew!!

Thanks for all you advice folks.

Martin