This topic is locked

Error with Printer Friendly Page output

3/3/2006 10:14:56 AM
PHPRunner General questions
T
TerryB author

I would guess I am doing something fairly fundamentally wrong here...
I select the Printer Friendly option and try to outupt the page - I get the following error:
Fatal error: 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 'count(*)' at line 1 in \include\dbconnection.php on line 26
I am using MySQL 5.x and PHP 5.x. I tried checking what it means by the SQL syntax but cannot seem to find anything that corrisponds.
Line 26 in the file reads:
trigger_error(mysql_error(), E_USER_ERROR);
but this call is used earlier in the file and doesn't trip the error handling.

Sergey Kornilov admin 3/6/2006

Terry,
I recommend you to try to build your project with PHPRunner 3.0 build 98.

If error will appear please zip and send generated PHP files to [email=support@xlinesoft.com]support@xlinesoft.com[/email] along database creation script with sample data.

I'll find what's wrong with your project running it on my test box.