This topic is locked

PHPRUnner 6 not building old mysql connection

1/26/2012 8:07:33 AM
PHPRunner General questions
V
Vienna author

I have spent hours now trying to get into a project I uploaded online where I have two other working projects from PHR 5.3 and 1 working test project from PHPRunner 6.
My hosting server is not honoring the mysqli connections. So I have to use mysql. The PHP is 5+ and MySQL 5+.
Despite saving and updating and opening and closing I cannot get PHPRunner 6, since this morning, to use the Force Output to Use the mysql library.
$host="localhost";

$user="root";

$pwd="";

$port="";

$sys_dbname="maxx";

$useOldMysqlLib = true;
and the same for trying a build for the online database .... the last line >>> $useOldMysqlLib = true;
is not being honored by PHPRunner 6
I have been looking at the files trying to give the login.php nothing but mysql connections but it has not worked yet.
Is there a way to "Reset" PHPRunner 6 to process the $useOldMysqlLib = true; variable in the Connection script?
Thank you!

V
Vienna author 1/26/2012

Sorry, I see have 3 posts here. From my side the browser went round and round and round after posting and I was trying to return to the Forum but the Forum was not returning.

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=63955&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />



I have spent hours now trying to get into a project I uploaded online where I have two other working projects from PHR 5.3 and 1 working test project from PHPRunner 6.
My hosting server is not honoring the mysqli connections. So I have to use mysql. The PHP is 5+ and MySQL 5+.
Despite saving and updating and opening and closing I cannot get PHPRunner 6, since this morning, to use the Force Output to Use the mysql library.
$host="localhost";

$user="root";

$pwd="";

$port="";

$sys_dbname="maxx";

$useOldMysqlLib = true;
and the same for trying a build for the online database .... the last line >>> $useOldMysqlLib = true;
is not being honored by PHPRunner 6
These are the localhost warnings. Less descriptive errors at the online site.
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\Users\maxx\Documents\PHPRunnerProjects\maxxSundayEVE2012-testThurs\output\include\dbconnection.my.mysqli.php on line 38
Warning: mysqli_error() expects parameter 1 to be mysqli, null given in C:\Users\maxx\Documents\PHPRunnerProjects\maxxSundayEVE2012-testThurs\output\include\dbconnection.my.mysqli.php on line 40
Fatal error: in C:\Users\Apomaxx\Documents\PHPRunnerProjects\maxxSundayEVE2012-testThurs\output\include\dbconnection.my.mysqli.php on line 40
I have been looking at the files trying to give the login.php nothing but mysql connections but it has not worked yet.
Is there a way to "Reset" PHPRunner 6 to process the $useOldMysqlLib = true; variable in the Connection script?
Thank you!