This topic is locked

phprunner testing difficulties

12/6/2005 4:42:55 PM
PHPRunner General questions
D
drew author

Hi there,
I am trying to do a very simple test of phprunner for an upcoming project.
I am using phprunner with Apache/2.0.55 (Win32) and PHP/5.1.1
I am trying to use the default facilities on a single mysql table for my initial test. But keep encountering

the following error(s)
"t1" , "Field2"=>"t2"); $thumbnail_maxsize = 150; ?>

Notice: Undefined variable: strTableName in C:\Program Files\Apache Group\Apache2\htdocs\include\doreen_functions.php on line 5
PHP error happened
Technical information

Error type 256

Error description You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where 1<0' at line 1

URL localhost/doreen_list.php

Error file C:\Program Files\Apache Group\Apache2\htdocs\include\dbconnection.php

Error line 26

SQL query
I have tried searching php and apache sites for config difficulties since I just installed them on this computer but am getting nowhere.
Any suggestions?

Sergey Kornilov admin 12/7/2005

Hi,
Please set short_open_tag PHP cofiguration option to On in php.ini file.

Under Windows this file is located in C:\Windows folder.

Then restart Apache.
The current version of PHPRunner works only with this setting set to On.

D
drew author 12/7/2005

Worked Great!
Thank You Very Much