IN latest 3.0 module Calendar wont work

A place for users and developers of the Xataface to discuss and receive support.

IN latest 3.0 module Calendar wont work

Postby zmmaj » Tue Nov 06, 2012 12:51 am

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?
zmmaj
 
Posts: 48
Joined: Tue Sep 25, 2012 10:34 pm

Re: IN latest 3.0 module Calendar wont work

Postby shannah » Tue Nov 06, 2012 1:14 pm

That should work, unless you're missing a file.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: IN latest 3.0 module Calendar wont work

Postby zmmaj » Tue Nov 06, 2012 4:13 pm

what file?
I haven't any errors now,,,
In fields.ini I have start and end ...
All sims is OK... but no calendar...
zmmaj
 
Posts: 48
Joined: Tue Sep 25, 2012 10:34 pm

Re: IN latest 3.0 module Calendar wont work

Postby shannah » Wed Nov 07, 2012 8:45 am

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.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: IN latest 3.0 module Calendar wont work

Postby zmmaj » Wed Nov 07, 2012 11:30 pm

I was using 1.3.3 4004 version... downloaded as latest from home page
zmmaj
 
Posts: 48
Joined: Tue Sep 25, 2012 10:34 pm

Re: IN latest 3.0 module Calendar wont work

Postby shannah » Thu Nov 08, 2012 8:54 am

The calendar module requires Xataface 2.0 or higher.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: IN latest 3.0 module Calendar wont work

Postby zmmaj » Fri Nov 09, 2012 5:39 pm

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 :(
zmmaj
 
Posts: 48
Joined: Tue Sep 25, 2012 10:34 pm

Re: IN latest 3.0 module Calendar wont work

Postby zmmaj » Sat Nov 10, 2012 8:19 am

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.. :(
zmmaj
 
Posts: 48
Joined: Tue Sep 25, 2012 10:34 pm

Re: IN latest 3.0 module Calendar wont work

Postby shannah » Sat Nov 10, 2012 1:47 pm

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 38 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved