webman Posted December 17, 2008 Posted December 17, 2008 Ok. Generally with Windows it doesn't need any changes, but just browse to the directory mentioned at the page below and ensure they are writeable: InstallationWindows - classroombookings - Google Code - Installing CRBS on Windows with Apache
jonnellan Posted December 17, 2008 Posted December 17, 2008 It sprung into life when I enabled the rewrite module of Apache server! Looking good so far, seems to do everything we want it to do. Reporting section would be good, guess we'll have to wait a little while. Roll on V2.
jonnellan Posted January 9, 2009 Posted January 9, 2009 Has anyone had any joy importing users into classroombookings? Whenever I try and import a CSV file it tells me it is not an allowed file format? How has everyone else got their users on the system?
Hightower Posted January 9, 2009 Posted January 9, 2009 Has anyone had any joy importing users into classroombookings? Whenever I try and import a CSV file it tells me it is not an allowed file format? How has everyone else got their users on the system? Wish I could help - but I'm not using it until the release of v2. It's great stuff but for it to be useful we want something that integrates with LDAP. Roll on v2 too
webman Posted January 9, 2009 Posted January 9, 2009 @jonnellan: I think this happens because it mis-identifies the filetype of upload as a non-CSV file. If you're confident it's in the right format: 1. Open the file system/application/controllers/users.php in a plain-text editor. 2. Find line 300 - it should be: $upload['allowed_types'] = 'csv'; 3. Place a hash symbol before the dollar symbol to comment out that line, so it looks like this: #$upload['allowed_types'] = 'csv'; 4. Re-try uploading the CSV file. Hope that helps.
goodhead Posted January 9, 2009 Posted January 9, 2009 Do we know of the time scale for completion of version 2 of the room booker? I realy want to get this setup.
webman Posted January 9, 2009 Posted January 9, 2009 I know it's annoying to people who want to implement the new version, but I really can't commit to giving any dates. I don't want to do a Microsoft and say "It will be out in May" only to be delayed and end up disappointing people. All I can recommend is keep checking the website on Google Code (I'll post periodic updates on the front page) and the issue tracker to see what gets fixed and when.
jonnellan Posted January 12, 2009 Posted January 12, 2009 I have commented out the above mentioned statement in the users file but i still cant import a csv file. I now get this message : A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: libraries/Upload.php Line Number: 510 Im looking into this one now.
webman Posted January 12, 2009 Posted January 12, 2009 Ok, this might work then. Undo the changes I mentioned above (just remove the hash symbol and re-save). Open system/application/config/mimes.php and find the csv entry (line 13). Change it so it looks like this (just copy and paste this line to replace it): 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'), This should help CRBS recognise the file that you're uploading and accept it as CSV.
jonnellan Posted January 12, 2009 Posted January 12, 2009 Im still getting the same error, ive attached a screenshot of the whole error that i get.
webman Posted January 12, 2009 Posted January 12, 2009 Ok. Have you checked that there is full write permissions to the web server on the /temp directory?
jonnellan Posted January 12, 2009 Posted January 12, 2009 Everyone has modify access to the classroombookings directory under wamp so yeah, they have full write access to the temp directory, assuming that is the temp directory that you mean? Thanks for the help so far, appreciate it.
a_d_atkinson Posted January 21, 2009 Posted January 21, 2009 I'm having problems attempting to install this on an old sql server we're using. I'm not a techie so apologies if this makes no sense. I've installed xampp and apache seems to be running fine. I've followed the google code instructions for installing crbs under windows and everythign seems ok until I get to the install page. I navigate to http://localhost/crbs and get the install window. When I type in all details and try to install I get An Error Was Encountered Error Number: 1364 Field 'name' doesn't have a default value INSERT INTO school (school_id) VALUES (0) If I then reload the url I get a login screen where my username and password do not work and i'm hit with these A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: controllers/login.php Line Number: 23 and A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: controllers/login.php Line Number: 35 Anyone able to give me a hand? I'm trying to do this blind a bit while teaching so if any help can be very slow and with short words that would be great
plexer Posted August 10, 2009 Posted August 10, 2009 Just looked at the demo site and the new version looks lovely. Can't wait. Ben
Nick_Parker Posted September 29, 2009 Posted September 29, 2009 I'm having problems attempting to install this on an old sql server we're using. I'm not a techie so apologies if this makes no sense. I've installed xampp and apache seems to be running fine. I've followed the google code instructions for installing crbs under windows and everythign seems ok until I get to the install page. I navigate to http://localhost/crbs and get the install window. When I type in all details and try to install I get An Error Was Encountered Error Number: 1364 Field 'name' doesn't have a default value INSERT INTO school (school_id) VALUES (0) If I then reload the url I get a login screen where my username and password do not work and i'm hit with these A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: controllers/login.php Line Number: 23 and A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: controllers/login.php Line Number: 35 Anyone able to give me a hand? I'm trying to do this blind a bit while teaching so if any help can be very slow and with short words that would be great I'm having exactly the same issues
xaster Posted October 28, 2009 Posted October 28, 2009 Hi All, I have encountered the following errors while using the Booking system: A PHP Error was encountered Severity: Warning Message: asort() expects parameter 1 to be array, null given Filename: helpers/iconsel_helper.php Line Number: 82 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: helpers/iconsel_helper.php Line Number: 86 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: rooms/rooms_add.php Line Number: 203 In addition, when trying to upload a file e.g. image (jpeg), the system reports the following error: The upload path does not appear to be valid. Can anyone help me please? I have been looking at all the coding and struggling to resolve the issues. Regards Dave
localzuk Posted October 28, 2009 Posted October 28, 2009 Dave, I can't help you with your current problems but although the system I provide is not free it does take the management/configuration out of your hands. So if you decide you want someone else to do the work for you, give me a shout. Cheers, Chris Chris, it is bad form to continually try to push your own product on this forum. I would suggest you contact an admin to discuss it - it is spamming, essentially.
buzzard Posted October 28, 2009 Posted October 28, 2009 I always used to use a moderated calander in public folders on Exchange for all room/ resource bookings. Simple for staff training!
webman Posted October 28, 2009 Posted October 28, 2009 Regarding CRBS problems. I tried to replicate the problems on Xampp (which I hardly ever use) and got stuck at the first hurdle. It seems the version of the framework and code used in Classroombookings is too old for some of the latest versions of PHP (mainly 5.3.0); as a lot of PHP changes break older function calls etc. Until v2 is released, I would recommend using PHP 5.2.9 or less to run Classroombookings on. It's easy to do this on WAMP - once installed, just use the tray menu: PHP > Version > Get more..., then install an older version. I'll also be updating the v2 progress demo site soon; just so you know it is being worked on
webman Posted October 28, 2009 Posted October 28, 2009 It's getting closer with every line I write, but nothing solid yet. You should know not to ask by now John 3
bossman Posted October 28, 2009 Posted October 28, 2009 hey out there!! all of you that are waiting for Webmans room booking system version 2, it will be worth waiting for believe me but give the guy some support as he does most of this from home and gives up his time for free to support you guys who use his creation. As for you Chris, yes you have a product and it is probably a good product, its not free like Webmans though, so shame on you for touting it about like a wet rag. Please use the proper channels and pay for your advertising like all the other people who advertise on here. Webman apologies for having my pennies worth but felt it needed it. 4
rob998 Posted November 3, 2009 Posted November 3, 2009 Hi, I have tried to install this and got the following: Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\crbs\system\codeigniter\Common.php on line 85 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\crbs\system\codeigniter\Common.php on line 91 A PHP Error was encountered Severity: 8192 Message: Function set_magic_quotes_runtime() is deprecated Filename: codeigniter/CodeIgniter.php Line Number: 46 A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: database/DB.php Line Number: 81 An Error Was Encountered Unable to select the specified database: crbs Any ideas? I have followed the install instructions on InstallationWindows - classroombookings - Installing CRBS on Windows with Apache - Project Hosting on Google Code to the letter but always get this far and no further. Any help would be great. Thanks Rob
plexer Posted November 3, 2009 Posted November 3, 2009 I'll buy you some beer or other alcholic drink of your preference, I was going to say before you finish it but maybe it would be best after you've finished it Ben
webman Posted November 3, 2009 Posted November 3, 2009 (edited) @rob998: The errors look like they're to do with using an older version of PHP, which the CRBS framework doesn't work on. Have you tried installing/changing to an older version of PHP (steps mentioned in a post of mine a few posts before)? I have tried dropping the latest version of the CodeIgniter framework into a CRBS installation which gets around the PHP version issue, but there are lots of code incompatibilities between CRBS and the framework itself (deprecated functions etc). Edited November 3, 2009 by webman 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now