This topic is locked

Warning: mysql_connect

2/25/2006 12:04:02 PM
PHPRunner General questions
B
blognex author

Hi,
Just testing phprunner out and seems powerful.
A couple of bugs, it had left out double quotes on some variables in if statements and right now it's giving this error after logging in
Warning: mysql_connect(): Unknown MySQL Server Host '##CONNECTHOST##' (1)

Fatal error: Unknown MySQL Server Host '##CONNECTHOST##' (1)
Now I'm guessing that's because they are not set in any file
dbcommon just has ##CONNECTHOST##
Also noticed the list of files given in step 12 are not actually created, for example no
tablename_dbconnection.php files are created even though it lists one for each table.
Any help appreciated as it looks like it could save us hours in coding.
GR

Sergey Kornilov admin 2/27/2006

Hi,
it seems that PHPRunner files are corrupted. Please close all instances of PHPRunner, download it anew:

http://www.asprunner.com/files/phprunner-setup.exe and install.

B
blognex author 2/27/2006

Hi,

it seems that PHPRunner files are corrupted. Please close all instances of PHPRunner, download it anew:

http://www.asprunner.com/files/phprunner-setup.exe and install.


Done that, same problem, it's still listing files that don't get created and dbcommon still doesn't have the database connection details in it, if it supposed to.
It also creates the 'include' directory as 'INCLUDE' but references it within files as 'include' (lower case) not a problem for you windows guys but a pain for us on nix.

jimhnet 2/27/2006

I get a similar problem, the db_connection string seems to be dropping part of the table name.
Technical information

Error type 256

Error description Incorrect table name 'maili() and (1<0) '

URL www.pvshosting.com/retirelist/retireelistedit/mailist2_list.php?

Error file /home/host/public_html/retirelist/retireelistedit/include/dbconnection.php

Error line 26

SQL query
I'm only using edit and list in this project(shoudld not matter to connection string). The table (mailist2) connects find in 3.0 and allows you to get to all of the fields okay.
I'm running on php 4.4.0 and mysql 4.025 on Centos(Linux).
I was running on build 83 I believe, which I inadvertantly overwrote with the final release. If its going to take a while can we get one of the other builds back. This is a production db with 26000 records in the table which need to be edited.
Thanks
Jim Freeman

Sergey Kornilov admin 2/27/2006

Jim,
we have fixed this issue today. Please download the latest build and rebuild your project. Make sure you use default template. Here is the link: http://www.asprunner.com/files/phprunner-setup.exe