Hi guys,

Having serious trouble following upgrade to 1.8 - followed all steps to the letter, even had this working great on a local site beforehand, but this time no calendars are showing up for me. I get a couple of JS errors, as you can see in the screenshot.

I have both moment and the main fullcalendar libraries installed, at the correct locations. I'm out of ideas.

This is on a live site, so I appreciate your help.

Cheers

CommentFileSizeAuthor
Screenshot_1.png34.96 KBpapper00
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

papper00 created an issue. See original summary.

acrollet’s picture

Hi there,

please try 1.9 (released today) as moment has been included in fullcalendar, rooms 1.9 takes this into account. Please see the installation instructions at: http://docs.roomify.us/rooms/installation.html

thanks,
Adrian

papper00’s picture

Hi Adrian,

Thanks for this, just tried it and the issue remains.

The JS errors imply Moment is not being found, why would this be the case? It's there, and was there long before I upgraded to 1.8 or 1.9 with no problems.

acrollet’s picture

Is moment.js still installed separately from fullcalendar? Have you updated fullcalendar to the latest release?

If not, sorry not to be of more help but it's hard to know what could be happening by guessing. The best advice I can offer is to try a fresh installation in an environment that is as similar to your production environment as possible, following the installation instructions exactly. If it still produces an error under those conditions, please post all information available about your environment. (OS, apache/php/mysql versions, etc.)

sahaj’s picture

Getting the same issue while upgrading from 1.8 to 1.9.
I had to download the full Moment.js and Moment Timezone librairies to get ride of error messages in Status Report. So now it looks fine there:

  • FullCalendar FullCalendar Installed The FullCalendar Library is installed
  • Moment Timezone library version 0.5.0
  • Moment.js library version 2.11.2

But I have no more calendar displayed.

Thanks for help.

ronald_istos’s picture

Hi - try Rooms 1.10. There was an issue with loading the minified version of moment.js.

With Rooms 1.10 you only need the fullcalendar library from here: https://github.com/arshaw/fullcalendar/releases/download/v2.6.0/fullcale...

If should be in libraries/fullcalendar - moment.j is bundled.

After you upgrade to Rooms 1.10 make sure to clear caches.

Thanks

ronald_istos’s picture

Status: Active » Needs review
sahaj’s picture

Thanks @ronald_istos, works better now. I'm saying 'better' because I'm still getting an issue with the calendars not showing availability or related information (https://www.drupal.org/node/2380777#comment-10836598). Help there would be appreciate.

sahaj’s picture

Version: 7.x-1.8 » 7.x-1.10
ronald_istos’s picture

Status: Needs review » Closed (fixed)