This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

PHP Error


  1. agdm619
    Member

    Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\Camp_Condor\Forms\includes\db-core.php on line 11

    I don't know what happened, it was working fine now I got this???

    Thanks,
    Aaron

    Posted 16 years ago #
  2. yuniar

    mysql_connect() is a PHP function which coming from mysql extension.
    It looks like your PHP doesn't have MySQL extension enabled anymore.

    To check it, put this PHP code into a new file and run it:

    <?php phpinfo(); ?>

    See if you have mysql extension enabled there.

    If you can't find it,then you'll need to enable it again.


    MachForm Founder

    Posted 16 years ago #
  3. agdm619
    Member

    I had a jacked up php.ini file I started with a fresh one and added all the right info and now it's up and running great.

    Thanks,

    Aaron

    Posted 16 years ago #

RSS feed for this topic

Reply