CMS MADE SIMPLE FORGE

Availability

 

[#3834] RESC coding errors

avatar
Created By: Prue Rowland (psy)
Date Submitted: Mon Aug 03 18:57:50 -0400 2009

Assigned To:
Version: 1.6
CMSMS Version: None
Severity: Critical
Resolution: None
State: Closed
Summary:
RESC coding errors
Detailed Description:
When adding a new 'Room' resource in Admin, the following errors occur:

Notice: Undefined index: capcaity in
C:\wamp\www\cmstest\modules\Availability\action.admin_edit_rsrc.php on line 179

Notice: Undefined index: mondey in
C:\wamp\www\cmstest\modules\Availability\action.admin_edit_rsrc.php on line 188

Notice: Undefined offset: 12 in
C:\wamp\www\cmstest\lib\adodb_lite\adodbSQL_drivers\mysql\mysql_driver.inc on
line 320
INSERT INTO cms_module_availability_rsrcs (name, active, description,
base_price, admin_notes, capacity ) VALUES ('test room',1,'description goes here
',0,'admin notes go here',NULL)
ERROR: 

The resc is added to the db (tho not obviously the capacity).

Fixing the spelling errors, ie 'capcaity' to 'capacity' and 'mondey' to 'monday'
in the relevant lines resolve these problems.




History

Updates

Updated: 2015-05-26 10:05
resolution_id: => 5
cmsms_version_id: => -1
state: Open => Closed