Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 10064 is not allowed to access owned by uid 0 in /var/www/vhosts/me.com.tw/httpdocs/shop/includes/application_top.php on line 195
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/me.com.tw/httpdocs/shop/includes/application_top.php:195) in /var/www/vhosts/me.com.tw/httpdocs/shop/includes/application_top.php on line 244
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/me.com.tw/httpdocs/shop/includes/application_top.php:195) in /var/www/vhosts/me.com.tw/httpdocs/shop/includes/application_top.php on line 244 TWE-Commerce1054 - Unknown column 'p.manufacturers_id' in 'on clause'
select count(distinct p.products_id) as total from products p,
categories c,
products_to_categories p2c
left join manufacturers m
on p.manufacturers_id = m.manufacturers_id
left join products_description pd
on p.products_id = pd.products_id
and pd.language_id = '1'
where c.categories_status=1
and p.products_id = p2c.products_id
and c.categories_id = p2c.categories_id
and products_status = '1'
order
by
p.products_date_added DESC