Page 1 of 1

IN latest 3.0 module Calendar wont work

PostPosted: Tue Nov 06, 2012 12:51 am
by zmmaj
well there is several problems...
First is error
Code: Select all
[error] [client 127.0.0.1] PHP Fatal error:  Call to undefined method Dataface_ModuleTool::getModuleURL() in /var/www/site/appp/modules/calendar/calendar.php on line 94,


Ok... I as copy/paste that function from 1.9 version... and OK... now I haven't that error but calendar still won't work

Any Idea?

Re: IN latest 3.0 module Calendar wont work

PostPosted: Tue Nov 06, 2012 1:14 pm
by shannah
That should work, unless you're missing a file.

Re: IN latest 3.0 module Calendar wont work

PostPosted: Tue Nov 06, 2012 4:13 pm
by zmmaj
what file?
I haven't any errors now,,,
In fields.ini I have start and end ...
All sims is OK... but no calendar...

Re: IN latest 3.0 module Calendar wont work

PostPosted: Wed Nov 07, 2012 8:45 am
by shannah
If the ModuleTool::getModuleURL() method isn't defined, and you're already in the calendar module, then that means that the ModuleTool class is defined but doesn't have the getModuleURL() method. You must be using an old version of the ModuleTool.

What version of Xataface are you using? There is no 3.0 release.

Re: IN latest 3.0 module Calendar wont work

PostPosted: Wed Nov 07, 2012 11:30 pm
by zmmaj
I was using 1.3.3 4004 version... downloaded as latest from home page

Re: IN latest 3.0 module Calendar wont work

PostPosted: Thu Nov 08, 2012 8:54 am
by shannah
The calendar module requires Xataface 2.0 or higher.

Re: IN latest 3.0 module Calendar wont work

PostPosted: Fri Nov 09, 2012 5:39 pm
by zmmaj
shannah wrote:The calendar module requires Xataface 2.0 or higher.


How is possible that LATEST release is not and never...
How manu versions we have here?
why "Xataface 2.0 or higher" is not and LATEST?
I can't find 2.0... is that a verson or what?
The bigest version I found is from home page '2.0 Alpha' but in file 'version' is 1.9 3856...
And with this version ( 1.9 3856) I haven't errors, but calendar still won't work :(

Re: IN latest 3.0 module Calendar wont work

PostPosted: Sat Nov 10, 2012 8:19 am
by zmmaj
My bad... I was download too many versions, so, somple I was point to wrong version...
Now Calendar works...
But, they won't if I have enabled multilanguage support, and in
/lib/jscalendar/lang/ I haven't translation for desired language... :(

tnx..
But I still do not understand this mess about versions.. :(

Re: IN latest 3.0 module Calendar wont work

PostPosted: Sat Nov 10, 2012 1:47 pm
by shannah
1.3.x is still the official stable branch and it will continue to get bug fixes. However 2.0 includes too many new features to keep it boxed up any longer.

viewtopic.php?f=8&t=7000