Menu

Invalid access to memory location.

Help
Bandorka
2008-04-23
2013-04-22
  • Bandorka

    Bandorka - 2008-04-23

    Hi,

    This is the message I get after I enable in the 5.2.5 PHP ini the ODBTP dll that I downloaded from the CVS repository.
    I use IIS and Windows 2003 server.
    Please help. What could be the problem?

    Thanks

    B

     
    • Robert Twitty

      Robert Twitty - 2008-04-24

      Try running the same script, or another test script via the PHP command line interpreter. This will verify if this pertains to IIS or the 5.2.X php_odbtp.dll.

      -- bob

       
    • Bandorka

      Bandorka - 2008-04-24

      Great! I found the error. The mssql module was enabled twice in the php.ini. So i am dull, I did comment out one but the other no. So now this works ok.

      Another issue.

      I need to retrieve unicode data from nvarchar field from mssql (english, czech, hun, russian) but strange characters are returned. How should you treat unicode with ODBTP?

      Thanks

      Andras

       
    • Robert Twitty

      Robert Twitty - 2008-04-24

      UNICODE text is returned using UTF-8 encoding. You need to set the HTML page content encoding to UTF-8.

      -- bob

       
    • Bandorka

      Bandorka - 2008-04-24

      Indeed! I found the same. Setting in the conf to unicode text and encoding to utf-8.
      Works like charm! Fantastic! The only solution that works on this globe, incredible.
      Microsoft just issued a php compatibility but that does not work either.

      Thanks

      Andras

       

Log in to post a comment.