Jump to content

Recommended Posts

Bonjour,

j'ai un petit soucis avec mon Prestashop 1.7.0.5 j'accède au back office parfaitement, mais impossible d'afficher le site --> j'ai une page blanche (pas d'erreur affichée sur safari) ... quel serait là cause d'après vous !?

Sous chrome, j'ai --> HTTP ERROR 500

Merci pour votre aide

Edited by JC-Concept (see edit history)

Share this post


Link to post
Share on other sites

Bonjour,

Il   faut  activer  le  mode  debug  dans votre  BO>  Performance>  

 

Share this post


Link to post
Share on other sites

ouch ok ! voici le message du front end

 

Whoops, looks like something went wrong.

1/1UndefinedMethodException in FrontController.php line 844:Attempted to call an undefined method named "l" of class "IndexController".
Did you mean to call e.g. "addColorsToProductList", "addJqueryPlugin", "display", "displayAjaxAddressForm", "displayContent", "displayFooter", "displayHeader", "displayHeaderJavaScript", "getCanonicalURL", "getController", "getStylesheets", "getTemplateFile", "getTemplateFinder", "getTemplatePath", "getTemplateVarConfiguration", "getTemplateVarCurrency", "getTemplateVarCustomer", "getTemplateVarPage", "getTemplateVarShop", "getTemplateVarUrls", "isTokenValid", "isXmlHttpRequest", "myErrorHandler", "registerStylesheet", "setTemplate" or "unregisterStylesheet"?

in FrontController.php line 844

at FrontControllerCore->geolocationManagement(object(Country)) in FrontController.php line 327

at FrontControllerCore->init() in Controller.php line 182

at ControllerCore->run() in Dispatcher.php line 366

at DispatcherCore->dispatch() in index.php line 28

Share this post


Link to post
Share on other sites

Avez  vous  activer  la géolocalisation?

Avez  vous  installe un module récemment?  

 

Share this post


Link to post
Share on other sites

oui elle est activée, si je désactive j'ai cette erreur...

 

[PrestaShopDatabaseException]

Table 'site_millesia.ps_product_comment' doesn't exist
 

SELECT (SUM(pc.`grade`) / COUNT(pc.`grade`)) AS grade FROM `ps_product_comment` pc WHERE pc.`id_product` = 0 AND pc.`deleted` = 0 LIMIT 1


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

739. if ($webservice_call && $errno) { 740. $dbg = debug_backtrace(); 741. WebserviceRequest::getInstance()->setError(500, '

 '.$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. }


DbCore->displayError - [line 378 - classes/db/Db.php] - [1 Arguments]

DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments]

DbCore->getRow - [line 197 - modules/productcomments/ProductComment.php] - [1 Arguments]

ProductComment::getAverageGrade - [line 765 - modules/productcomments/productcomments.php] - [1 Arguments]

ProductComments->hookDisplayProductListReviews - [line 758 - classes/Hook.php] - [1 Arguments]

HookCore::coreCallHook - [line 723 - classes/Hook.php] - [3 Arguments]

HookCore::exec - [line 174 - config/smarty.config.inc.php] - [3 Arguments]

smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments]

SmartyLazyRegister->__call - [line 126 - app/cache/dev/smarty/compile/c6/b9/91/c6b991358a903456d88fcefe9482b3222cb98d49.module.wtspecials.tpl.php] - [2 Arguments]

content_5ddaf13172ce82_52104973 - [line 188 - vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments]

Smarty_Internal_TemplateBase->fetch - [line 60 - classes/Smarty/SmartyDev.php] - [7 Arguments]

Smarty_Dev_Template->fetch - [line 2255 - classes/module/Module.php]

ModuleCore->fetch - [line 277 - modules/wtspecials/wtspecials.php] - [2 Arguments]

WtSpecials->renderWidget - [line 763 - classes/Hook.php] - [2 Arguments]

HookCore::coreRenderWidget - [line 737 - classes/Hook.php] - [3 Arguments]

HookCore::exec - [line 174 - config/smarty.config.inc.php] - [3 Arguments]

smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments]

SmartyLazyRegister->__call - [line 443 - app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/4c/19/69/4c19699e81fe0bcf6eb42a6e8f24b66a6e2f63fd.file.index.tpl.php] - [2 Arguments]

content_5ddaf1311c3925_14475910 - [line 133 - app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/4c/19/69/4c19699e81fe0bcf6eb42a6e8f24b66a6e2f63fd.file.index.tpl.php] - [1 Arguments]

content_5ddaf13126ab91_40951834 - [line 188 - vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments]

Smarty_Internal_TemplateBase->fetch - [line 41 - classes/Smarty/SmartyDev.php] - [7 Arguments]

SmartyDev->fetch - [line 655 - classes/controller/FrontController.php] - [3 Arguments]

FrontControllerCore->smartyOutputContent - [line 639 - classes/controller/FrontController.php] - [1 Arguments]

FrontControllerCore->display - [line 221 - classes/controller/Controller.php]

ControllerCore->run - [line 366 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 28 - index.php]

Share this post


Link to post
Share on other sites

top ! effectivement cela redémarre, je vais faire des tests et au besoin je reviens vers vous!

merci beaucoup et bonne soirée trop content !

Share this post


Link to post
Share on other sites
5 minutes ago, JC-Concept said:

top ! effectivement cela redémarre, je vais faire des tests et au besoin je reviens vers vous!

merci beaucoup et bonne soirée trop content !

Ok,   pas de  quoi.

Tout  le plaisir  est  pour  moi.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More