Buenas, de un dia para aotro no podemos acceder al detalle de los pedidos, tenemos version 1.6.1.22, funciona todo el panel de prestashop a excepción de la sección de netrar al detalle de cada pedido, cada vez que queremos entrar a un pedido, aperec error 500, en el archivo error log aparece un error de smarty cach , hemos vaciado la misma pero sigue igual, en el error log aparece:
[14-Jan-2019 14:09:27 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[14-Jan-2019 14:09:38 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[14-Jan-2019 17:21:53 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[14-Jan-2019 17:21:53 Europe/Madrid] PHP Notice: Undefined index: id_cart in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 87
[14-Jan-2019 17:21:53 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 87
[14-Jan-2019 17:21:53 Europe/Madrid] PHP Notice: Undefined index: id_order in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 89
[14-Jan-2019 17:21:53 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 89
[14-Jan-2019 22:56:55 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/9b/81/30/9b81308ae25c776cdb45e62ad4a75392348f9ed4.file.header.tpl.php on line 106
[15-Jan-2019 00:20:25 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:24:19 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:26:04 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:28:16 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:28:25 Europe/Madrid] PHP Notice: Undefined index: static_token in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:28:25 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:28:25 Europe/Madrid] PHP Notice: Undefined index: static_token in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:28:25 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:36:51 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:43:42 Europe/Madrid] PHP Notice: Undefined index: family_name in /home/decoledv/public_html/modules/tmsociallogin/controllers/front/googlelogin.php on line 74
[15-Jan-2019 00:45:46 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON has a deprecated constructor in /home/decoledv/public_html/modules/redsys/apiRedsys/json.php on line 115
[15-Jan-2019 00:45:46 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /home/decoledv/public_html/modules/redsys/apiRedsys/json.php on line 781
[15-Jan-2019 00:45:46 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /home/decoledv/public_html/modules/redsys/apiRedsys/json.php on line 795
[15-Jan-2019 00:45:46 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:46:21 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:46:26 Europe/Madrid] PHP Notice: Undefined index: static_token in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:46:26 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:46:26 Europe/Madrid] PHP Notice: Undefined index: static_token in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:46:26 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/eb/e7/05/ebe705e50898871a5303c4b35e32e6622f0e7557.file.crossselling.tpl.cache.php on line 81
[15-Jan-2019 00:49:45 Europe/Madrid] PHP Notice: Array to string conversion in /home/decoledv/public_html/cache/smarty/compile/66/e5/20/66e520793a0c6e6349add2433cad1e58c94eb8ec.file.footer.tpl.php on line 64
[15-Jan-2019 00:49:45 Europe/Madrid] PHP Notice: Undefined index: id_cart in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 87
[15-Jan-2019 00:49:45 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 87
[15-Jan-2019 00:49:45 Europe/Madrid] PHP Notice: Undefined index: id_order in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 89
[15-Jan-2019 00:49:45 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home/decoledv/public_html/cache/smarty/compile/4f/db/40/4fdb40043611e9ba037df63096fa066273a4b0d1.file.order-confirmation.tpl.php on line 89
[15-Jan-2019 01:22:56 Europe/Madrid] PHP Fatal error: Uncaught --> Smarty: unable to write file /home/decoledv/public_html/cache/smarty/cache/productscategory/888/10/1/1/2/1/6/8e/22/c6/wrt5c3d27e03fea80_52626183 <--
thrown in /home/decoledv/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46
[15-Jan-2019 01:41:39 Europe/Madrid] PHP Fatal error: Uncaught --> Smarty: unable to write file /home/decoledv/public_html/cache/smarty/cache/blocknewproducts/20190115/0/1/2/1/6/d2/d6/3c/wrt5c3d2c436d40c7_66802065 <--
thrown in /home/decoledv/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46
[15-Jan-2019 02:29:08 Europe/Madrid] PHP Fatal error: Uncaught --> Smarty: unable to write file /home/decoledv/public_html/cache/smarty/cache/tmmediaparallax/1/1/2/1/6/a2/42/0f/wrt5c3d376478f5e1_94539693 <--
thrown in /home/decoledv/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46
[15-Jan-2019 02:29:11 Europe/Madrid] PHP Fatal error: Uncaught --> Smarty: unable to write file /home/decoledv/public_html/cache/smarty/compile/76/39/5f/wrt5c3d3767aaff71_57856828 <--
thrown in /home/decoledv/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46
HEMOS ACTUALIZADO A LA VERSIÓN 1.6.1.23 pero la cosa sigue igual, no sabemos ya que hacer, sia alguien nos puede ayudar se lo agradeceremos, saludos y gracias.
Buenos días,
Vamos a intentar ayudarte.
Prueba primero a desactivar la caché, ambas, en el apartado de parámetros / avanzados rendimiento, y poner en NO la compilación.
Puede que sea un problema de la plantilla.
Por lo que veo hace alusión a varios archivos que pertenecen a la plantilla, pero el error puede estar en crossselling.tpl
Prueba desactivar el crossselling, si está en algún módulo a parte, o si está en el carrito.
Un saludo.
Lo de borrar cahe ya lo probamos lo primero de todo y nada; hemos desactvado la cache y smarty, tambien compilacion y sigue igual;
como se desactiva el crossselling??
esto es lo que parece en el crossselling.tpl:
{if isset($orderProducts) && count($orderProducts)}
<section id="crossselling" class="page-product-box">
<h3 class="productscategory_h2 page-product-heading">
{if $page_name == 'product'}
{l s='Customers who bought this product also bought:' mod='crossselling'}
{else}
{l s='We recommend' mod='crossselling'}
{/if}
</h3>
<div id="crossselling_list">
<ul id="crossselling_list_car" class="clearfix">
{foreach from=$orderProducts item='orderProduct' name=orderProduct}
<li class="product-box item" itemprop="isRelatedTo" itemscope itemtype="Product - schema.org">
<a class="lnk_img product-image" href="{$orderProduct.link|escape:'html':'UTF-8'}" title="{$orderProduct.name|htmlspecialchars}" >
<img itemprop="image" src="{$orderProduct.image}" alt="{$orderProduct.name|htmlspecialchars}" />
</a>
<div class="s_title_block">
<h5 itemprop="name" class="product-name">
<a itemprop="url" href="{$orderProduct.link|escape:'html':'UTF-8'}" title="{$orderProduct.name|htmlspecialchars}">
{$orderProduct.name|truncate:25:'...'|escape:'html':'UTF-8'}
</a>
</h5>
{if isset($orderProduct.description_short)}<p>{$orderProduct.description_short|strip_tags:'UTF-8'|truncate:50:'...'}</p>{/if}
</div>
{if $crossDisplayPrice && $orderProduct.show_price == 1 && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
<p class="price_display">
<span class="price">{convertPrice price=$orderProduct.displayed_price}</span>
</p>
{/if}
<div class="clearfix" style="margin-top:5px">
{if !$PS_CATALOG_MODE && ($orderProduct.allow_oosp || $orderProduct.quantity > 0)}
<div class="no-print">
<a class="btn btn-default ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$orderProduct.id_product|intval}&token={$static_token}&add")|escape:'html':'UTF-8'}" data-id-product="{$orderProduct.id_product|intval}" title="{l s='Add to cart' mod='crossselling'}">
<span>{l s='Add to cart' mod='crossselling'}</span>
</a>
</div>
{/if}
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}
Para desactivar el modulo crossselling ve al menu de modulos ya ahi lo buscas y lo desactivas.
Telegram:@Josraso
Correo
Si desactivar modulos sabemos dodne es, el problema es que ese modulo no aparece en modulos, no con ese nombre ni panda parecido; por lo que no se como desactivarlo?'
disculpa ya lo hemos localizado es el modulo de ventas cruzadas perdon; hemos desactivado las 2 cache, limpiado la cache desde rendimiento, esta desactivado el modulo de ventas cruzadas; pero esto sigue igual no hay manera de acceder a los pedidos; desesperante....
Activa el reporte de errores propio de prestashop, lo haces cambiando en el archivo defines.inc.php que puedes localizar dentro de la carpeta config:
@ini_set('display_errors', 'off');
por
@ini_set('display_errors', 'on');
Luego de hacerlo refresca e intenta acceder a ver que error te da.
Telegram:@Josraso
Correo
se ponen los 2 en on:
/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', false);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
if (_PS_MODE_DEV_ === true) {
@ini_set('display_errors', 'on');
@error_reporting(E_ALL | E_STRICT);
define('_PS_DEBUG_SQL_', true);
} else {
@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', false);
LO HE PUESTO PERO NO SALE NADA EN PRESTASHOP
Prueba entonces otra cosa, aunque es raro que no te de ningun error, ve a redimiento y marca en desactivar modulos no nativos asi como los overrides.
Telegram:@Josraso
Correo
sale esto:
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.
Hola Anlín,
El problema puede ser porque la configuración de la versión de php tiene un límite muy bajo de conexión. Tienes que pedir a tu hosting que te suban ese parámetro
max_execution_time
Un cordial saludo.