Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds 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
How do you do...it? Sponsored by PHD Virtual

Do you know how to do it? Do you want to let other people know? Post them here. We'll move them once we get a Wiki setup.

Go Back   EduGeek.net Forums > Technical > How do you do....it?
Reply
 
LinkBack Thread Tools Search Thread
Old 13-10-2008, 09:47 AM   #61
 
sippo's Avatar
 
Join Date: May 2008
Location: Swindon, Wiltshire
Posts: 559
england
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 sippo has a spectacular aura about sippo has a spectacular aura about sippo has a spectacular aura about
Default

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.
  Reply With Quote
Old 13-10-2008, 10:04 AM   #62
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 6,985
uk uk durham city
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2
Rep Power: 125 webman ooh
webman ooh webman ooh
Default

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.
  Reply With Quote
Old 13-10-2008, 10:10 AM   #63
 
sippo's Avatar
 
Join Date: May 2008
Location: Swindon, Wiltshire
Posts: 559
england
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 sippo has a spectacular aura about sippo has a spectacular aura about sippo has a spectacular aura about
Default

Nothing in the error log....
  Reply With Quote
Old 13-10-2008, 06:10 PM   #64
 
Shuriken1's Avatar
 
Join Date: Mar 2008
Location: UK
Posts: 6
uk uk sussex
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0 Shuriken1 is an unknown quantity at this point
Default

Quote:
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.
  Reply With Quote
Old 20-10-2008, 01:38 PM   #65
 
ittech's Avatar
 
Join Date: Mar 2007
Location: Reading, UK
Posts: 894
england
Thanks: 89
Thanked 37 Times in 31 Posts
Rep Power: 14 ittech has a spectacular aura about ittech has a spectacular aura about
Default

I've got a problem with the booking system.

Suddenly today its started not putting the days properly


  Reply With Quote
Old 21-10-2008, 02:31 PM   #66
 
ittech's Avatar
 
Join Date: Mar 2007
Location: Reading, UK
Posts: 894
england
Thanks: 89
Thanked 37 Times in 31 Posts
Rep Power: 14 ittech has a spectacular aura about ittech has a spectacular aura about
Default

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..
  Reply With Quote
Old 21-10-2008, 03:42 PM   #67
 
Hightower's Avatar
 
Join Date: Jun 2008
Location: Cloud 9
Posts: 2,115
england uk durham city
Thanks: 197
Thanked 132 Times in 105 Posts
Rep Power: 42 Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of
Send a message via MSN to Hightower Send a message via Skype™ to Hightower
Default

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.
  Reply With Quote
Old 23-10-2008, 11:19 AM   #68
 
denon101's Avatar
 
Join Date: Jul 2008
Location: Stuck in the server room......
Posts: 108
uk
Thanks: 9
Thanked 13 Times in 12 Posts
Rep Power: 8 denon101 will become famous soon enough denon101 will become famous soon enough
Default

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!
  Reply With Quote
Old 23-10-2008, 11:21 AM   #69
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 6,985
uk uk durham city
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2
Rep Power: 125 webman ooh
webman ooh webman ooh
Default

@denon101: Is the database hostname actually 'booking'? Usually MySQL is running on the same server as the webserver so should just be 'localhost'.
  Reply With Quote
Old 23-10-2008, 11:42 AM   #70
 
denon101's Avatar
 
Join Date: Jul 2008
Location: Stuck in the server room......
Posts: 108
uk
Thanks: 9
Thanked 13 Times in 12 Posts
Rep Power: 8 denon101 will become famous soon enough denon101 will become famous soon enough
Default

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.
  Reply With Quote
Old 23-10-2008, 11:50 AM   #71
 
Hightower's Avatar
 
Join Date: Jun 2008
Location: Cloud 9
Posts: 2,115
england uk durham city
Thanks: 197
Thanked 132 Times in 105 Posts
Rep Power: 42 Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of Hightower has much to be proud of
Send a message via MSN to Hightower Send a message via Skype™ to Hightower
Default

I think you need to create a database with a user with rights first.
  Reply With Quote
Old 23-10-2008, 11:57 AM   #72
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 6,985
uk uk durham city
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2
Rep Power: 125 webman ooh
webman ooh webman ooh
Default

Ah, SQLite. I've never used that before; but the documentation says:

Quote:
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.
  Reply With Quote
Old 04-11-2008, 03:57 PM   #73
 
sippo's Avatar
 
Join Date: May 2008
Location: Swindon, Wiltshire
Posts: 559
england
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 sippo has a spectacular aura about sippo has a spectacular aura about sippo has a spectacular aura about
Default

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.
  Reply With Quote
Old 11-11-2008, 10:49 AM   #74
 
sippo's Avatar
 
Join Date: May 2008
Location: Swindon, Wiltshire
Posts: 559
england
Thanks: 27
Thanked 41 Times in 30 Posts
Rep Power: 12 sippo has a spectacular aura about sippo has a spectacular aura about sippo has a spectacular aura about
Default

Devizes school have yet to get back to me. Can anyone help?
  Reply With Quote
Old 19-11-2008, 05:21 PM   #75
 
dave.81's Avatar
 
Join Date: Mar 2007
Location: Devon
Posts: 585
uk uk devon
Thanks: 31
Thanked 16 Times in 16 Posts
Rep Power: 12 dave.81 will become famous soon enough dave.81 will become famous soon enough
Send a message via MSN to dave.81
Default

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?
  Reply With Quote
Reply

EduGeek.net Forums > Technical > How do you do....it?

Similar Threads
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



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:24 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2010 EduGeek.net
SERVER: 4
no new posts