Menu

Creating Form Name with Error???

Help
Anonymous
2004-06-03
2004-06-04
  • Anonymous

    Anonymous - 2004-06-03

    Hi,

    Today I could only pass only two steps during installation process (1. Login and 2.Db install). During my next step, when I tryed create form name, I received the two following error messages:

    Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/sylex_php_forms/library/db.inc.php on line 73

    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/sylex_php_forms/library/db.inc.php:73) in /usr/local/apache2/htdocs/sylex_php_forms/library/modules.inc.php on line 307

    But, in spite of, my form name was created in mysql db.

    My system: RHL 9.0, Apache 2.0.49, PHP 4.3.6, MySQL 3.23.49.

    Please help me!!!

    Best Regrads,
    Nikolai Vitsyn
    --------------------
    Hudson, NC

     
    • Miguel Fernández Corral

      I know, is a small bug in "library/db.inc.php" on line 73. You have two posibilities:

      1.- Download again the 1.1.3 version, the bug is fixed.
      2.- Change in the db.inc.php file, on line 73:

      return mysql_insert_id($this->ln); for
      return mysql_insert_id($mysql_link);

      Thanks Nikolai and enjoy.

       

Log in to post a comment.