Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
Screenshot_1.png | 34.96 KB | papper00 |
Comments
Comment #2
acrollet CreditAttribution: acrollet commentedHi 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
Comment #3
papper00 CreditAttribution: papper00 commentedHi 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.
Comment #4
acrollet CreditAttribution: acrollet commentedIs 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.)
Comment #5
sahaj CreditAttribution: sahaj commentedGetting 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:
But I have no more calendar displayed.
Thanks for help.
Comment #6
ronald_istos CreditAttribution: ronald_istos at roomify - online and open source reservation solutions commentedHi - 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
Comment #7
ronald_istos CreditAttribution: ronald_istos at roomify - online and open source reservation solutions commentedComment #8
sahaj CreditAttribution: sahaj commentedThanks @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.
Comment #9
sahaj CreditAttribution: sahaj commentedComment #10
ronald_istos CreditAttribution: ronald_istos at roomify - online and open source reservation solutions commented