rob998 Posted November 3, 2009 Posted November 3, 2009 I have installed an earlier version of php on the server. Now I am getting the following: An Error Was Encountered Unable to select the specified database: crbs Thanks
webman Posted November 3, 2009 Posted November 3, 2009 OK, cool. What you need to do now is create a database & username for CRBS, and then tell CRBS what details to use. The easiest way to do this is through phpMyAdmin. Click on Privileges > Add new user. In the Login Information box, enter a username in the username field, choose Local from the Host drop-down box, then enter a password twice in the username fields. In the Database for user box, choose 'Create database with same name and grant all privileges.' Finally, click the Go button at the bottom-right of the page. Next, go to the classroombookings folder within the www directory. Then go to system/application/config and open database.php in a text editor. Fill in the appropriate variables - database, username and password. If you've made the required changes to config.php already (according to the instructions on the google code site wiki); then it should work 1
rob998 Posted November 4, 2009 Posted November 4, 2009 I have done as you said. I no longer get the database error, I just get a page cannot be displayed page. It is trying to go to http://servername:81/crbs That was the same path I put the in config.php file. Thanks
webman Posted November 4, 2009 Posted November 4, 2009 Are you using the mod_rewrite feature? Also, what does the $config['index_page'] line look like in system/application/config.php? Check the Apache error logs (should be an icon for this in the WAMP menu) to see if there are any clues there.
webman Posted November 4, 2009 Posted November 4, 2009 Cool I do realise the older that CRBS gets, the more difficult it is to get running on latest software; which is really awkward when you come to set it up. That's mostly my fault for not continually updating it, so for that I apologise. But to make up for that, version 2 will kick ass
rob998 Posted November 5, 2009 Posted November 5, 2009 No need to apologise. I appriciate all the extra effort you put in to making the software for us. Looking forward to v2
mcquills Posted November 23, 2009 Posted November 23, 2009 First off, I just want to thank webman for an awesome piece of software. It fit the needs perfectly of what I am trying to accomplish. The install went very smooth, no errors at all. Logging on for the first time I am noticing that no images are being displayed in the control panel. Any input is greatly appreciated. Thanks -Sean 1
mcquills Posted November 23, 2009 Posted November 23, 2009 Here is an image of the control panel http://img688.imageshack.us/img688/9568/crbs.th.png
webman Posted November 23, 2009 Posted November 23, 2009 Hi mcquills - it looks like images and CSS aren't loading. If you view the source of the page, there should be a tag near the top - this should be the base path to the CRBS installation. It is taken from the base_url entry in the system/application/config.php file. Check these match your setup exactly. 2
mcquills Posted November 23, 2009 Posted November 23, 2009 Thanks for the quick reply, I have "http://localhost/crbs" which points to the directory with Documentation system temp webroot .htaccess califr.ttf classroombookings.sql gil___.ttf index.php license.txt tahoma.ttf verdana.ttf
mcquills Posted November 23, 2009 Posted November 23, 2009 Excuse my ignorance, changed http://localhost/crbs to http://localhost/crbs/ (added fowardslash at the end) now everything is working great. Thanks again -Sean
Aaron Posted November 24, 2009 Posted November 24, 2009 Can anyone help me i am trying to add rooms on and at the bottom were it says feilds i am getting a PHP error was encountered Severity:Warning Message: Invalid argument supplied for foreach() Filename: rooms/rooms_add.php Line Number: 203 If i try to save anyway it says "The upload path does not appear to be vaild"
Aaron Posted November 25, 2009 Posted November 25, 2009 can anyone help me with this please i seem to be able to do everything else except add rooms to book
webman Posted November 25, 2009 Posted November 25, 2009 If I remember rightly, that foreach() warning is because there are no room fields defined. If you add a single field (for example, for how many computers are in the room) it should go away. As for the uploading issue, please make sure the paths as per the instructions have write permission first. 2
Aaron Posted November 25, 2009 Posted November 25, 2009 thats great thank you that worked when i added a feild it then allowed me to create a room and book it. So far everything seems to work fantasic from the local computer but i am still have issues when allowing other computers to connect they cant see the webpage when wampserver is online for some reason. my config file is set to http://localhost/classroombookings/ is that my problem its only being seen by the localhost
round2it Posted November 25, 2009 Posted November 25, 2009 SiCS Lite - School Infrastructure Control System - Web based room booking software for schools this is quite good and the chap who wrote it customised it for us so im sure they could do the same for you it is very light weight.
Edu-IT Posted November 25, 2009 Posted November 25, 2009 thats great thank you that worked when i added a feild it then allowed me to create a room and book it. So far everything seems to work fantasic from the local computer but i am still have issues when allowing other computers to connect they cant see the webpage when wampserver is online for some reason. my config file is set to http://localhost/classroombookings/ is that my problem its only being seen by the localhost I would image you need to set it up so it's http://servername/classroombookings and then perhaps create an record in DNS so you can have it just as http://bookings for example.
Aaron Posted November 25, 2009 Posted November 25, 2009 currently we run our legacy network along side another provider c2k everything works great and our internet service is provided by c2k which is really locked down to keep the both their network and pupils safe, i am just thinking that it is possible that the port may have been blocked so i have called to see if it has and if i can have it unblocked to allow us to use this on our legacy server
Aaron Posted November 25, 2009 Posted November 25, 2009 C:\Documents and Settings\acullen656\Desktop\error.jpg
Edu-IT Posted November 25, 2009 Posted November 25, 2009 C:\Documents and Settings\acullen656\Desktop\error.jpg Use the attachment option.
Edu-IT Posted November 25, 2009 Posted November 25, 2009 currently we run our legacy network along side another provider c2k everything works great and our internet service is provided by c2k which is really locked down to keep the both their network and pupils safe, i am just thinking that it is possible that the port may have been blocked so i have called to see if it has and if i can have it unblocked to allow us to use this on our legacy server The booking system runs on port 80 I would imagine so I doubt it's blocked. If you post the error, that'll help to identify the cause and hopefully together we can get this cracked.
Aaron Posted November 25, 2009 Posted November 25, 2009 i will try and upload the screen shot of the error message i have here. http://C:\Documents and Settings\acullen656\Desktop\error.jpg
Aaron Posted November 25, 2009 Posted November 25, 2009 for some reason i cant upload the image http://\\server-1\AdminDoc$\acullen656\Documents\My Pictures\error.jpg
Aaron Posted November 25, 2009 Posted November 25, 2009 http 403 Forbidden The website declined to show this webpage Most likely causes: This website requires you to log in
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