Jump to content

Errore 500 ps_idxforbiddenproducts_categories


Fabrizio r

Recommended Posts

Salve,

Utilizzo il tema Leotheme Datran. Dopo aver attivato il tema classico, ed poi esser tornato su Datran, ricevo un errore 500 su tutte le pagine del mio sito in prestashop 1.7.1.2.
Attivando il debug mi indica questo errore:

[PrestaShopDatabaseException]

Table 'databasename.ps_idxforbiddenproducts_categories' doesn't exist

SELECT DISTINCT id_category FROM ps_idxforbiddenproducts_categories

at line 744 in file classes/db/Db.php

739. if ($webservice_call && $errno) { 
740. $dbg = debug_backtrace(); 
741. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 
742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 
743. if ($sql) { 
744.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
745. } 
746. 
747. throw new PrestaShopDatabaseException($this->getMsgError()); 748. } 749. }

 

Attivando "disattiva tutti gli override" il sito torna visibile, ma non le pagine delle categorie, che mi pare di capire siano il problema.

Ho anche provato a ripristinare una copia del database salvata prima di cambiare tema, ma non ha risolto il problema.

Qualcuno sa come aiutarmi?

Fabrizio

Link to comment
Share on other sites

On 25/11/2018 at 11:53 PM, Fabrizio r dice:

Salve,

Utilizzo il tema Leotheme Datran. Dopo aver attivato il tema classico, ed poi esser tornato su Datran, ricevo un errore 500 su tutte le pagine del mio sito in prestashop 1.7.1.2.
Attivando il debug mi indica questo errore:

[PrestaShopDatabaseException]

Table 'databasename.ps_idxforbiddenproducts_categories' doesn't exist


SELECT DISTINCT id_category FROM ps_idxforbiddenproducts_categories

at line 744 in file classes/db/Db.php


739. if ($webservice_call && $errno) { 
740. $dbg = debug_backtrace(); 
741. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 
742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 
743. if ($sql) { 
744.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
745. } 
746. 
747. throw new PrestaShopDatabaseException($this->getMsgError()); 748. } 749. }

 

Attivando "disattiva tutti gli override" il sito torna visibile, ma non le pagine delle categorie, che mi pare di capire siano il problema.

Ho anche provato a ripristinare una copia del database salvata prima di cambiare tema, ma non ha risolto il problema.

Qualcuno sa come aiutarmi?

Fabrizio

Ciao Fabrizio,

scusa la domanda strupida, per caso hai provato a pulire la cache ?

se sì, hai provato anche a a rigenereare il file .htaccess?

Daniel.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...