This topic is locked

change required in dbcommon

8/24/2006 4:45:07 AM
PHPRunner General questions
A
ACV author

After building the applicaiton dbcommon contains the field:

$host="www.ac-valkenburg.nl";;
This is correctly copied from the configuration of phprunner. However when I start the application on the webserver I need to change this first to "localhost" otherwise an error is returned.
Is there a solution for this annoying issue? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=3257&image=1&table=forumtopics' class='bbcemoticon' alt='<<' />

J
Jane 8/24/2006

Hi,
edit include/dbcommon.php file to achieve what you want.

A
ACV author 9/13/2006

Hi,

edit include/dbcommon.php file to achieve what you want.


Hi,
Is there any workaround. Now almost every change I make also uploads a new updated version of dbcommon, which means that I have to edit this file again and again,
Brgd,

Jos

J
Jane 9/14/2006

Jos,
you also can make changes in the template file.

Create new templates on the Miscellaneous tab, open include/dbcommon.php file and replace

$host="##CONNECTHOST##";



with this one:

$host="localhost";