This topic is locked

Problem moving project to new host

5/17/2008 8:55:38 AM
PHPRunner General questions
S
stevebrettler author

I have a project that i have had to move to a different host for a client, and get this error now which I didnt before.
Fatal error: Cannot redeclare calcsearchparameters() (previously declared in /home/keithj1/public_html/kj_data/include/dbcommon.php:120) in /home/keithj1/public_html/kj_data/include/commonfunctions.php on line 1199
Can any one point me in the direction of a solution please.
Thanks
Steve

W
wex-alpha 5/17/2008

I have a project that i have had to move to a different host for a client, and get this error now which I didnt before.

Fatal error: Cannot redeclare calcsearchparameters() (previously declared in /home/keithj1/public_html/kj_data/include/dbcommon.php:120) in /home/keithj1/public_html/kj_data/include/commonfunctions.php on line 1199
Can any one point me in the direction of a solution please.
Thanks
Steve


It's most likely user/password situation on your new host.
Make sure you got all the data regarding Db sorted out, and then try again <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29376&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

S
stevebrettler author 5/19/2008

That doesn't appear to be the case, I use the same credentials in other scripts that connect fine, and I would think id get the usual mysql_connect kind of error if that were the case.
Any other thoughts out there?

J
Jane 5/20/2008

It seems you've mixed files built with different PHPRunner versions.

Try to rebuild project to the new directory and upload it again.
If it doesn't help download and install latest PHPRunner update. Then open and rebuild your project again.

S
stevebrettler author 5/20/2008

It seems you've mixed files built with different PHPRunner versions.

Try to rebuild project to the new directory and upload it again.
If it doesn't help download and install latest PHPRunner update. Then open and rebuild your project again.


Thanks jane, I had carried over an older version of dbcommon.php that had the correct login credentials rather then edit up the new one.
Best

Steve