![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
How do you do....it? How do you do....it? sponsored by |
| ||
| | | LinkBack | Thread Tools | Search Thread |
| | #61 | |
![]() Join Date: May 2008 Location: Swindon, Wiltshire
Posts: 559
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 | Quote:
| |
| |
| | #62 |
![]() Join Date: Nov 2005 Location: County Durham
Posts: 6,985
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2 Rep Power: 125 | That's odd. It does sound like it's not loading properly or there is a conflict. Click on the WAMP icon > Apache > Apache error log and look for any signs in there as to what the issue could be. |
| |
| | #63 |
![]() Join Date: May 2008 Location: Swindon, Wiltshire
Posts: 559
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 | Nothing in the error log.... |
| |
| | #64 | |
![]() Join Date: Mar 2008 Location: UK
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0 | Quote:
This is in the background due to SIMS stuff at the moment but I would still very much like to get it working! Thanks guys, Shuriken. | |
| |
| | #65 |
![]() Join Date: Mar 2007 Location: Reading, UK
Posts: 894
Thanks: 89
Thanked 37 Times in 31 Posts
Rep Power: 14 | |
| |
| | #66 |
![]() Join Date: Mar 2007 Location: Reading, UK
Posts: 894
Thanks: 89
Thanked 37 Times in 31 Posts
Rep Power: 14 | I fixed the problem by changing the offset from 1 to 2. Seems to work but I have no idea what else it might break! Code: function getFirstDayOfWeek($year, $weeknr)
{
$offset = date('w', mktime(0,0,0,1,1,$year));
$offset = ($offset < 5) ? 2-$offset : 8-$offset;
$monday = mktime(0,0,0,1,1+$offset,$year);
return strtotime('+' . ($weeknr - 1) . ' weeks', $monday);
}
Last edited by ittech; 21-10-2008 at 02:33 PM.. |
| |
| | #67 |
![]() | So when is version 2 hitting the high street? I can't wait to get my hands on it - It will finally mean being able to scrap the aweful system we have now as soon as webman's app has LDAP. |
| |
| | #68 |
![]() Join Date: Jul 2008 Location: Stuck in the server room......
Posts: 108
Thanks: 9
Thanked 13 Times in 12 Posts
Rep Power: 8 | Can some one help me? I can just get this error ![]() Config file <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); // Full URL to your installation $config['base_url'] = 'http://booking/crbs/'; // Empty string if using .htaccess #$config['index_page'] = 'index.php'; $config['index_page'] = ''; // You shouldn't need to change any of these. $config['layout'] = 'layout'; $config['language'] = 'english'; $config['uri_protocol'] = 'auto'; $config['url_suffix'] = 'http://booking/crbs/'; $config['enable_query_strings'] = FALSE; $config['controller_trigger'] = 'c'; $config['function_trigger'] = 'm'; $config['time_reference'] = 'local'; $config['log_threshold'] = 0; $config['log_path'] = ''; $config['log_date_format'] = 'Y-m-d H:i:s'; $config['cache_path'] = ''; $config['encryption_key'] = ''; $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = ''; $config['sess_match_ip'] = TRUE; $config['sess_match_useragent'] = TRUE; $config['cookie_prefix'] = ''; $config['cookie_domain'] = ''; $config['cookie_path'] = '/'; $config['global_xss_filtering'] = TRUE; $config['enable_hooks'] = False; $config['permitted_uri_chars'] = 'a-z 0-9~%.:_-'; $config['compress_output'] = FALSE; $config['subclass_prefix'] = 'MY_'; $config['rewrite_short_tags'] = FALSE; ?> Database File <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $active_group = "default"; $db['default']['hostname'] = 'booking'; $db['default']['username'] = 'ajones'; $db['default']['password'] = 'password'; $db['default']['database'] = 'crbs'; $db['default']['dbdriver'] = 'mysql'; $db['default']['dbprefix'] = ''; $db['default']['active_r'] = TRUE; $db['default']['pconnect'] = FALSE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = 'dbcache'; ?> I think I have the permissions to the areas set, can anyone help?? Ta! |
| |
| | #69 |
![]() Join Date: Nov 2005 Location: County Durham
Posts: 6,985
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2 Rep Power: 125 | @denon101: Is the database hostname actually 'booking'? Usually MySQL is running on the same server as the webserver so should just be 'localhost'. |
| |
| | #70 |
![]() Join Date: Jul 2008 Location: Stuck in the server room......
Posts: 108
Thanks: 9
Thanked 13 Times in 12 Posts
Rep Power: 8 | I have changed it back to localhost and it has made no difference. Do you need to setup a DB in mysql? the instructions on the wiki does not give instructions on how to setup a db using SQLite. Maybe I am doing this all wrong. Forgive my stupidity. But help would be most appreciated. |
| |
| | #71 |
![]() | I think you need to create a database with a user with rights first. |
| |
| | #72 | |
![]() Join Date: Nov 2005 Location: County Durham
Posts: 6,985
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2 Rep Power: 125 | Ah, SQLite. I've never used that before; but the documentation says: Quote:
| |
| |
| | #73 |
![]() Join Date: May 2008 Location: Swindon, Wiltshire
Posts: 559
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 | I installed the Devizes school one now. Anyone know how to remove the copyright? I'm going to donate anyway, they just haven't got back to me yet. |
| |
| | #74 |
![]() Join Date: May 2008 Location: Swindon, Wiltshire
Posts: 559
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 | Devizes school have yet to get back to me. Can anyone help? |
| |
| | #75 |
![]() | I have just installed classroombookings and have to say looks great and so far been easy to setup. But we've come across a problem where no matter what day you book it adds it today's. All dates are today. I thought i'd check the Week dates option but get page not found "http://moon:8080/room/index.php/weeks/dates_dates.php". We also get it on reports "http://moon:8080/room/index.php/reports" Any ideas about their only being todays date or the missing pages? |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Classroom booking software | Andyhall | Educational Software | 32 | 02-07-2009 02:24 PM |
| Online Resource Booking System | SimpleSi | Web Development | 14 | 29-10-2008 09:34 PM |
| ICT Booking System | sLiDeR | Network and Classroom Management | 3 | 08-08-2007 07:53 AM |
| Online Parental Booking System | robknowles | MIS Systems | 4 | 03-07-2007 07:52 PM |
| Online Booking System | imullings | Educational Software | 2 | 05-09-2006 08:10 PM |
« Block student to student email in Exchange 2k3
|
Handy program for monitoring Laptop battery levels »
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
| |













