mysql_connect error using checkin.php
Posted: 25 Jan 2006, 05:26
I have just installed Mantis 1.0.0rc5 on a new server and am trying to integrate with SVN. I have had this working before with Mantis0.19.2.
I keep getting the following error from my post-commit.bat hook script:
[quote]Fatal error: Call to undefined function mysql_connect() in E:\WWW\mantis-1.0.0rc5\core\adodb\drivers\adodb-mysql.inc.php on line 338[/quote] This occurs when checkin.php runs [code]require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );[/code] The rest of checkin.php does not run. Mysql_connect works for other applications on this server.
The rest of Mantis works fine and core.php is required by most pages. The only difference that I can see is that checkin.php is run directly by php and not through the web server.
Does anyone have any suggestions?
I keep getting the following error from my post-commit.bat hook script:
[quote]Fatal error: Call to undefined function mysql_connect() in E:\WWW\mantis-1.0.0rc5\core\adodb\drivers\adodb-mysql.inc.php on line 338[/quote] This occurs when checkin.php runs [code]require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );[/code] The rest of checkin.php does not run. Mysql_connect works for other applications on this server.
The rest of Mantis works fine and core.php is required by most pages. The only difference that I can see is that checkin.php is run directly by php and not through the web server.
Does anyone have any suggestions?