• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.09.20, 12:55
  • Opened by: Mazuelas Martin
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19187 - Error 500 al iniciar sesion

Con el tema por defecto de Prestashop no da error, pero al tener el tema Alysum al iniciar sesion da este error. ¿Puede ayudarme?. Gracias.

Whoops, looks like something went wrong.
(1/1) SmartyCompilerException
Syntax error in template “file:/var/www/vhosts/bellezorium.com/httpdocs/themes/alysum/templates/_partials/logo.tpl” on line 2 “{if isse($page.page_name) && $page.page_name != ‘product’ && $page.page_name != ‘category’}<h1 class=”m-0”>{/if}” unknown function ‘isse’

in smarty_internal_templatecompilerbase.php line 2
at Smarty_Internal_TemplateCompilerBase→trigger_template_error(’unknown function \’isse\’‘)
in smarty_internal_templatecompilerbase.php line 669
at Smarty_Internal_TemplateCompilerBase→compilePHPFunctionCall(’isse’, array(’$_smarty_tpl→tpl_vars[\’page\’]→value[\’page_name\’]’))
in smarty_internal_templateparser.php line 3128
at Smarty_Internal_Templateparser→yy_r145()
in smarty_internal_templateparser.php line 3383
at Smarty_Internal_Templateparser→yy_reduce(145)
in smarty_internal_templateparser.php line 3479
at Smarty_Internal_Templateparser→doParse(55, ' && ‘)
in smarty_internal_smartytemplatecompiler.php line 128
at Smarty_Internal_SmartyTemplateCompiler→doCompile(’<div class=”header_logo”> {if isse($page.page_name) && $page.page_name != \’product\’ && $page.page_name != \’category\’}<h1 class=”m-0”>{/if} <a class=”header_logo_img dib” href=”{$urls.base_url}” title=”{$shop.name}”> {if isset($pktheme.logo_type) && $pktheme.logo_type == \’image\’} <img class=”logo” src=”{$shop.logo}” alt=”{$shop.name}” /> {/if} {if isset($pktheme.logo_type) && $pktheme.logo_type == \’text\’ && isset($pktheme.logo_text)} <span class=”logo”>{$pktheme.logo_text}</span> {/if} </a> {if isse($page.page_name) && $page.page_name != \’product\’ && $page.page_name != \’category\’}</h1>{/if}</div>’, true)
in smarty_internal_templatecompilerbase.php line 481
at Smarty_Internal_TemplateCompilerBase→compileTemplateSource(object(SmartyDevTemplate), false, null)
in smarty_internal_templatecompilerbase.php line 404
at Smarty_Internal_TemplateCompilerBase→compileTemplate(object(SmartyDevTemplate))
in smarty_template_compiled.php line 184
at Smarty_Template_Compiled→compileTemplateSource(object(SmartyDevTemplate))
in smarty_template_compiled.php line 141
at Smarty_Template_Compiled→process(object(SmartyDevTemplate))
in smarty_template_compiled.php line 105
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’file:_partials/logo.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 0, false)
in 886d5da557620de076c0ce607a645a9328ac3727_2.file.header.tpl.php line 155
at Block_7632657665f6491c93ed472_63359646→callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance→callBlock(object(Block_7632657665f6491c93ed472_63359646), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance→process(object(SmartyDevTemplate), object(Block_7632657665f6491c93ed472_63359646))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance→instanceBlock(object(SmartyDevTemplate), ‘Block_7632657665f6491c93ed472_63359646’, ‘header_logo’)
in 886d5da557620de076c0ce607a645a9328ac3727_2.file.header.tpl.php line 66
at content_5f6491c93ef6d2_59356270(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’file:_partials/header.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 0, false)
in 5401c29f062179904109209271f984738c12e3a6_2.file.layout-both-columns.tpl.php line 233
at Block_8460544345f6491c938d287_78974239→callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance→callBlock(object(Block_8460544345f6491c938d287_78974239), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance→process(object(SmartyDevTemplate), object(Block_8460544345f6491c938d287_78974239))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance→instanceBlock(object(SmartyDevTemplate), ‘Block_8460544345f6491c938d287_78974239’, ‘header’)
in 5401c29f062179904109209271f984738c12e3a6_2.file.layout-both-columns.tpl.php line 73
at content_5f6491c939d000_70769378(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’layouts/layout-both-columns.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘layouts/layout-both-columns.tpl’)
in 26c382422679b8c3770e18e4c33dc2489df4ae49_2.file.layout-full-width.tpl.php line 42
at content_5f6491c9379d90_08891742(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’layouts/layout-full-width.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘layouts/layout-full-width.tpl’)
in 6fa553e417b26fc256bcef5d91ba548f8c536f42_2.file.page.tpl.php line 33
at content_5f6491c93731c0_41193876(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’page.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘page.tpl’)
in a4cdd6a723226bc4e5c0ed0b9e2c145d10a0ae9c_2.file.index.tpl.php line 32
at content_5f6491c93672d1_07116337(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase→_execute(object(SmartyDevTemplate), null, ‘layouts/layout-full-width.tpl’, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase→fetch(’index.tpl’, null, ‘layouts/layout-full-width.tpl’, null, false, true, false)
in SmartyDev.php line 40
at SmartyDev→fetch(’index.tpl’, null, ‘layouts/layout-full-width.tpl’)
in FrontController.php line 683
at FrontControllerCore→smartyOutputContent(’index.tpl’)
in FrontController.php line 667
at FrontControllerCore→display()
in Controller.php line 312
at ControllerCore→run()
in Dispatcher.php line 515
at DispatcherCore→dispatch()
in index.php line 28

Comments

Fred 18 Sep 2020, 18:52

Hi, Mazuelas Martin.
Please update the theme to the latest version 5.6.0

Mazuelas Martin 21 Sep 2020, 16:58

Hola, ya he actualizado y ahora al acceder a login me aparece esta sección en blanco muy extraña. ¿porque?. Gracias.

Attachments:

MiCuenta.png (16.6 KiB)
Fred 22 Sep 2020, 11:26

Sorry, but what should be there? I don’t understand the problem

Mazuelas Martin 22 Sep 2020, 16:35

Hola, es extraño, al iniciar con una cuenta me aparece bien los menús y cabeceras, pero al acceder con otra cuenta diferente no me aparecen los menús ni el banner superior.

Attachments:

Cuenta.png (48.4 KiB)
Mazuelas Martin 22 Sep 2020, 16:37

Puede probarlo con ambos usuarios:ambas contraseñas he dejado promokit
javier.lage@mazuelasonline.com
jlage@mazuelasonline.com

https://www.bellezorium.com/es/iniciar-sesion?back=my-account

Fred 22 Sep 2020, 18:45

Unable to login with “promokit” password - https://take.ms/5ODP3

Mazuelas Martin 22 Sep 2020, 19:22

Ya tiene acceso y puede probar. Gracias.

Fred 23 Sep 2020, 12:09

something strange is going on here. Never seen the issue before. Can I try to switch to Classic theme to see how it works?

Mazuelas Martin 23 Sep 2020, 13:25

Hola, sí, es una tienda online en desarrollo, puede cambiarlo sin problemas. Gracias.

Fred 23 Sep 2020, 13:52

Even Classic theme is broken https://www.bellezorium.com/es/

Can you reinstall prestashop completely from scratch?

Mazuelas Martin 23 Sep 2020, 14:13

Hola, sí, es una tienda online en desarrollo, puede cambiarlo sin problemas. Gracias.

Mazuelas Martin 23 Sep 2020, 14:20

Como puedo hacer backup de los Layout builder generados??

Mazuelas Martin 23 Sep 2020, 14:23

Pero con el usuario javier.lage@mazuelasonline.com inicia sesion bien y funciona. yo creo que es algún error del usuario jlage@mazuelasonline.com

Fred 23 Sep 2020, 14:29

I have nothing to advice about backup.

As for the customer, yes, but the issue appears in Classic theme as well

Mazuelas Martin 23 Sep 2020, 14:48

Ok, intentaré reinstalar de nuevo. Referente a los backup me refiero a las page creadas en Alysum. ¿Las puedo salvar de alguna manera?. Gracias.

Fred 23 Sep 2020, 14:50

if you mean Page builder, you can export pages and save exported files to your computer

Mazuelas Martin 23 Sep 2020, 14:59

Ok gracias por tu ayuda. Por cierto muy buen tema Alysum.

Fred 23 Sep 2020, 15:41

you are welcome