Page 1 of 1

Kalender

Posted: Sat Jun 03, 2006 8:03 pm
by Blackdrive
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

Re: Kalender

Posted: Sun Jun 04, 2006 8:02 am
by Piratos
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.

Re: Kalender

Posted: Mon Sep 04, 2006 11:08 am
by Kaylen
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

Re: Kalender

Posted: Mon Sep 04, 2006 12:13 pm
by cyberman
Kaylen wrote: 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

Code: Select all

_execute
change it to

Code: Select all

Execute
;)

Re: Kalender

Posted: Mon Sep 04, 2006 3:58 pm
by Kaylen
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)

Re: Kalender

Posted: Thu Sep 07, 2006 1:39 pm
by Kaylen
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!!