I’m pleased to announce a new open source project for a room booking system – it’s basically a backend to the excellent fullcalendar.js jQuery plugin, using cfWheels as the back end.
Features include:
You can download the code from gitHub - https://github.com/neokoenig/RoomBooking or try a demo at http://roombooking.oxalto.co.uk.
Feel free to contribute or log a bug at https://github.com/neokoenig/RoomBooking - hopefully it’ll be useful for someone!
Please feel free to comment on the blog post - http://www.oxalto.co.uk/2013/09/new-open-source-project-room-booking-system/ - some screenshots there too.
Ta!
T
Wow, it just works on mobile phone. So, it is truly state of the arts.
--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+u...@googlegroups.com.
To post to this group, send email to cfwh...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfwheels.
For more options, visit https://groups.google.com/groups/opt_out.
<cftry><cfset _loadSettings()><cfcatch type="any"><cflocation url="/rewrite.cfm?controller=wheels&action=wheels&view=plugins&name=dbmigrate"></cfcatch></cftry><cfset _createInitialUser()>You should be able to run the DBmigrate script;If so, run it, then undo the commenting and restart the application.Note, your app is still running in production mode - whenver you see that "friendly" error message (Which doesn't tell you anything) then you've not reloaded into design mode properly.T
Element WHEELS.EVENTPATH is undefined in APPLICATION. | |
The error occurred in D:\inetpub\wwwroot\RoomBooking\wheels\events\onsessionstart.cfm: line 10 Called from D:\inetpub\wwwroot\RoomBooking\wheels\global\cfml.cfm: line 35 Called from D:\inetpub\wwwroot\RoomBooking\wheels\events\onsessionstart.cfm: line 3 | |
8 : <cfscript> 9 : $initializeRequestScope(); 10 : $include(template="#application.wheels.eventPath#/onsessionstart.cfm"); 11 : </cfscript> 12 : </cffunction> |
Ok I think wheels hasn’t correctly loaded into your application scope, so you need to restart the application – possibly the easiest way to do this is to go into config/app.cfm and set an applicationname, i.e
<cfset this.name = "MyAppName">
D1 is already defined in argument scope. |
|
Use local to define a local variable with same name. | |
The error occurred in D:\inetpub\wwwroot\RoomBooking\wheels\controller.cfm: line 5 Called from D:\inetpub\wwwroot\RoomBooking\controllers\Wheels.cfc: line 6 Called from D:\inetpub\wwwroot\RoomBooking\root.cfm: line 1 Called from D:\inetpub\wwwroot\RoomBooking\wheels\global\objects.cfm: line 13 Called from D:\inetpub\wwwroot\RoomBooking\wheels\events\onapplicationstart.cfm: line 119 |
|
3 : <cfinclude template="view/functions.cfm"> 4 : <cfinclude template="plugins/injection.cfm"> 5 : <cfinclude template="../#application.wheels.viewPath#/helpers.cfm"> |
The SET IDENTITY_INSERT statement can only be issued to tables with an identity column. If the table name passed to this statement does not have an identity column, this error message (Msg 8106) will be generated
$execute(this.adapter.addRecordPrefix(arguments.table));
$execute(this.adapter.addRecordSuffix(arguments.table));
The value returned from the checkPermission function is not of type boolean. | |
If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible. | |
The error occurred in D:\inetpub\wwwroot\RoomBooking\events\functions.cfm: line 113 Called from D:\inetpub\wwwroot\RoomBooking\wheels\global\cfml.cfm: line 182 Called from D:\inetpub\wwwroot\RoomBooking\wheels\controller\filters.cfm: line 125 Called from D:\inetpub\wwwroot\RoomBooking\wheels\controller\processing.cfm: line 12 Called from D:\inetpub\wwwroot\RoomBooking\wheels\dispatch\request.cfm: line 167 Called from D:\inetpub\wwwroot\RoomBooking\wheels\index.cfm: line 1 Called from D:\inetpub\wwwroot\RoomBooking\index.cfm: line 1 Called from D:\inetpub\wwwroot\RoomBooking\wheels\events\onrequest.cfm: line 1 | |
111 : <cfargument name="permission" required="true" hint="The permission name to check against"> 112 : <cfscript> 113 : if(!checkPermission(arguments.permission)){ 114 : redirectTo(route="denied", error="Sorry, you have insufficient permission to access this. If you believe this to be an error, please contact an administrator."); 115 : } |
<cfargument name="permission" required="true" hint="The permission name to check against">
Now, in Railo, the entire function is much samller: all you need is this:<cfscript>var retValue=0;if(_permissionsSetup() AND structKeyExists(application.rbs.permission, arguments.permission)){retValue = application.rbs.permission[arguments.permission][_returnUserRole()];if(retValue == 1){return true;} else {return false;}}</cfscript></cffunction>
Yeah, you’re back to the original install issue: if the database isn’t setup properly and DB migrate hasn’t run, it’ll throw you back to DBMigrate.
So in short, DBMigrate doesn’t seem to be working with MSSQL. Boo.
T
--
You received this message because you are subscribed to a topic in the Google Groups "ColdFusion on Wheels" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cfwheels/dk_JbtmLRi4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cfwheels+u...@googlegroups.com.
To post to this group, send email to cfwh...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfwheels.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ColdFusion on Wheels" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cfwheels/dk_JbtmLRi4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cfwheels+u...@googlegroups.com.
To post to this group, send email to cfwh...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfwheels.
For more options, visit https://groups.google.com/d/optout.