+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
Home Access Plus+ Thread, Booking System week view showing blank page in Projects:; I realise that there has been a thread on this recently which suggests doing JSON debugging: http://www.edugeek.net/forums/home-a...ng-system.html I've got HAP ...
  1. #1

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70

    Booking System week view showing blank page

    I realise that there has been a thread on this recently which suggests doing JSON debugging: HAP v10 Problems with booking system

    I've got HAP 10.1 up and running on server 2012R2 and have run firebug. Results are below.

    The only json response I can see is for the black drop down list with links to the various parts of HAP along with the custom category I have set up (Staff):
    Booking System week view showing blank page-capture.png

    I also get the following errors in the console (with the all category selected in the firebug console):

    Code:
    TypeError: (intermediate value)(...) is not a function
    https://localhost/hap/api/js/beforehap?/hap/bookingsystem/Cal.aspx=10.1.420.1900
    Line 10
    Code:
    TypeError: $(...).fullCalendar is not a function
    https://localhost/hap/bookingsystem/Cal.aspx
    Line 146
    Code:
    TypeError: $(...).fullCalendar is not a function
    https://localhost/hap/bookingsystem/Cal.aspx
    Line 194
    Code:
    TypeError: $(...).fullCalendar is not a function
    https://localhost/hap/bookingsystem/Cal.aspx
    Line 194
    One more thing to mention - Thank you for the excellent software!

  2. #2

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70
    I have upgraded to HAP 10.2 and booking system 4.5 and it does the same as above - any ideas?

  3. #3

    Join Date
    May 2011
    Location
    United Kingdom
    Posts
    562
    Thank Post
    135
    Thanked 21 Times in 20 Posts
    Rep Power
    12
    I have the same issue as above too.

  4. #4

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    looks like it's failing to load the calendar jquery plugin, check that the fullCalendar js file exists in the scripts folder

  5. Thanks to nickbro from:

    computer_expert (20th August 2014)

  6. #5

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70
    Hi Nick, I only have a fullcalendar.min.js file. No fullcalendar.js though.

    FYI I downloaded fullcalendar from the authors website (same version as used in hap) and tried the fullcalendar.js on the offchance that it would work but it didn't.

  7. #6

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    hmm, that's for the calendar page not the default page, have you set up your resources in the config section yet? There should be some JSON queries going out to request bookings available for each resource.

  8. Thanks to nickbro from:

    computer_expert (20th August 2014)

  9. #7

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70
    Yep, the resources have been populated (as well as rooms and a few subjects too)

  10. #8

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Can you provide that section of the hapConfig.xml file please?

  11. #9

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70
    Hi Nick,

    I have sent you a PM containing the room booking section from hapconfig.xml

  12. #10

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Check your AD groups you are showing to by using the api call /hap/api/ad/roles/{username}. It'll give you a JSON list of role names which that user is a member of in HAP+'s eyes

  13. Thanks to nickbro from:

    computer_expert (11th September 2014)

  14. #11

    Join Date
    Jul 2009
    Posts
    605
    Thank Post
    56
    Thanked 115 Times in 100 Posts
    Rep Power
    70
    Thanks Nick.

    Tried that and it returns an error about an incorrect username and password:

    Code:
    {"FirstName":null,"SiteName":null,"Token1":null,"Token2":"System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): The user name or password is incorrect.\u000d\u000a\u000d\u000a
    I have verified that the hap account password is indeed correct in setup.aspx.

    (I have also tried setting up hap on both a windows 7 machine and another 2012r2 machine on my test domain at home and both had the same result when using a domain admin account)

  15. #12

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    ok, I think I'm running an alpha build with new AD apis

  16. #13

    Jawloms's Avatar
    Join Date
    Aug 2007
    Posts
    837
    Thank Post
    179
    Thanked 106 Times in 73 Posts
    Rep Power
    185
    Quote Originally Posted by computer_expert View Post
    Thanks Nick.

    Tried that and it returns an error about an incorrect username and password:

    Code:
    {"FirstName":null,"SiteName":null,"Token1":null,"Token2":"System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): The user name or password is incorrect.\u000d\u000a\u000d\u000a
    I have verified that the hap account password is indeed correct in setup.aspx.

    (I have also tried setting up hap on both a windows 7 machine and another 2012r2 machine on my test domain at home and both had the same result when using a domain admin account)
    Did you solve this as I am getting the same error when I try the /hap/api/ad/roles/username thing.

    Stuart

  17. #14

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    It's part of an alpha version of 10.3, if you download the latest source code and build hap.ad it's part of that

  18. #15

    Jawloms's Avatar
    Join Date
    Aug 2007
    Posts
    837
    Thank Post
    179
    Thanked 106 Times in 73 Posts
    Rep Power
    185
    If it's part of an Alpha, how come I've got it as I installed the "HAP+ v10.0 Final". And sorry but I don't know what you mean by build hap.ad.



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. HAP booking system not showing booking on main page
    By SeanVin in forum Home Access Plus+
    Replies: 2
    Last Post: 30th May 2014, 12:53 AM
  2. Replies: 6
    Last Post: 13th July 2013, 12:20 AM
  3. Weird booking system - week 1/week 2 issue
    By mattgrimley in forum Home Access Plus+
    Replies: 1
    Last Post: 26th June 2013, 05:51 PM
  4. End Column - Booking System - Not showing correctly
    By pjb in forum Home Access Plus+
    Replies: 3
    Last Post: 22nd April 2013, 11:42 AM
  5. Booking System Only Showing Student Users
    By enjay in forum Home Access Plus+
    Replies: 6
    Last Post: 8th November 2011, 10:49 AM

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
  •