Jump to content

Recommended Posts

Posted

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

Posted

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 :)

  • Thanks 1
Posted

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.

Posted

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 :)

  • 3 weeks later...
Posted

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

  • Thanks 1
Posted
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.
  • Thanks 2
Posted

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

Posted

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"

Posted
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.
  • Thanks 2
Posted

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

Posted
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.

Posted
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
Posted
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.

Posted
i will try and upload the screen shot of the error message i have here. http://C:\Documents and Settings\acullen656\Desktop\error.jpg

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...