Problem in products&category

13.05.2014 20:00
#1
tribe
Joomshopping forum user no avatar
Name: Sasha
21.08.2012
Posts: 13
Quote
Problem in products&category

Hi I have a problem in my admin product list.
I see this messages:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/ricardo-ms/ricardo-msk.ru/docs/administrator/components/com_jshopping/controllers/products.php on line 114

Warning: Invalid argument supplied for foreach() in /home/ricardo-ms/ricardo-msk.ru/docs/libraries/joomla/html/html/select.php on line 504

They appeared after I repair table with "Check DB structure table shop"
Please help to resolve this problem, what I need to do?
Thank you.


Joomla: Joomla! 2.5.20 Stable
JoomShopping: Version 3.16.4
PHP: 5.3.13
MySQL: 5.1.41-log
Website Url: http://www.ricardo-msk.ru/katalog
 
13.05.2014 21:18
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Problem in products&category

Enable debug mode joomla.

 
13.05.2014 22:29
#3
tribe
Joomshopping forum user no avatar
Name: Sasha
21.08.2012
Posts: 13
Quote
Aw: Problem in products&category

I enable it "for developer (all php errors)"
and here what i see:

Strict Standards: Creating default object from empty value in /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/tables/config.php on line 50

Warning: Invalid argument supplied for foreach() in /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/tables/productlabel.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/tables/config.php:50) in /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/lib/functions.php on line 413

Warning: Cannot modify header information - headers already sent by (output started at /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/tables/config.php:50) in /home/ricardo-ms/ricardo-msk.ru/docs/components/com_jshopping/models/tempcart.php on line 21


Joomla: Joomla! 2.5.20 Stable
JoomShopping: 3.16.4
PHP: 5.3.13
MySQL: 5.1.41-log
Website Url: http://www.ricardo-msk.ru/katalog/
 
14.05.2014 07:42
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Problem in products&category

Enable "debug mode" joomla.

 
14.05.2014 08:11
#5
tribe
Joomshopping forum user no avatar
Name: Sasha
21.08.2012
Posts: 13
Quote
Aw: Problem in products&category

Oh sorry, I turn a wrong button. Ok I enable it and here what i see:
on this page index.php?option=com_jshopping&controller=products&category

JDatabaseMySQL::query: 1054 - Unknown column 'name_ru-RU' in 'field list' SQL=SELECT id, image, `name_ru-RU` as name FROM `jos_jshopping_product_labels` ORDER BY name
Call stack
# Function Location
1 JAdministrator->dispatch() JROOT/administrator/index.php:46
2 JComponentHelper::renderComponent() JROOT/administrator/includes/application.php:153
3 JComponentHelper::executeComponent() JROOT/libraries/joomla/application/component/helper.php:348
4 require_once() JROOT/libraries/joomla/application/component/helper.php:380
5 JController->execute() JROOT/administrator/components/com_jshopping/admin.jshopping.php:66
6 JshoppingControllerProducts->display() JROOT/libraries/joomla/application/component/controller.php:761
7 JshoppingModelProductLabels->getList() JROOT/administrator/components/com_jshopping/controllers/products.php:111
8 JDatabase->loadObjectList() JROOT/administrator/components/com_jshopping/models/productlabels.php:24
9 JDatabaseMySQL->execute() JROOT/libraries/joomla/database/database.php:1126
10 JError::raiseError() JROOT/libraries/joomla/database/database/mysql.php:548
11 JError::raise() JROOT/libraries/joomla/error/error.php:251

 
14.05.2014 09:24
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Problem in products&category

Use phpmyadmin
empty table _jshopping_languages

claer cookie/cache in brouser
goto shop

 
14.05.2014 11:24
#7
tribe
Joomshopping forum user no avatar
Name: Sasha
21.08.2012
Posts: 13
Quote
Aw: Problem in products&category

Thank you very much! That helps!

 
Copyrights MAXXmarketing GmbH. All Rights Reserved