Jump to content

[Résolu]Page blanche qui va me faire peter un cable


Recommended Posts

j'ai installer la dernière version de prestashop sur un serveur mutualisé OVH et tout s'est superbement bien passé peut etre un peu trop car j'ai accès au back-office mais pour le front-office j'ai une page tellement blanche qu'on se croirait sur paint. Ma boutique était déjà en stand by a cause d'erreur paypal et maintenant c'est ça, je sais vraiment plus quoi faire et serait très heureux si la communauté prestashop pouvait m'aider.

Link to comment
Share on other sites

je n'ai aucun code source sur la page mais le support d'ovh m'a conseillé ceci: via FTP > www > prestashop > config > config.inc.php > vous ouvrez ce fichier et vous remplacez @ini_set('display_errors', 'off') par @ini_set('display_errors', 'on')

desormais j'ai un message d'erreur:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/homez.424/planetga/www/prestashop/modules/blockcms/blockcms.tpl" on line 59 "" unclosed {else} tag' in /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(64): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {else}...') #1 /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('{*?* 2007-2011 ...') #2 /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_template.php(261): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #3 /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_template.php(423): Smarty_Internal_Template->compileTemplateSource() #4 /homez.42 in /homez.424/planetga/www/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431
Link to comment
Share on other sites

au dernière nouvelles j'ai toujours cette erreur, j'ai appelé OVH qui ne peux rien faire et me conseille de me tourner ici: pas de réponses que ce soit du forum ou du support par téléphone, Prestashop est le meilleur CMS mais j'ai l'impression d'etre en face d'un mur

Link to comment
Share on other sites

Bonjour

Quand vous avez des messages d'erreur n'hésiter pas à le copier/coller dans google :
Fatal error: Uncaught exception ‘SmartyCompilerException’ with message ‘Syntax Error in template,

Le reste c'est normal, une erreur dans un fichier provoque d'autre erreur dans d'autres fichiers ou des lignes plus bas, donc pas besoin de copier dans google les adresses indiquer.

Et allez sur le forum de smarty.net vous trouverez des explications.

Link to comment
Share on other sites

Bonjour,

Le message semble pourtant clair.
Ouvrez le fichier blockcms.tpl à la ligne 59, vous devez avoir une accolade ouverte et non fermée ou inversement.
Si vous faite un peu de développement, vous ne devriez pas avoir de problème pour trouver le problème.

Si ce n'est pas le cas, je vous conseille de faire appel à des professionnels pour le support de votre boutique.

Cordialement

Link to comment
Share on other sites

voici ce fameux blockcms.tpl

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}

{if $block == 1}
<!-- Block CMS module -->
{foreach from=$cms_titles item=cms_title}

{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}




{/foreach}
<!-- /Block CMS module -->
{else}
<!-- MODULE Block footer -->
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...