+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 55
Home Access Plus+ Thread, [v7.5] Booking System Updates in Projects:; Hi Nick, I have same problems as Matt. But as an added issue the .xml files I've imported for 'static ...
  1. #31

    Join Date
    May 2009
    Posts
    28
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Nick, I have same problems as Matt. But as an added issue the .xml files I've imported for 'static bookings' is not viewable on the calendar although they appear in the admin panel. Using Server 2003 and IIS 6. If I attempt to edit a static booking I get a message about tables. Sorry not to be clear, but just thought of this before I go and get an early night for a change!

  2. #32
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Quote Originally Posted by nickbro View Post
    SIMS import still isn't working yet. As for the other matter, something isn't running correctly. HAP+ isn't returning the data correctly to the user when an Update is called. Which is telling me your server isn't responding with a JSON response. What Server are you running HAP+ on?
    Windows Server 2008 R2 Enterprise (sp1) (64bit) - Is there anything i can do to test JSON?

  3. #33
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    There is something you can try, see http://www.edugeek.net/forums/home-a...tml#post742186

  4. #34
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    54
    any idea what what be occuring here. Chrome and HAP 7.5

    [v7.5] Booking System Updates-no-bookings.png
    It's always blank even if I add static bookings

    edit: same in IE
    Last edited by cromertech; 18th October 2011 at 02:33 PM.

  5. #35
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Can you try some of the steps outlined in http://www.edugeek.net/forums/home-a...tml#post742186

  6. #36

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Nick

    HAP 7.5 Booking system Rocks have one small bit of non functionality though.

    [v7.5] Booking System Updates-hap75d.jpg

    when first go to the booking system and see todays bookings I pop down the month calendar but moving forward a month just doesnt happen, any ideas?

    BTW using Windows 7 IE9

    Thanks Dave

  7. #37
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Can you view the source of the website, look for
    HTML Code:
    var user = { username: .... };
    Paste that in here so I can have a look. The calendar won't allow you to go forward/backward if the date if you are not an admin, or you only have 2 weeks ahead that doesn't cross the week barrier.

    Can you check for javascript errors

  8. #38
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Quote Originally Posted by mattgrimley View Post
    Windows Server 2008 R2 Enterprise (sp1) (64bit) - Is there anything i can do to test JSON?
    Quote Originally Posted by mattgrimley
    5> Admin CANNOT Remove its own booking

    Firebug shows:
    "NetworkError: 401 Unauthorized - https://portal.site.sch.uk/hap/api/BookingSystem/Booking/1-11-2011"

  9. #39

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    Can you view the source of the website, look for
    HTML Code:
    var user = { username: .... };
    Paste that in here so I can have a look. The calendar won't allow you to go forward/backward if the date if you are not an admin, or you only have 2 weeks ahead that doesn't cross the week barrier.

    Can you check for javascript errors
    how is this nick

    var user = { username: 'HS', isAdminOf: [ 'LC1', 'LC2', 'LC3' ], isBSAdmin: true, minDate: new Date(2011, 9, 19), maxDate: new Date(2011, 9, 7), maxBookings: -1 };


    HS is my username and am a member of domain admin's and teachers

  10. #40
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    The problem is coming from
    Code:
    new Date(2011, 9, 19), maxDate: new Date(2011, 9, 7)
    You need to go into the Control Panel, and make sure all of the term dates are correct. The system will use the last term date for the maxDate for Domain Admins.

    2011, 9, 7 == 7/10/2011 (your limit date, this should be July Next Year really)
    2011, 9, 19 == 19/10/2011 (this is basically the current date or the min date, this is working correctly)

  11. #41

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    [v7.5] Booking System Updates-bookiuntitled.png
    Quote Originally Posted by nickbro View Post
    The problem is coming from
    Code:
    new Date(2011, 9, 19), maxDate: new Date(2011, 9, 7)
    You need to go into the Control Panel, and make sure all of the term dates are correct. The system will use the last term date for the maxDate for Domain Admins.

    2011, 9, 7 == 7/10/2011 (your limit date, this should be July Next Year really)
    2011, 9, 19 == 19/10/2011 (this is basically the current date or the min date, this is working correctly)
    here is my termdates.xml

















    as youcan see we have four terms and I have figured out that is getting the limit date from term 3 and not term 4
    , not sure what to do about it
    Cheers Dave


    PS does it matter about the half term dates , we dont have halfterm breaks as such but I could use them for teacher only Professional development days?

    I added some new resources and changed an existing one they do not seem to have been populated - could be the same problem??
    Last edited by CountNZ; 20th October 2011 at 09:39 AM. Reason: additional

  12. #42
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    This is odd, there is nothing hard coded in HAP+ that states to just load 3 terms, I use terms.Count - 1 for initializing the array (arrays start at 0, so 0 -> 3 == 4). The only thing I can think of is the half term dates. Can you set these to be a Saturday and make sure they fall inside the term

    What's happening is the system is picking up on term 3 because of the half term dates, and ignoring term 4 because, again, of the half term dates

    Code:
    foreach (Term t in terms)
        if (date >= t.StartDate && date <= t.EndDate)
        {
            if (date >= t.HalfTerm.StartDate && date <= t.HalfTerm.EndDate)
            {
                 date = t.HalfTerm.EndDate;
                 if (date.DayOfWeek == DayOfWeek.Friday) date.AddDays(3);
                 else if (date.DayOfWeek == DayOfWeek.Saturday) date.AddDays(2);
                 else if (date.DayOfWeek == DayOfWeek.Sunday) date.AddDays(1);
             }
         }
    Last edited by nickbro; 20th October 2011 at 10:11 AM.

  13. #43
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Can you also try the attached dlls

  14. #44

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Nick

    Have been away for a few days so back to looking at the booking system.

    I changed the mid term dates to Saturdays and added the two dlls from bin.zip and restarted iis.

    Also had a poke around to see why the resources were not showing as free (ie just white space where
    it should be a grey square saying Free/not booked and realised that the resources that were blank
    had spaces in the name so I took out spaces in the rersource name and they all show now. great!
    interesting that you can have a space in the lesson name? but not the resource name.



    ie var user = { username: 'HS', isAdminOf: [ 'LC1-30', 'LC2', 'LC3', 'T9Classroom-15', 'B1Classroom-15',
    'SciencePOD-18', 'C1Classroom-30', 'ScienceLaptops-8', 'Minibus1', 'Minibus2' ], isBSAdmin: true, minDate:
    new Date(2011, 9, 25), maxDate: new Date(2011, 9, 7), maxBookings: -1 };

    still unable to expand the small calendar and still showing the same maxdate on my logon also the
    overview shows this error

    [v7.5] Booking System Updates-ovcal.png

    tried logging on as a normal teacher and was able to expand the small calendar andd the pages source shows
    the correct maxdate

    var user = { username: 'hs2', isAdminOf: [ ], isBSAdmin: false, minDate: new Date(2011, 9, 25),
    maxDate: new Date(2011, 10, 27), maxBookings: 5 };

    [v7.5] Booking System Updates-hap22.png

    however still the same error page when trying to get the overview

    Thanks for your time on this

    Dave

  15. #45

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Take the spaces out of the resource names

    It worked for me

  16. Thanks to CountNZ from:

    cromertech (25th October 2011)

SHARE:
+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [v7.5] Booking System Update
    By nickbro in forum Home Access Plus+
    Replies: 4
    Last Post: 25th September 2011, 03:48 PM
  2. Home Access Plus+ V7 Booking System Issues
    By wdwm in forum Home Access Plus+
    Replies: 20
    Last Post: 24th September 2011, 08:23 PM
  3. Online Resource Booking System
    By SimpleSi in forum Web Development
    Replies: 14
    Last Post: 29th October 2008, 08:34 PM
  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
  •