Closed (fixed)
Project:
Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals
Version:
7.x-1.x-dev
Component:
Rooms Booking
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2012 at 10:04 UTC
Updated:
7 Mar 2015 at 03:29 UTC
Jump to comment: Most recent
Comments
Comment #1
orkutmuratyilmazAt the recent log messages, I can see the error log below:
Type ajax
Date Tuesday, March 20, 2012 - 14:03
User user
Location http://drupal/system/ajax
Referrer http://drupal/admin/rooms/bookings/add/standard_booking?render=overlay
Message Invalid form POST data.
Severity warning
Hostname 127.0.0.1
Operations
Comment #2
enxox commentedsame error here, but I solved enabling the booking management module.
Comment #3
orkutmuratyilmazOk. I've activated the "Rooms Booking Manager" sub-module and problem solved. Thanks enxox :)
Comment #4
orkutmuratyilmazComment #5
bones commentedI have just installed and am configuring Rooms and am getting this same error. It appears anywhere when trying to use the calendar/dates, so setting availability or creating a booking etc.
No additional information as to the error as exact text as above. Nothing in watchdog, or apache error log.
Have enabled "Rooms Booking Manager" and this makes no difference (initially it wasn't enabled). Have tried clearing caches, refreshing pages, different browsers. PHP memory limit is 128M.
Comment #6
bones commentedFound this error when enabling all php error reporting:
Fatal error: Can't inherit abstract function RoomsCalendarInterface::getEvents() (previously declared abstract in RoomsCalendar) in /sites/all/modules/rooms/includes/rooms.calendar.inc on line 7Turns out it was down to my PHP version (5.3.3) and I apparently needed at least 5.3.9. Updated my server and all seems to work.
Should this be documented somewhere? As far as I am aware drupal 7 only requires 5.3?
Comment #7
Marvine commented@bones : Same issue here.
A possible solution is to comment every functions in RoomsCalendarInterface, probably not the best but that's do the trick for server under PHP 5.3.9.
Comment #8
acrollet commentedHi there,
thanks for the comments - I've documented the requirement for PHP 5.3.9 or greater on the module page and in the README file in the latest version of the code, which will be in Rooms 1.5.