500 - JDatabaseMySQL::query: 1064 error on debug - Joomla! Forum - community, help and support


hi,

could advise me on one.

when enabled "debug system" error

500 - jdatabasemysql::query: 1064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near 'p.product_name asc' @ line 1 sql=select c.* pro25_redshop_category c left join pro25_redshop_category_xref cx on cx.category_child_id=c.category_id c.published = 1 , cx.category_parent_id='211' p.product_name asc

code: select all

jdatabasemysql::query: 1064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near 'p.product_name asc' @ line 1 sql=select c.* pro25_redshop_category c left join pro25_redshop_category_xref cx on cx.category_child_id=c.category_id c.published = 1 , cx.category_parent_id='211' p.product_name asc
call stack
#   function   location
1   jsite->dispatch()   jroot/index.php:42
2   jcomponenthelper::rendercomponent()   jroot/includes/application.php:197
3   jcomponenthelper::executecomponent()   jroot/libraries/joomla/application/component/helper.php:351
4   require_once()   jroot/libraries/joomla/application/component/helper.php:383
5   jcontroller->execute()   jroot/components/com_redshop/redshop.php:192
6   jcontroller->display()   jroot/libraries/joomla/application/component/controller.php:761
7   categoryviewcategory->display()   jroot/libraries/joomla/application/component/controller.php:722
8   categorymodelcategory->getdata()   jroot/components/com_redshop/views/category/view.html.php:84
9   jmodel->_getlist()   jroot/components/com_redshop/models/category.php:370
10   jdatabase->loadobjectlist()   jroot/libraries/joomla/application/component/model.php:301
11   jdatabasemysql->execute()   jroot/libraries/joomla/database/database.php:1100
12   jerror::raiseerror()   jroot/libraries/joomla/database/database/mysql.php:548
13   jerror::raise()   jroot/libraries/joomla/error/error.php:251


i have notice when created new menu item redshop results in blank page.

j2.5.8
mamp
php 5.3.2

seems missing in query:
where c.published = 1 , cx.category_parent_id='211' order by p.product_name asc





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support