NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP 5.3 Interbase debugging


Joined: 07 Feb 2011
Posts: 2
Reply with quote
Dear All,

I Use NuSphere 5.95 (trial mode) and try to debug following code

Code:
<?php
  class theCore {
      var $db;
           
      function db_con() {
          if (!($this->db = ibase_connect('localhost:database','SYSDBA','masterkey')))
           die('No connection: ' .  ibase_errmsg());                     
      }
     
      function print_row() {
          $stmt = "select d.nomer as NOMER from table d";
          $q = ibase_query($this->db,$stmt);
         
          while ($row=ibase_fetch_object($q)) {
              echo $row->NOMER.'<br/>';
          }
      }
  }
 
?>


when debugging and step in $q = ibase_query($this->db,$stmt); there is error:

Dynamic SQL Error SQL error code = -804 SQLDA missing or incorrect version, or incorrect number/type of variables

Function function db_con() return Firebird link = true;
PhpED use PHP 5.3.

With my XAMPP installation, the script work fine, without error.
View user's profileFind all posts by dubzillaSend private message


Joined: 07 Feb 2011
Posts: 2
Reply with quote
No reply ?! Is there support for PhpED Question
View user's profileFind all posts by dubzillaSend private message
PHP 5.3 Interbase debugging
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic