Jump to content

{Resolu} Echec accès site et backoffice


Recommended Posts

essai de vider le dossier cache/compile. 

 

Bonjour à tous,

 

Je n'ai accès à ma boutique et je coince, avec le message d'erreur suivant. 

boutique.com :

Your file /home/boutique/public_html/cache/class_index.php is corrupted. Please remove this file, a new one will be regenerated automatically

boutique.com/produits :

404 not found

En me rendant sur le FTP j'ai pu trouver le fichier à supprimer mais il était vide et une fois supprimé je n'obtiens pas de changement.

Dans le fichier des erreurs de log, il y en a une récurrente qui semble indiquer une erreur de mise en cache et un soucis sur la ligne 208 du fichier blockcms.php (vers la fin en gras).

 

Sélection d'une erreur : 

[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Undefined index: block in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 38, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Trying to get property of non-object in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 38, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Undefined index: contact_url in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 101, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Trying to get property of non-object in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 101, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Undefined index: footer_text in /home/coreupt/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 111, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Trying to get property of non-object in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 111, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Undefined index: display_poweredby in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 114, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:55 2015] [warn] [client 90.53.144.xxx] mod_fcgid: stderr: PHP Notice:  Trying to get property of non-object in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 114, referer: http://boutique.com/fr/commande
[sun Jan 04 13:35:57 2015] [warn] [client 92.163.99.xx] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in /home/boutique/public_html/modules/blockcms/blockcms.php on line 208, referer: http://boutique.com/
[sun Jan 04 13:35:57 2015] [warn] [client 92.163.99.xx] mod_fcgid: stderr: PHP Notice:  Undefined index: block in /home/boutique/public_html/cache/smarty/compile/c2/8d/5d/c28d5dd507c3a98d693e52e1a22c62d4bc45d9d3.file.blockcms.tpl.php on line 38, referer: http://boutique.com/
 
 
Dans le fichier (pas le blockcms.tpl.php mais le) blockcms.php (en gras ligne 208) :
 
 
function hookLeftColumn($params)
{
global $smarty, $cookie;
 
$cms = CMS::listCms($cookie->id_lang, $this->id);
$id_cms = array();
$smarty->assign('mode',(Configuration::get('MOD_AFFCATEG')==0 ?'categories':'dates'));
foreach($cms AS $row)
$id_cms[] = intval($row['id_cms']);
 
$smarty->assign('cmslinks', $id_cms ? CMS::getLinks($cookie->id_lang, $id_cms, (Configuration::get('MOD_AFFCATEG')==0 ?'categorie':'date')) : array());
$smarty->assign('nbnews', Configuration::get('MOD_NBNEWS'));
return $this->display(__FILE__, 'blockcms.tpl');
}   //nbnews a mettre dans le tpl
 
Toute aide sera la bienvenue. Merci à vous

Prestashop 1.5, multiboutique activée

 

 

Edited by iCO (see edit history)
Link to comment
Share on other sites

essai de vider le dossier cache/compile. 

J'ai confié la tâche a quelqu'un de plus compétent que moi, qui m"a remonté que ça venait d'un espace disque plein.

Manit4C, merci pour le coup de pouce.

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...