Jump to content

hop2286

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • First Name
    Jan
  • Last Name
    Pecena

hop2286's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I copy whole admin folder from clean install and it works. Why is it happen? Everything is fine in old eshop. Thanks for your help.
  2. I had to remove line 214 and 218 too. administration is now without CSS
  3. {* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]--> <!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]--> <html lang="{$iso}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scala'Latest Messages'}</h3> </div> <div id="list_customer_messages_notif" class="list_notif"> <span class="no_notifs"> {l s='No new messages have been posted on your shop.'} </span> </div> <div class="notifs_panel_footer"> <a href="index.php?controller=AdminCustomerThreads&token={getAdminToken tab='AdminCustomerThreads'}">{l s='Show all messages'}</a> </div> </section> </div> </li> {/if} </ul> {if count($quick_access) >= 0} <ul id="header_quick"> <li class="dropdown"> <a href="javascript:void(0)" id="quick_select" class="dropdown-toggle" data-toggle="dropdown">{l s='Quick Access'} <i class="icon-caret-down"></i></a> <ul class="dropdown-menu"> {foreach $quick_access as $quick} <li {if $link->matchQuickLink({$quick.link})}{assign "matchQuickLink" $quick.id_quick_access}class="active"{/if}> <a href="{$quick.link|escape:'html':'UTF-8'}"{if $quick.new_window} class="_blank"{/if}> {if isset($quick.icon)} <i class="icon-{$quick.icon} icon-fw"></i> {else} <i class="icon-chevron-right icon-fw"></i> {/if} {$quick.name} </a> </li> {/foreach} <li class="divider"></li> {if isset($matchQuickLink)} <li> <a href="javascript:void(0);" class="ajax-quick-link" data-method="remove" data-quicklink-id="{$matchQuickLink}"> <i class="icon-minus-circle"></i> {l s='Remove from QuickAccess'} </a> </li> {/if} <li {if isset($matchQuickLink)}class="hide"{/if}> <a href="javascript:void(0);" class="ajax-quick-link" data-method="add"> <i class="icon-plus-circle"></i> {l s='Add current page to QuickAccess'} </a> </li> </ul> </li> </ul> {$quick_access_current_link_name = " - "|explode:$quick_access_current_link_name} <script> $(function() { $('.ajax-quick-link').on('click', function(e){ e.preventDefault(); var method = $(this).data('method'); if(method == 'add') var name = prompt('{l s='Please name this shortcut:' js=1}', '{$quick_access_current_link_name.0|truncate:32}'); if(method == 'add' && name || method == 'remove') { $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, async: false, url: "{$link->getAdminLink('AdminQuickAccesses')}" + "&action=GetUrl" + "&rand={1|rand:200}" + "&ajax=1" + "&method=" + method + ( $(this).data('quicklink-id') ? "&id_quick_access=" + $(this).data('quicklink-id') : ""), data: { "url": "{$link->getQuickLink($smarty.server['REQUEST_URI'])}", "name": name, "icon": "{$quick_access_current_link_icon}" }, dataType: "json", success: function(data) { var quicklink_list =''; $.each(data, function(index,value){ if (typeof data[index]['name'] !== 'undefined') quicklink_list += '<li><a href="' + data[index]['link'] + '&token=' + data[index]['token'] + '"><i class="icon-chevron-right"></i> ' + data[index]['name'] + '</a></li>'; }); if (typeof data['has_errors'] !== 'undefined' && data['has_errors']) $.each(data, function(index, value) { if (typeof data[index] == 'string') $.growl.error({ title: "", message: data[index]}); }); else if (quicklink_list) { $("#header_quick ul.dropdown-menu").html(quicklink_list); showSuccessMessage(update_success_msg); } } }); } }); }); </script> {/if} <ul id="header_employee_box"> {if (!isset($logged_on_addons) || !$logged_on_addons) && (isset($display_addons_connection) && $display_addons_connection)} <li class="hidden-sm hidden-xs"> <a href="#" class="addons_connect toolbar_btn" data-toggle="modal" data-target="#modal_addons_connect" title="{l s='Connect to PrestaShop Marketplace account'}"> <i class="icon-chain-broken"></i> <span class="string-long">{l s='Connect to PrestaShop Marketplace account'}</span> <span class="string-short">{l s='PrestaShop Marketplace'}</span> </a> </li> {/if} {if {$base_url[spam-filter] <li> <a href="{if isset($base_url_tc)}{$base_url_tc|escape:'html':'UTF-8'}{else}{$base_url|escape:'html':'UTF-8'}{/if}" id="header_foaccess" class="_blank" title="{l s='View my shop'}"> <span class="string-long">{l s='My shop'}</span> <span class="string-short">{l s='Shop'}</span> </a> {if isset($maintenance_mode) && $maintenance_mode == true} <span class="maintenance-mode"> — <span class="label-tooltip" data-toggle="tooltip" data-placement="bottom" data-html="true" title="<p class='text-left text-nowrap'><strong>{l s='Your shop is in maintenance.'}</strong></p><p class='text-left'>{l s='Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Preferences > Maintenance.' sprintf='<br />'}</p>">{l s='Maintenance mode'}</span> </span> {/if} </li> {/if} <li id="employee_infos" class="dropdown"> <a href="{$link->getAdminLink('AdminEmployees')|escape:'html':'UTF-8'}&id_employee={$employee->id|intval}&updateemployee" class="employee_name dropdown-toggle" data-toggle="dropdown"> <span class="employee_avatar_small"> {if isset($employee)} <img class="imgm img-thumbnail" alt="" src="{$employee->getImage()}" width="32" height="32" /> {/if} </span> <span class="string-long">{$employee->firstname} {$employee->lastname}</span> <span class="string-short">{l s='Me'}</span> <i class="caret"></i> </a> <ul id="employee_links" class="dropdown-menu"> <li> <span class="employee_avatar"> <img class="imgm img-thumbnail" alt="" src="{$employee->getImage()}" width="96" height="96" /> </span> </li> <li class="text-center text-nowrap">{$employee->firstname} {$employee->lastname}</li> <li class="divider"></li> <li><a href="{$link->getAdminLink('AdminEmployees')|escape:'html':'UTF-8'}&id_employee={$employee->id|intval}&updateemployee"><i class="icon-wrench"></i> {l s='My preferences'}</a></li> {if $host_mode} <li><a href="https://www.prestashop.com/cloud/" class="_blank"><i class="icon-wrench"></i> {l s='My PrestaShop account'}</a></li> {/if} <li class="divider"></li> <li><a id="header_logout" href="{$login_link|escape:'html':'UTF-8'}&logout"><i class="icon-signout"></i> {l s='Sign out'}</a></li> </ul> </li> </ul> <span id="ajax_running"> <i class="icon-refresh icon-spin icon-fw"></i> </span> {if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if} </div> </nav>{* end header_infos*} </header> <div id="main"> {include file='nav.tpl'} <div id="content" class="{if !$bootstrap}nobootstrap{else}bootstrap{/if}"> {if isset($page_header_toolbar)}{$page_header_toolbar}{/if} {if isset($modal_module_list)}{$modal_module_list}{/if} {if $install_dir_exists} <div class="alert alert-warning"> {l s='For security reasons, you must also delete the /install folder.'} </div> {/if} {hook h='displayAdminAfterHeader'} {* end display_header*} {else} <body{if isset($lite_display) && $lite_display} class="ps_back-office display-modal"{/if}> <div id="main"> <div id="content" class="{if !$bootstrap}nobootstrap{else}bootstrap{/if}"> {/if}
  4. I changed it squat.sk/adminxx luphac.sk/adminxx when I open it first time, it looks normal, I can write a login and password, and after push LOG IN, write this error
  5. Prestashop 1.6.1.1 old web: www.squat.sk new web: www.luphac.sk admin folder: admin clear cash does not help
  6. Hi, I have duplicated eshop to new domain, front end looks good, but when i try to log in to administration, i get this error: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template ".../web/dreambig/themes/default/template/header.tpl" on line 47 "{/if}" unknown tag "ifclose" <-- thrown in /.../web/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 47 When I delete the {/if} and another else, I see administration without CSS. Can somebody help me with this issue? Thanks
×
×
  • Create New...