Problem jak w temacie. Blok na stronie jest.... widać go w edycji na żywo.
Debug mode wypluwa coś takiego po kliknięciu w kategorie wyświetlaną w poziomym menu.
[PrestaShopDatabaseException]
Something is wrong in your syntax obok 'AND nright <= AND c.id_category IN ( SELECT id_category FROM `ps_cat' w linii 8
SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite
FROM `ps_category` c
INNER JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = 2 AND cl.id_shop = 1 )
INNER JOIN `ps_category_shop` cs ON (cs.`id_category` = c.`id_category` AND cs.`id_shop` = 1)
WHERE (c.`active` = 1 OR c.`id_category` = 0)
AND c.`id_category` != 1
AND nleft >= AND nright <=
AND c.id_category IN (
SELECT id_category
FROM `ps_category_group`
WHERE `id_group` IN (1)
)
ORDER BY `level_depth` ASC, cs.`position` ASC
at line 635 in file classes/db/Db.php
629. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
630. }
631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
632. {
633. if ($sql)
634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
635. throw new PrestaShopDatabaseException($this->getMsgError());
636. }
637. }
638.
639. /**
Question
gregoryk55
Problem jak w temacie.
Blok na stronie jest.... widać go w edycji na żywo.
Debug mode wypluwa coś takiego po kliknięciu w kategorie wyświetlaną w poziomym menu.
at line 635 in file classes/db/Db.php
I jeszcze:
Testowałem wcześniej multistore i po wyłączeniu opcji mulitstore coś takiego się probiło.
Edited by gregoryk55 (see edit history)Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now