CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Invalid SQL statement in Bookstore - help needed

Print topic Send  topic

Author Message
Pablo
Posted: 01/07/2003, 7:22 AM

I have this in mysql+php bookstore sample in AdminEditorials.php:

"Database error: Invalid SQL: SELECT COUNT(*) FROM bs_editorial_categories INNER JOIN bs_editorials LEFT JOIN bs_items ON bs_editorials.item_id = bs_items.item_id ON bs_editorial_categories.editorial_cat_id = bs_editorials.editorial_cat_id
MySQL Error: 1064 (You have an error in your SQL syntax near 'LEFT JOIN bs_items ON bs_editorials.item_id = bs_items.item_id ON bs_editorial_c' at line 1)"

The rest of sample works OK. It was not modified at all - just install.
Does anyboby knows what is going on?
Thanks in advance
Pablo
RonB
Posted: 01/07/2003, 8:11 AM

Check the table names in the database. I beleive there were som problems with changed table names not reflected in the CCS queries.

Ron

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.