Jump to content

andyalber

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    alber
  • Last Name
    andy

andyalber's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Tengo la version 1.6.1.4, la última hasta la fecha. Tengo muchos productos metidos en mi prestashop, un dia sin comerlo ni beberlo me empezó a saltar un errores al crear o modificar productos. (500 Internal Server Error) Ocurrió un error en el servidor mientras se cargaban las pestañas: algunas pestañas pueden no haberse cargado. Por favor inténtelo de nuevo refrescando la página. Si sigue encontrando este problema, por favor, revise los registros (logs) de su servidor o contacte con su proveedor de hosting para asistencia. Luego miro en los logs y da siempre error de escritura: Smarty: unable to write file C:\xampp\htdocs\sclanau.com/cache/smarty/compile\bd\56\c9\bd56c92cfa8d402c39dc4448cbadb3a5aca6f596.file.login_addons.tpl.php <-- thrown in C:\xampp\htdocs\sclanau.com\tools\smarty\sysplugins\smarty_internal_write_file.php on line 74 El fichero del error va cambiando cada vez que refresco de página y una de cada 5 veces carga sin errores. No he cambiado los permisos de los directorios. Y llevo arrastrando este error desde la versión 1.6.1.2 También hay veces que salta un error de que no compila algunas plantillas. Uncaught --> Smarty: Invalid compiled template for 'controllers/modules/login_addons.tpl' <-- thrown in C:\xampp\htdocs\sclanau.com\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 182 Conforme se van agregando mas productos le cuesta mas cargar sin errores. Aumente la memoria cache y los tiempos de carga en el php.ini y no pasa nada. He refrescado cache y nada.
  2. I have modified Rocky's code to display it on a table: {if isset($groups)} {strip} {l s='The following combinations are unavailable:'} <br /> <table> <thead> <tr> {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count} <th>{$group.name|escape:'html':'UTF-8'} </th> {/if} {/foreach} </tr> </thead> <tbody> {foreach from=$combinations key=idCombination item=combination} {if $combination.quantity == 0} <tr> {assign var=attributes value=','|explode:$combination.list} {foreach from=$groups key=id_attribute_group item=group} <td> {foreach from=$group.attributes key=id_attribute item=group_attribute} {foreach from=$attributes item=attribute name=attribute} {if $id_attribute == $attribute|substr:1:-1} {$group_attribute} {/if} {/foreach} {/foreach} </td> {/foreach} </tr> {/if} {/foreach} </tbody> </table> {/strip} {/if} I will try to create a "Select me!" button with jquery that allows the customer to actually choose that combination by clicking it. I hope this helps. And thanks Rocky for your code, it really helped me.
  3. Me es imposible subir fotos a mi tienda, no se que cambios hice que ahora, al subir la foto se queja de que la foto es muy grande, que el tamaño máximo es 0MB. He mirado el init.php, el Uploader.php y el valor de PS_PRODUCT_PICTURE_MAX_SIZE en la tabla ps_configuration y en todos me ponen valores normales. ¿Qué es lo que me puede estar fallando? Adjunto una captura con el error.
×
×
  • Create New...