CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Kalender
https://forum.cmsmadesimple.org/viewtopic.php?f=13&t=4996
Page 1 of 1

Author:  Blackdrive [ Sat Jun 03, 2006 8:03 pm ]
Post subject:  Kalender

hoj,
ik heb een probleem met de kalendermodule
de module is geïnstalleerd enzo, maar ik kan ze niet aanpassen. Als ik naar modules ga, kan ik in het menu bovenaan bij extensions wel Kalender kiezen, maar dan krijg ik deze error:
"Fatal error: Call to a member function on a non-object in /home/lovele/public_html/blackdrive/admin/moduleinterface.php on line 89"

ik geloof dat het hier is dat ik de kalender kan aanpassen, dus dat vormt wel degelijk een probleem
ik hoop dat iemand me kan helpen

ik gebruik trouwens, cmsms 0.13 en Kalender 1.07

alvast bedankt

Author:  Piratos [ Sun Jun 04, 2006 8:02 am ]
Post subject:  Re: Kalender

Kalender has the old module structure.

Line 89  from moduleinterface.php is

echo $themeObject->ShowHeader($gCms->modules[$module]['object']->GetFriendlyName()).'';

so you need the function GetFriendlyName()

Put this in the code:

function GetFriendlyName()
{
return 'Kalender';
}


You should change all _execute  in the module source to Execute, because _execute is the fast version of original Adodb function Execute but in 0.13 with Adodb Lite this _execute does not exists.

PS :

i can understand dutch not all but the most but i cannot write in dutch.

Author:  Kaylen [ Mon Sep 04, 2006 11:08 am ]
Post subject:  Re: Kalender

Hi Piratos,

I have the same problem....

Now I've added the function to Kalender.module.php.

But what do you mean by this:
You should change all _execute  in the module source to Execute, because _execute is the fast version of original Adodb function Execute but in 0.13 with Adodb Lite this _execute does not exists.

Where can I find this?

Thnx in advance!

Barbera

Author:  cyberman [ Mon Sep 04, 2006 12:13 pm ]
Post subject:  Re: Kalender

Kaylen \Kaylen:
But what do you mean by this:
You should change all _execute  in the module source to Execute, because _execute is the fast version of original Adodb function Execute but in 0.13 with Adodb Lite this _execute does not exists.


Search in module source for all

\$1:
_execute


change it to

\$1:
Execute


;)

Author:  Kaylen [ Mon Sep 04, 2006 3:58 pm ]
Post subject:  Re: Kalender

I searched already for _execute, but couldn't find anything.

I think I'm searching in the wrong place...

What do you mean by module source? (sory if this is a dumb question)

Author:  Kaylen [ Thu Sep 07, 2006 1:39 pm ]
Post subject:  Re: Kalender

ok in de adodb_lite folder I found files wich have _execute in them and I changed that to Execute and I added the function piratos mentioned, but i still get the error...

Kalender is also not showing at the front side :o(

Locally it was working just fine, so I don't understand..

Can someone please help me???

Thank u so much!!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/