+ Post New Thread
Page 5 of 15 FirstFirst 123456789 ... LastLast
Results 61 to 75 of 219
How do you do....it? Thread, Classroom booking System in Technical; Originally Posted by webman Is WAMP running? What do you get when you just browse to http://localhost/ ? WAMP says ...
  1. #61
    sippo's Avatar
    Join Date
    May 2008
    Location
    Swindon, Wiltshire
    Posts
    1,241
    Thank Post
    107
    Thanked 103 Times in 80 Posts
    Rep Power
    37
    Quote Originally Posted by webman View Post
    Is WAMP running? What do you get when you just browse to http://localhost/ ?
    WAMP says its online. I have started all the services. When I try to access localhost its the http 400 bad request- web page cannot be displayed.

  2. #62

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,270
    Blog Entries
    2
    Thank Post
    595
    Thanked 877 Times in 615 Posts
    Rep Power
    277
    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.

  3. #63
    sippo's Avatar
    Join Date
    May 2008
    Location
    Swindon, Wiltshire
    Posts
    1,241
    Thank Post
    107
    Thanked 103 Times in 80 Posts
    Rep Power
    37
    Nothing in the error log....

  4. #64

    Join Date
    Mar 2008
    Location
    UK
    Posts
    47
    Thank Post
    3
    Thanked 4 Times in 4 Posts
    Rep Power
    8
    If I can find a test server to install IIS on I'll give it a go today and see how I get on.
    That would be very kind of you if you could. Equally, if you don't have time, please let me know too. Thanks a lot.

    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.

  5. #65
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Location
    Reading, UK
    Posts
    1,836
    Blog Entries
    10
    Thank Post
    198
    Thanked 147 Times in 124 Posts
    Rep Power
    32
    I've got a problem with the booking system.

    Suddenly today its started not putting the days properly



  6. #66
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Location
    Reading, UK
    Posts
    1,836
    Blog Entries
    10
    Thank Post
    198
    Thanked 147 Times in 124 Posts
    Rep Power
    32
    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 zag; 21st October 2008 at 02:33 PM.

  7. #67

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    493
    Thanked 688 Times in 443 Posts
    Rep Power
    236
    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.

  8. #68
    denon101's Avatar
    Join Date
    Jul 2008
    Location
    Stuck in the server room......
    Posts
    258
    Thank Post
    24
    Thanked 26 Times in 24 Posts
    Rep Power
    15
    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!

  9. #69

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,270
    Blog Entries
    2
    Thank Post
    595
    Thanked 877 Times in 615 Posts
    Rep Power
    277
    @denon101: Is the database hostname actually 'booking'? Usually MySQL is running on the same server as the webserver so should just be 'localhost'.

  10. #70
    denon101's Avatar
    Join Date
    Jul 2008
    Location
    Stuck in the server room......
    Posts
    258
    Thank Post
    24
    Thanked 26 Times in 24 Posts
    Rep Power
    15
    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.

  11. #71

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    493
    Thanked 688 Times in 443 Posts
    Rep Power
    236
    I think you need to create a database with a user with rights first.

  12. #72

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,270
    Blog Entries
    2
    Thank Post
    595
    Thanked 877 Times in 615 Posts
    Rep Power
    277
    Ah, SQLite. I've never used that before; but the documentation says:

    For example, when using SQLite you will not need to supply a username or password, and the database name will be the path to your database file. The information above assumes you are using MySQL
    I would create a SQLite DB first using your preferred method, and then just set the database config file to the path of the SQLite file.

  13. #73
    sippo's Avatar
    Join Date
    May 2008
    Location
    Swindon, Wiltshire
    Posts
    1,241
    Thank Post
    107
    Thanked 103 Times in 80 Posts
    Rep Power
    37
    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.

  14. #74
    sippo's Avatar
    Join Date
    May 2008
    Location
    Swindon, Wiltshire
    Posts
    1,241
    Thank Post
    107
    Thanked 103 Times in 80 Posts
    Rep Power
    37
    Devizes school have yet to get back to me. Can anyone help?

  15. #75

    Join Date
    Mar 2007
    Location
    Devon
    Posts
    800
    Thank Post
    123
    Thanked 33 Times in 30 Posts
    Rep Power
    18
    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?

SHARE:
+ Post New Thread
Page 5 of 15 FirstFirst 123456789 ... LastLast

Similar Threads

  1. Classroom booking software
    By Andyhall in forum Educational Software
    Replies: 32
    Last Post: 2nd July 2009, 02:24 PM
  2. Online Resource Booking System
    By SimpleSi in forum Web Development
    Replies: 14
    Last Post: 29th October 2008, 09:34 PM
  3. ICT Booking System
    By sLiDeR in forum Network and Classroom Management
    Replies: 3
    Last Post: 8th August 2007, 07:53 AM
  4. Online Parental Booking System
    By robknowles in forum MIS Systems
    Replies: 4
    Last Post: 3rd July 2007, 07:52 PM
  5. Online Booking System
    By imullings in forum Educational Software
    Replies: 2
    Last Post: 5th September 2006, 08:10 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •