Kalender

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
Blackdrive

Kalender

Post 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
Last edited by Blackdrive on Sat Jun 03, 2006 8:05 pm, edited 1 time in total.
Piratos

Re: Kalender

Post 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.
Last edited by Piratos on Sun Jun 04, 2006 8:05 am, edited 1 time in total.
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Kalender

Post 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
cyberman

Re: Kalender

Post 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
;)
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Kalender

Post 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)
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Kalender

Post 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!!
Post Reply

Return to “Dutch - Nederlands”