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.
I am having 2 errors right now.
First one is this:
Notice: Undefined index: und in theme_room_reservations() (line 185 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Second one is this:
I am unable to change the date. If I change the date to see the openings then, the page refreshes and goes back to today's date.
Comment | File | Size | Author |
---|---|---|---|
#3 | Capture.PNG | 60.15 KB | JonathanWang |
Comments
Comment #2
liquidcms CreditAttribution: liquidcms commentedplease try the 2.x-dev version.
Comment #3
JonathanWang CreditAttribution: JonathanWang commentedI have moved to 2.x-dev. Now these notices are popping up after setting things up.
Notice: Undefined offset: 0 in room_reservations() (line 25 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: selected in room_reservations() (line 27 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: selected in room_reservations() (line 27 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined offset: 0 in room_reservations() (line 31 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: selected in room_reservations() (line 41 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: selected in room_reservations() (line 41 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: in room_reservations() (line 55 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: in room_reservations() (line 59 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\controller\room_reservations_calendar.controller.inc).
Notice: Undefined index: selected in theme_room_reservations() (line 67 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: selected in theme_room_reservations() (line 67 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: day-of-week in theme_room_reservations() (line 68 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: month-number in theme_room_reservations() (line 69 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: month in theme_room_reservations() (line 70 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: day in theme_room_reservations() (line 71 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: year in theme_room_reservations() (line 72 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined index: yyyymmdd in theme_room_reservations() (line 73 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined offset: 33 in theme_room_reservations() (line 298 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
Notice: Undefined offset: 33 in theme_room_reservations() (line 298 of C:\inetpub\wwwroot\sites\all\modules\room_reservations\view\room_reservations_calendar.view.inc).
I don't know if it is safe to ignore them or not.
I am able to change the date now but another problem that has popped up is that I cant make a reservation room and link it to the desired reservation category. There is no option to do so. All I see is when I try to make a reservation room, it just shows the basic page window, like I am making a basic page instead of a reservation room. See attached image. There is no way for me to link the room to the desired category.
Comment #4
JonathanWang CreditAttribution: JonathanWang commentedComment #5
JonathanWang CreditAttribution: JonathanWang commentedComment #6
JonathanWang CreditAttribution: JonathanWang commentedWith reference to the image, when I try to make a reservation room, I am unable to link it to any of the categories.
I made 2 categories -> Building 1 and Building 2
I made 2 rooms -> Room 1 to link to Building 1 and Room 2 to link to Building 2
But when I made both rooms, the window looked like I was making a Basic Page content type, not a reservation room.
This is with 2.x-dev.
Comment #7
JonathanWang CreditAttribution: JonathanWang commentedI would also like to state that I am using SQL 2014, my website is on a Windows server. I am using Drupal 7.43.
For 1.2, when I made a reservation, the reservation was made but I was unable to access the the reservation calendar after, with the errors similar to https://www.drupal.org/node/2309107.
For 2.x-dev, as stated in my comment above, I am unable to make a reservation because the rooms are not showing up in the calendar, even though they are already made.
I would like to avoid reinstalling Drupal because I already have working modules on the site. Is there a possible fix for any of these versions? Or should I start looking for a better module to use.
Comment #8
liquidcms CreditAttribution: liquidcms commented- sorry, i dont know what SQL 2014 is; if it works with Drupal i am sure it works with RR
- not really supporting 1.2, use 2.x
- can you give me access to your site? not saying there are not issues with this module (the code from D6 was a mess) but there are a few big clients of mine using this every day without issue. possibly i could check your site and see if it is a config issue
- possible there are issues but most likely your config is wrong somewhere. if you think there is a bug you could think of providing a patch to fix the issue although as i have said; i know of more than 1 client using the module. of course your choice to try something else (you might want to check out Study Room)
Comment #9
liquidcms CreditAttribution: liquidcms commentedwhen you switched to 2.x did you run update.php? or, better yet, completely uninstall (not disable, uninstall) 1.2 version and then install 2.x
Comment #10
liquidcms CreditAttribution: liquidcms commentedbtw.. "Errors" is a pretty silly title for an issue.. :)