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,
I've installed Uber cart and all other required modules.
However, when I go to activate the Hotel Booking System, I get the error:
Fatal error: Call to undefined function content_field_instance_read() in /home/hathers1/public_html/brynmoorhouse/111/modules/jquery_ui/jquery.ui/ubercart/uc_product/uc_product.module on line 2036
(Line 2036 reads: $instances = content_field_instance_read(array('field_name' => $field_name, 'type_name' => $type));
)
and then I get
user warning: Table 'hotel_booking_rates' already exists query: CREATE TABLE hotel_booking_rates ( `hbrid` INT unsigned NOT NULL auto_increment, `name` VARCHAR(255) DEFAULT NULL, PRIMARY KEY (hbrid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_occupancy_modifiers' already exists query: CREATE TABLE hotel_booking_occupancy_modifiers ( `hbomid` INT unsigned NOT NULL auto_increment, `threshold` INT unsigned NOT NULL DEFAULT 0, `type` VARCHAR(1) DEFAULT 'A', `rate` DECIMAL(9, 3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (hbomid), INDEX hotel_booking_occ_mod_type_ix (type) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_rate_modifiers' already exists query: CREATE TABLE hotel_booking_rate_modifiers ( `hbrmid` INT NOT NULL auto_increment, `method` VARCHAR(1) DEFAULT 'P', `rate` DECIMAL(9, 3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (hbrmid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_rate_calendars' already exists query: CREATE TABLE hotel_booking_rate_calendars ( `hbrid` INT unsigned DEFAULT NULL, `calendar_dt` DATETIME DEFAULT NULL, `rate` DECIMAL(9, 3) unsigned NOT NULL DEFAULT 0 ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_availability_calendars' already exists query: CREATE TABLE hotel_booking_availability_calendars ( `nid` INT unsigned NOT NULL, `calendar_dt` DATETIME NOT NULL, `available` TINYINT NOT NULL DEFAULT 0, `minimum_occupancy` TINYINT unsigned NOT NULL DEFAULT 0, `minimum_stay` TINYINT unsigned NOT NULL DEFAULT 0, `no_check_in` TINYINT unsigned NOT NULL DEFAULT 0, `no_check_out` TINYINT unsigned NOT NULL DEFAULT 0, INDEX hotel_booking_avail_cal_min_stay_ix (nid), INDEX hotel_booking_avail_cal_no_check_in_ix (no_check_in), INDEX hotel_booking_avail_cal_no_check_out_ix (no_check_out), INDEX hotel_booking_avail_cal_min_occ_ix (minimum_occupancy), INDEX hotel_booking_avail_cal_cal_dt_ix (minimum_stay), INDEX hotel_booking_avail_cal_nid_ix (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_room_occupancy_modifiers' already exists query: CREATE TABLE hotel_booking_room_occupancy_modifiers ( `nid` INT unsigned NOT NULL DEFAULT 0, `hbomid` INT unsigned NOT NULL DEFAULT 0, INDEX hotel_bkg_room_op_mod_nid_ix (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_reward_memberships' already exists query: CREATE TABLE hotel_booking_reward_memberships ( `order_id` INT unsigned NOT NULL DEFAULT '0', `member_number` VARCHAR(255) DEFAULT NULL, PRIMARY KEY (order_id) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
user warning: Table 'hotel_booking_room_types' already exists query: CREATE TABLE hotel_booking_room_types ( `nid` INT unsigned NOT NULL DEFAULT '0', `vid` INT unsigned NOT NULL DEFAULT '0', `capacity` INT unsigned NOT NULL DEFAULT '0', `hbrid` INT unsigned NOT NULL DEFAULT '0', `hbrmid` INT unsigned NOT NULL DEFAULT '0', `smoking` TINYINT unsigned NOT NULL DEFAULT '0', `minimum_occupancy` INT unsigned NOT NULL DEFAULT '0', `default_available` INT unsigned NOT NULL DEFAULT '0', `model` VARCHAR(255) DEFAULT '', `from_rate` DECIMAL(6, 3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (vid), UNIQUE KEY hotel_booking_room_types_nid_vid_ix (nid, vid), UNIQUE KEY hotel_booking_room_types_nid_ix (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /home/hathers1/public_html/brynmoorhouse/111/includes/database.inc on line 555.
when I next login.
Any ideas how I can fix this? I'm using Drupal 6.19
Comments
Comment #1
larowlanHi
Install CCK
For what it's worth - you should give the 6.x.2.x-dev version a go, there's been a lot of changes made to the module that aren't yet in the beta4.
Lee