Jump to content

(TECHNICAL ERROR: unable to send login informations)


lianix

Recommended Posts

this console "response" is report with enabled error reporting?

with log error activated networ response say:

<!-- Block user information module NAV  -->
<br />
<b>Fatal error</b>:  Class 'OvicLayoutControl' not found in <b>/home/xx1pos8s/public_html/e-commerce/cache/smarty/compile/4d/f8/c9/4df8c9dc4c20a1a4013e8df3b28aca85909c944e.file.nav.tpl.php</b> on line <b>30</b><br />
 
maybe i've to clean smarty folders?
Link to comment
Share on other sites

im not sure what is OvicLayoutControl' but seems like it is a part of some non default thing

isn't it a part of some module associated with your theme?

OvicLayoutControl identify module of the theme, yes.

i've searched in this folder and the file that console says that there isn't, really there is.

I don't know what causes this error whit the theme, 2 days ago worked very well

 

Link to comment
Share on other sites

This is the file that console refer to:

 

<?php /* Smarty version Smarty-3.1.19, created on 2016-05-17 14:01:31
         compiled from "/home/xx1pos8s/public_html/e-commerce/themes/logancee/modules/blockuserinfo/nav.tpl" */ ?>
<?php /*%%SmartyHeaderCode:702350083573b081bee3631-83542630%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4df8c9dc4c20a1a4013e8df3b28aca85909c944e' => 
    array (
      0 => '/home/xx1pos8s/public_html/e-commerce/themes/logancee/modules/blockuserinfo/nav.tpl',
      1 => 1463482939,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '702350083573b081bee3631-83542630',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'option_tpl' => 0,
    'link' => 0,
    'is_logged' => 0,
    'cookie' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_573b081c1208c6_94681275',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_573b081c1208c6_94681275')) {function content_573b081c1208c6_94681275($_smarty_tpl) {?><!-- Block user information module NAV  -->
<?php $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('nav.tpl','blockuserinfo'), null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['option_tpl']->value!==null) {?>
<?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 
<?php } else { ?>
<div class="col-sm-8 col-md-4 text-center">
<div class="header_user_info">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getModuleLink('blockwishlist','mywishlist',array(),true), ENT_QUOTES, 'UTF-8', true);?>
"  rel="nofollow" title="<?php echo smartyTranslate(array('s'=>'My wishlists','mod'=>'blockuserinfo'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Wishlists','mod'=>'blockuserinfo'),$_smarty_tpl);?>
 
</a>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('products-comparison',true), ENT_QUOTES, 'UTF-8', true);?>
" title="<?php echo smartyTranslate(array('s'=>'My compare','mod'=>'blockuserinfo'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Compare','mod'=>'blockuserinfo'),$_smarty_tpl);?>
 
</a>
<?php if ($_smarty_tpl->tpl_vars['is_logged']->value) {?>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('my-account',true), ENT_QUOTES, 'UTF-8', true);?>
" title="<?php echo smartyTranslate(array('s'=>'View my customer account','mod'=>'blockuserinfo'),$_smarty_tpl);?>
" class="account" rel="nofollow"><span><?php echo $_smarty_tpl->tpl_vars['cookie']->value->customer_firstname;?>
 <?php echo $_smarty_tpl->tpl_vars['cookie']->value->customer_lastname;?>
</span></a>
<a class="logout" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('index',true,null,"mylogout"), ENT_QUOTES, 'UTF-8', true);?>
" rel="nofollow" title="<?php echo smartyTranslate(array('s'=>'Log me out','mod'=>'blockuserinfo'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Sign out','mod'=>'blockuserinfo'),$_smarty_tpl);?>
 
</a>
<?php } else { ?>
<a class="login" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('my-account',true), ENT_QUOTES, 'UTF-8', true);?>
" rel="nofollow" title="<?php echo smartyTranslate(array('s'=>'Log in to your customer account','mod'=>'blockuserinfo'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Sign in','mod'=>'blockuserinfo'),$_smarty_tpl);?>
 
</a>
<?php }?>
 
</div>
</div>
<?php }?>
<!-- /Block usmodule NAV -->
<?php [spam-filter] ?>
Link to comment
Share on other sites

problem is not in the file you pasted, it's only compiled file.

problem is in the module that uses this code: OvicLayoutControl::getTemplateFile('nav.tpl','blockuserinfo')

i dont know such code, check modules associated with displayNav section. One of them causing this error.

it is not compatibile with guest checkout probably.

Link to comment
Share on other sites

Hi.
I've deactived the module blockuserinfo that was active in section displayNav.

Cleaned cache, cleaned cookies, cleaned history pages, cleaned all.

Using more browser the problem remains again.

 

I dont' know what do.

It seems impossible to resolve.

Link to comment
Share on other sites

  • 1 year later...

Hi,

 

I think you used a Logancee theme. You'd better delete these lines in themes\logancee\modules\blockuserinfo\nav.tpl

<!-- Block user information module NAV  -->
{assign var='option_tpl' value=OvicLayoutControl::getTemplateFile('nav.tpl','blockuserinfo')}
{if  $option_tpl!== null}
{include file=$option_tpl}
{else}
{/if}
<!-- /Block usmodule NAV -->

And everything works perfectly for me !

Tell me if it works for you

 

Regards

Edited by t-prod (see edit history)
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...