Closed (duplicate)
Project:
Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals
Version:
7.x-1.3
Component:
Rooms Booking
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2014 at 03:31 UTC
Updated:
7 Mar 2015 at 03:38 UTC
Jump to comment: Most recent
Comments
Comment #1
plopescHello, which is your PHP version?
If your PHP version is prior to 5.3.9 probably you are getting this error due to a PHP bug (https://bugs.php.net/bug.php?id=43200)
Your feedback would be appreciated.
Thank you.
Comment #2
joeebel commentedI'm using PHP 5.3.3 on CentOS 5.10. I'm trying to figure out how to upgrade to 5.3.9+ but can't seem to get it right...
Comment #3
kevster commentedI seem to have the same problem - Ive just upgraded from rooms 1.2 to 1.3 and now the search does not work. I get:
Fatal error: Can't inherit abstract function RoomsCalendarInterface::getEvents() (previously declared abstract in RoomsCalendar) in /mnt/web/www/sites/xxxx/html/sites/all/modules/rooms/includes/rooms.calendar.inc on line 7
Ive switched on Rooms Availability Constraints
PHP is 5.3.2 (on dev site) - I can get this updated on dev but the client has a shared hosting cpanel so not sure if I can get live site PHP updated easily?
Is a PHP update the only solution? Many thx - great module!
Comment #4
jwilson3Marked #2328307: ajax error on add booking as a duplicate of this.
Comment #5
gmaximus commentedI think the module page should be updated to reflect this requirement. I've got quite far through setting up and learning this module. I'm using Centos and it seems the latest recommended release of PHP is the 5.3.3 version I have installed with parallels.
Upgrading PHP on a server is quite an ask for your average Drupaler. Can't help but feel it would be full of pitfalls for servers already hosting many sites with the help of parallels and the other software it comes bundled with.
Or am I mistaken and it is actually a straight forward thing if you know how?
Would love to get this working without breaking anything. The link provided by plopesc doesn't really make any sense to me...
Comment #6
gmaximus commentedI just installed PHP Panda for Plesk. Now I can run different domains on different versions of PHP via a domain specific selectlist within Plesk. All without effecting the default installation.
I found it here: http://forum.sp.parallels.com/threads/php-panda-multi-php-installer-for-...
Just made a blog post for my own reference here: http://onlinebusinessbuilders.co.uk/blog/how-run-different-versions-php-... .
Thought I'd share this quick solution that may help others who reach this.
Comment #7
acrollet commentedPlease see #1490818: AJAX Error on Assigning Room for new booking