Enabling the calendar and calendar_info modules displays a PHP error stating calls to an undefined function named 'calendar_info'. Grepping for it in the files reveals that it's not defined.

Dave

Comments

Diseree’s picture

I have same problem. Calendar module for D6.2 will not work.

Fatal error: Call to undefined function calendar_info() in ...../drupal/sites/all/modules/calendar/calendar.module on line 417

El FB’s picture

Me too:

Fatal error: Call to undefined function calendar_info() in ...\drupal\modules\calendar\calendar.module on line 417

arx-e’s picture

the same for me too:
"Fatal error: Call to undefined function calendar_info() in ..../modules/calendar/calendar.module on line 417"

AaronCollier’s picture

I'm not sure what is meant by the "calendar_info module," but I'm also missing a definition for calendar_info() in my Calendar module.

hfschwing’s picture

I get the same error in both the beta and the dev versions that I downloaded today(May 24).

KarenS’s picture

Status: Active » Fixed

Oops. That's a deprecated function and shouldn't be called. Just committed a fix.

AaronCollier’s picture

Status: Fixed » Active

It exists in the calendar_ical.module, too, on line 19.

KarenS’s picture

Status: Active » Fixed

Fixed in calendar_ical, too. Thanks!

randalls’s picture

I am looking at CVS under contributions/modules/calendar and I can not find your fixes? Where are they located.

In addition, the current Beta version downloadable from the drupal modules still has the same problem.

Thanks,

Randall

AaronCollier’s picture

They're both in CVS, just listed as dead files. Here you can see both of the new module files: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/calendar/?h...

You can also find them in the dev version of the module.

Anonymous’s picture

I'm having the same issue in the dev version that I downloaded today, May 28th

toovy’s picture

I downloaded the 6.x-2.0-beta version today, May 29th and I'm also having the same issue.

KarenS’s picture

If you're getting that message, you do not have the latest -dev version of the code. There is no call for that function in the latest code.

Do not use the 6.x-2.0-beta code -- it has the bug and you will keep seeing it. You need the latest development snapshot.

jastern’s picture

there is a small point of confusion, karen, in the CVS web interface, and i want to let people know about it. when you go to the link karen provided,

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/calendar/?h...

DON'T click on the so-called "latest" versions (in the "REV"ision column). these are NOT the latest revisions. That is, this page seems to indication that "1.35" is the latest version for calendar_ical.module, and that 1.122 is the latest version of calendar.module. These are not true. Click on the *file names* themselves, and then download the latest version (which has the "DRUPAL-6--2 " tag).

also, i'm just wondering why a new beta has not been released (since people will go to the modules page and continue to download the buggy module code for 6.0, and waste their time trying to figure out what they're doing wrong)? just wondering.. thanks..

jeff

KarenS’s picture

I did *not* provide that link. That link is to HEAD which is not what you want because of a packaging bug in HEAD. You want http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/calendar/?h....

The reason I haven't issued another release is because Date and Calendar are tied together and I want to do new releases for both at the same time or people will get screwed up by trying to use an older version of Date with a newer version of Calendar, or vice versa.

I haven't gotten that done yet because I have been working pretty much continuously on getting CCK for D6 to a place where we can do a beta release. I'm flipping back and forth between Date 5.2, Date 6.2, Calendar 5.2, Calendar 6.2, CCK for D6 and CCK for D5, and no matter which one I work on, I get a flood of emails and issues from people asking me why I'm not working on the other ones. I'm working on all of them as fast as I can.

toovy’s picture

I'm working on all of them as fast as I can.

And we appreciate it, I know I do. You're doing something I don't have the foggiest idea how to do.

jastern’s picture

"I did *not* provide that link. "

quite right you are. AaronCollier provided it. my eyes were playing tricks on me. Nonetheless, i wanted to help people who were using that link get around the confusion they might encounter there, since if you click on the "latest revision" version, you'll just get HEAD copies.

"The reason I haven't issued another release is because Date and Calendar are tied together"

this makes a lot of sense, too. and thank you indeed for all your hard work..

however, in this particular case, given that the latest beta is so badly broken, and will waste so many users' time duplicating the same efforts trying to figure out why it doesn't work for them, when in fact it is not actually a working version: i'm wondering whether it might actually be better to just *remove* the current version 6 beta from the drupal modules page -- perhaps with a note explaining why -- until you can get the next version out? just as a courtesy to save people time, and also to stop the flood of emails to you asking the same question..(?)

anyway, either way, thanks for all your good work on several modules at the same time..! very much appreciated!

KarenS’s picture

I'm not sure it's possible to keep the official version from showing up and show the development version. But anyway I really do need to get an updated release out for both Date and Calendar, which is my next project.

pauldawg’s picture

I am beginning to understand that Karen is the Drupal Goddess. Hats off to you!

I hope to be able to contribute to the Drupal coding once I become an expert. It is such a great project full of many dedicated and talented coders. I am an experienced Java developer new to PHP and Drupal (and really new to web development for that matter), and I have to say that after trying to build a site in Joomla and then coming to Drupal I am extremely impressed with all of the work being done. I hope to be a part of it -- right now I know just enough to be dangerous. Anyway, Kudos to you Karen and keep up the great work despite all of the vultures hovering overhead looking at your code and waiting to gobble it up.

And by the way... I have the same problem too, in case you didn't guess.

KarenS’s picture

I just released a new 6.2-beta2 version for both Calendar and Date. Update to that and see how things are working.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.