Jump to content

Error con subcategorias en menu izquerdo


Recommended Posts

active el log de errores de prestashop en el config.

 

y en la parte de categorias que no me muestra las subcateogrias me sale esto

 

 

 

( ! ) Notice: Undefined index: nb_products in C:\wamp\www\prestashop\tools\smarty\compile\e3c97008e3e45719b96cd0b62a5869abadfd861c.file.category.tpl.php on line 114

Call Stack

# Time Memory Function Location

1 0.0010 369096 {main}( ) ..\category.php:0

2 0.0848 5425368 FrontControllerCore->run( ) ..\category.php:29

3 1.5194 18333000 CategoryControllerCore->displayContent( ) ..\FrontController.php:66

4 1.5195 18333680 Smarty_Internal_TemplateBase->display( ) ..\CategoryController.php:178

5 1.5195 18333808 Smarty_Internal_TemplateBase->fetch( ) ..\smarty_internal_templatebase.php:374

6 1.8095 18492520 content_5078455cd6af14_81323757( ) ..\smarty_internal_templatebase.php:180

 

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\prestashop\tools\smarty\compile\e3c97008e3e45719b96cd0b62a5869abadfd861c.file.category.tpl.php on line 114

Call Stack

# Time Memory Function Location

1 0.0010 369096 {main}( ) ..\category.php:0

2 0.0848 5425368 FrontControllerCore->run( ) ..\category.php:29

3 1.5194 18333000 CategoryControllerCore->displayContent( ) ..\FrontController.php:66

4 1.5195 18333680 Smarty_Internal_TemplateBase->display( ) ..\CategoryController.php:178

5 1.5195 18333808 Smarty_Internal_TemplateBase->fetch( ) ..\smarty_internal_templatebase.php:374

6 1.8095 18492520 content_5078455cd6af14_81323757( ) ..\smarty_internal_templatebase.php:180

 

 

( !

 

adjunto una foto donde selecciono la parte donde me deberian salir el icono de + o de despliegue para mostrar las subcategorias.

post-410567-0-66692800-1350059281_thumb.jpg

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

  • 1 month later...

Lo solucionaste???

 

A mi me pasa parecido:

 

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/var/www/vhost/nibs.es/home/html/site/themes/clean-simple/./product-list.tpl products=Array' in '/var/www/vhost/nibs.es/home/html/site/themes/clean-simple/category.tpl'' in /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /var/www/vhost/nibs.es/home/html/site/tools/smarty/compile/1b2d3cbe48bae27349cf7313d574b4f426d47dda.file.category.tpl.php(104): Smarty_Internal_Template->getSubTemplate('/var/www/vhost/...', NULL, NULL, NULL, NULL, Array, 0) #2 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_50a4c5bdbf2c54_47015953(Object(Smarty_Internal_Template)) #3 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal in /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127

 

Ayuda!!!

Link to comment
Share on other sites

Lo solucionaste???

 

A mi me pasa parecido:

 

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/var/www/vhost/nibs.es/home/html/site/themes/clean-simple/./product-list.tpl products=Array' in '/var/www/vhost/nibs.es/home/html/site/themes/clean-simple/category.tpl'' in /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /var/www/vhost/nibs.es/home/html/site/tools/smarty/compile/1b2d3cbe48bae27349cf7313d574b4f426d47dda.file.category.tpl.php(104): Smarty_Internal_Template->getSubTemplate('/var/www/vhost/...', NULL, NULL, NULL, NULL, Array, 0) #2 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_50a4c5bdbf2c54_47015953(Object(Smarty_Internal_Template)) #3 /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal in /var/www/vhost/nibs.es/home/html/site/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127

 

Ayuda!!!

 

man, no pude solucionarlo, pero creo que el problema es que el tema que instalamos no maneja el desplieque de subcategorias.

 

por otro lado te invito a trabajar juntos en prestashop. ahora mismo estoy tratanto de instalar el product rating para daarle puntuaciones a los productos, pero me genera error diciendo que la base de datos no existe.

espero y compartamos conociemitno.

Link to comment
Share on other sites

  • 1 year later...

Tenemos el mismo problema con un tema de LeoTheme....a nosotros concretamente nos muestra los siguientes errores:


Notice: Undefined index: nb_products in/home/tiendasc/public_html/cache/smarty/compile/1b/cb/3f/1bcb3fcc6b863616bf1d1db371f65ecdf6c15941.file.category-count.tpl.php on line 28

Notice: Trying to get property of non-object in/home/tiendasc/public_html/cache/smarty/compile/1b/cb/3f/1bcb3fcc6b863616bf1d1db371f65ecdf6c15941.file.category-count.tpl.php on line 28
No hay productos en esta categoría

 

 Alguien sabe como corregirlo ¿? ^_^

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...