Announcement

Collapse
No announcement yet.

[SOLVED]Function mssql_connect is not working in new version of Scriptcase

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED]Function mssql_connect is not working in new version of Scriptcase

    HI,

    After the upgrade to php 5.4 ScriptCase the function mssql_connect not working, still doing it without problem coming, which now shows the error is as follows:

    Fatal error: Call to undefined function mssql_connect () in C: \ Program Files \ NetMake \ v71 \ wwwroot \ ScriptCase \ app \ A. ..... db.php on line 1022

    regards

    thanks

  • #2
    Hello,

    What kind of SQL Server connection are you using?

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      Hello,

      In order to use Native SRV or PDO drivers on PHP 5.4, it is neccessary to download the SQL Server 2012 Native Client


      http://downloads.scriptcase.com.br/d...l/00-mssql.htm
      Best Regards,
      John L. Santos

      Bug Tracker Team
      NetMake - IT Solutions

      Comment


      • #4
        Hi, I use MS SQL SERVER 2005 and connect to database with ODBC, i have connection to the database, but i use this code in blank to make a backup of the database.

        thanks

        regards

        Comment


        • #5
          The issue only happens on the blank application?

          regards,
          Bernhard Bernsmann

          Comment


          • #6
            Hi Bernhard, i only use it in black application, really i don´t know if have the same problem in other applications.

            Regard

            Sergio

            Comment


            • #7
              Hello Sergio,

              Have you followed our MS SQL ODBC connection tutorial? http://downloads.scriptcase.com.br/d...ql/02-odbc.htm

              regards,
              Bernhard

              Comment


              • #8
                Hi Bernhard, i have this ODBC created since 1998 in my server, my database have changes but always have the same connection, now i only have the problem executing the function mssql_connect calling in a specific application in scriptcase.

                Thanks

                Regards
                Sergio

                Comment


                • #9
                  Sergio,

                  Are you calling this function through code, or are you calling a macro such as sc_lookup(), sc_select() or sc_exec_sql()?

                  regards,
                  Bernhard Bernsmann

                  Comment


                  • #10
                    Hi Sergio,

                    Originally posted by SADALID23 View Post
                    [...] now i only have the problem executing the function mssql_connect calling in a specific application in scriptcase.
                    mssql_connect(): this extension is not available anymore on Windows with PHP 5.3 or later. Thats not a SC problem/bug. John has posted in #3 what you can do ...
                    Best regards: - Reinhard -

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

                    Comment


                    • #11
                      thanks for everything
                      == http://www.solitaire-champ.com/ ==

                      Comment

                      Working...
                      X