Error message while saving first reservation

dbt - November 29, 2008 - 22:59
Project:Reservation
Version:5.x-1.0-beta3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

After installing and enabling the module and adding the first reservation, while trying to save, the following message appears:

user warning: Table '<dbname>.reservation' doesn't exist query: SELECT tables, chairrows, seatspertable, seatsperrow, seatsaisle, generalseats, pricegeneral, pricegenred, pricetableseats, pricetablered, pricerowseats, pricerowred, discountamt, discountnum FROM reservation WHERE vid = 32 in /var/www/vhosts/<domain>/httpdocs/includes/database.mysqli.inc on line 156.

I have installed and enabled the module using drush. After seeing this message, I have disabled and enabled the module using the Drupal interface, but that did not help.

#1

maulwuff - November 30, 2008 - 14:38
Status:active» won't fix

Hi,
Your problem results from the patch twowheeler provided in #335194: Patch adding a general admission seating type & pricing options.
This patch is not revised or worked in yet. If you don't need the things it introduces, remove it (You may have to reinstall the module completely as it also affects the database)

This is not a Beta3-release error.

#2

dbt - December 5, 2008 - 22:11
Status:won't fix» active

I removed the patch but still no luck:

    * user warning: Table '<dbname>.reservation' doesn't exist query: INSERT INTO reservation (vid, nid, tables, chairrows, seatspertable, seatsperrow, pricenormal, pricereduced) VALUES (40, 40, 18, 0, 7, 0, 0, 0) in /var/www/vhosts/<domain>/httpdocs/includes/database.mysqli.inc on line 156.
    * user warning: Table '<dbname>.reservation' doesn't exist query: SELECT tables, chairrows, seatspertable, seatsperrow, pricenormal, pricereduced FROM reservation WHERE vid = 40 in /var/www/vhosts/<domain>/httpdocs/includes/database.mysqli.inc on line 156.

Any hints?

Thanks,

Dimitri

#3

maulwuff - December 6, 2008 - 01:31

it seems as if the tables are missing now completely.
please try to disable reservation, uninstall it, and re-enable it afterwards.

edit:
please also run the update.php script after installing, as it adds a state-field to the adress block. I forgot to add the filed to the install routine. It's only in the update. sorry for that.

#4

maulwuff - December 7, 2008 - 00:42
Status:active» closed

changing from active to closed, as this is by an unsupported patch.

 
 

Drupal is a registered trademark of Dries Buytaert.