• Cannot load Default.xsp: JavaScript Error

    By Benoit Dubuc 1 decade ago

    Steve/Niklas,



    This is what I get when trying to open the default.xsp (tried on a local 8.5.1 client and on a 8.5 FP! server)



    Unexpected runtime error

    The runtime has encountered an unexpected error.

    Error source

    Page Name:/default.xsp

    Property: beforePageLoad



    Exception

    Error while executing JavaScript action expression

    Script interpreter error, line=58, col=12: Reference error: '@ClientType' not found

    • nsf on server or local?

      By Steve Castledine 1 decade ago

      Hi Benoit - I'm not repeating this (v0.01 does not use @clienttype so try that as well).



      I have only tested on a 8.5.1 server - and that is working. I have tested on 8.5.1 client from server and local access and that worked. Is the 8.5.1 client upgraded from 8.5 - or from a beta?

      • I had a thought...

        By Steve Castledine 1 decade ago

        Funny how it happened - I was playing football and for some reason it just came to me - I remembered that maybe the graphic for the search (which is why I could not repeat) had a missing () for its retrieval path formula. Will fix friday morning.

      • By Benoit Dubuc 1 decade ago

        Steve,



        I have a 8.5.1 clean install and a 8.5FP! server. I tried the DB local and on the server and I always get that error regardless.



        I didn't try in the Notes client though…



        Just saw you last post about the revelation during the football game: ain't it funny how things pop up in our minds whenever we expect it the less? I know that feeling, it happens to me as well!



        Thanks for all the work you are doing here and at IBM

        • Fixed

          By Steve Castledine 1 decade ago

          Uploaded 0.03 - I had forgotten a () as thought - apologies.



          I remembered because I copied this code to a blog entry, later realised the () was missing but at the time when correcting that it did not occur to me it was missing because I had copied it from the template itself :)