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?
mysql_connect error using checkin.php
Moderators: Developer, Contributor
Same problem with mantis 1.0.5
I have the same problem executing checkin.php:
# php -f /var/www/mantis/core/checkin.php < messagefile
Fatal error: Call to undefined function mysql_pconnect() in /var/www/mantis/core/adodb/drivers/adodb-mysql.inc.php on line 355
can anyone help me?
I'm runnig mantis 1.0.5 on ubuntu dapper drake with php5 and everything else works fine, including mantis
# php -f /var/www/mantis/core/checkin.php < messagefile
Fatal error: Call to undefined function mysql_pconnect() in /var/www/mantis/core/adodb/drivers/adodb-mysql.inc.php on line 355
can anyone help me?
I'm runnig mantis 1.0.5 on ubuntu dapper drake with php5 and everything else works fine, including mantis
Set PHPRC env var in Windows 2003
I fixed this problem in Windows 2003 by setting the PHPRC environment variable.