Announcement

Collapse
No announcement yet.

[SOLVED] Undefined property $sc_page

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Undefined property $sc_page

    In a form application in SC 8 i have this code in onApplicationInit:

    Code:
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_khkansprechpartner']['where_filter']   = "";
    (delete quick search box)

    This generate the following error:

    Undefined property: form_khkansprechpartner_form::$sc_page
    In SC 7 there is no problem with it ...
    Best regards: - Reinhard -

    I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

  • #2
    Hello,

    Not sure if this is really a bug. Perpahs the code isn't working anymore due a modification on our internal code.

    Have you tried to use that code on the onScriptInit() event?

    I will verify the issue with our bugs team.

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      Hi Bernhard,

      so, in onScriptInit this code works not. No errors, but also the quick search is not working ... But everything works with code in event onLoad .
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment


      • #4
        Undefined property $sc_page
        In a form application in SC 8 i have this code in onApplicationInit:

        Code:
        $_SESSION['sc_session'][$this->Ini->sc_page]['form_khkansprechpartner']['where_filter'] = "";
        (delete quick search box)

        This generate the following error:

        Undefined property: form_khkansprechpartner_form::$sc_page
        In SC 7 there is no problem with it ...
        ************************************************** ********
        We are Developing your Future Business Requirement right now with Scriptcase.
        www.sri.com.au & www.madikonda.com

        Comment


        • #5
          @madikonda: why you quote only my post?
          Best regards: - Reinhard -

          I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

          Comment


          • #6
            Originally posted by RHS View Post
            Hi Bernhard,

            so, in onScriptInit this code works not. No errors, but also the quick search is not working ... But everything works with code in event onLoad .
            Work fine? Good!

            Ticker solved and closed.

            Very thanks for your feedback Reinhard!

            Have a good day!
            Best regards,
            Thomas Soares.
            ScriptCase International.

            Email: t.soares@scriptcase.net
            Visit our Blog: http://www.scriptcase.net/blog/
            Visit out fan page: http://www.facebook.com/Scriptcase

            Comment

            Working...
            X