php4/apache/mysql $Connector error

Help
2000-06-13
2000-06-13
  • Jalon Q. Zimmerman

    I am running Redhat 6.2, with the latest stable Apache/mysql/php4 builds from source.

    apache/php/mysql works great for other apps.

    I have tried this with photoseek 0.2.2 as well as the latest CVS checkout with identical results.

    the mysql photoseek db is initialized, all tables are empty.

    the initial photoseek page appears okay, but pulling up admin.php or any other page produces error(s) similar to the following:

    Warning: Supplied argument is not a valid MySQL-Link resource in class.db_mysql.inc on line 44

    line 44 is:

    $result = mysql_db_query ($db_name, $query, $this->Connection);

    it would seem that php does not like the "$this->Connection" argument.

    ideas?

     
    • Jalon Q. Zimmerman

      afer a bit more research, I found that things work beautifully with 0.2 and 0.2.1 - the problem seems to have appeared in 0.2.2

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks