kotkotan Posted November 13, 2013 Share Posted November 13, 2013 Hello everybody! Trying upgrade my Prestashop from 1.5.4.1 to 1.5.6.0. Have last version (1.2.4) 1-Click-Upgrade module, all requirements marked green checkmarks. When i've push button "Upgrade Prestashop now" it is just not happened, nothing. It is just say PrestaShop wiil be download from https://www.prestashop.com/download/releases/prestashop_1.5.6.0.zip and that is all And compare versions always showing loading and can't show results. look my screens Can someone help me? What problem in it? Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2013 Share Posted November 18, 2013 Can you open the browser's console (f12) while performing the upgrade, and see if you get any error? Link to comment Share on other sites More sharing options...
kotkotan Posted November 18, 2013 Author Share Posted November 18, 2013 Can you open the browser's console (f12) while performing the upgrade, and see if you get any error? on Chrome? If F12- Console ? correct? i see this: Uncaught ReferenceError: autorefresh_notifications is not defined index.php?controller=AdminSelfUpgrade&token=501cee5108b4e0f838013d81ea7c5202:61 (anonymous function)index.php?controller=AdminSelfUpgrade&token=501cee5108b4e0f838013d81ea7c5202:61 ojquery-1.7.2.min.js:2 p.fireWithjquery-1.7.2.min.js:2 e.extend.readyjquery-1.7.2.min.js:2 c.addEventListener.Bjquery-1.7.2.min.js:2 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.7.2.min.js:3 Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2013 Share Posted November 18, 2013 Do you maybe have a local version of your website? THat variable should be assigned in the header.tpl file of the template Link to comment Share on other sites More sharing options...
kotkotan Posted November 18, 2013 Author Share Posted November 18, 2013 no my site is online. take a look www.gidrant.com.ua Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2013 Share Posted November 18, 2013 Try downloading, from the admin folder, themes\default\template\header.tpl Look for that variable in the file (autorefresh_notifications) Link to comment Share on other sites More sharing options...
kotkotan Posted November 18, 2013 Author Share Posted November 18, 2013 can't understand what should i do with this file? my header.tpl is {* * 2007-2013 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-2013 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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!--[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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-language" content="{$meta_language}" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var baseUri = '{$base_uri}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if} {if $content_only} content_only {/if}"> {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> {/if} <div id="page" class="container_9 clearfix"> <!-- Header --> <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right" class="grid_9 omega"> {$HOOK_TOP} </div> </div> <div id="columns" class="grid_9 alpha omega clearfix"> <!-- Left --> <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column" class=" grid_5"> {/if} Link to comment Share on other sites More sharing options...
kotkotan Posted April 23, 2014 Author Share Posted April 23, 2014 can somebody help me? Link to comment Share on other sites More sharing options...
NemoPS Posted April 25, 2014 Share Posted April 25, 2014 That's the front office header, please follow the path I suggested and post the back office one Link to comment Share on other sites More sharing options...
kotkotan Posted April 25, 2014 Author Share Posted April 25, 2014 (edited) oh i'm sorry. i understand. this is my header.tpl {* * 2007-2013 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-2013 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--[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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$iso}" lang="{$iso}"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="robots" content="NOFOLLOW, NOINDEX" /> <title>{$meta_title} - PrestaShop™</title> {if $display_header} <script type="text/javascript"> var help_class_name = '{$controller_name}'; var iso_user = '{$iso_user}'; var country_iso_code = '{$country_iso_code}'; var _PS_VERSION_ = '{$smarty.const._PS_VERSION_}'; var helpboxes = {$help_box}; var roundMode = {$round_mode}; {if isset($shop_context)} {if $shop_context == Shop::CONTEXT_ALL} var youEditFieldFor = "{l s='A modification of this field will be applied for all shops' slashes=1 }"; {elseif $shop_context == Shop::CONTEXT_GROUP} var youEditFieldFor = "{l s='A modification of this field will be applied for all shops of group ' slashes=1 }<b>{$shop_name}</b>"; {else} var youEditFieldFor = "{l s='A modification of this field will be applied for the shop ' slashes=1 }<b>{$shop_name}</b>"; {/if} {else} var youEditFieldFor = ''; {/if} {* Notifications vars *} var autorefresh_notifications = '{$autorefresh_notifications}'; var new_order_msg = '{l s='A new order has been placed on your shop.' slashes=1}'; var order_number_msg = '{l s='Order number: ' slashes=1}'; var total_msg = '{l s='Total: ' slashes=1}'; var from_msg = '{l s='From: ' slashes=1}'; var see_order_msg = '{l s='View this order' slashes=1}'; var new_customer_msg = '{l s='A new customer registered on your shop.' slashes=1}'; var customer_name_msg = '{l s='Customer name: ' slashes=1}'; var see_customer_msg = '{l s='View this customer' slashes=1}'; var new_msg = '{l s='A new message posted on your shop.' slashes=1}'; var excerpt_msg = '{l s='Excerpt: ' slashes=1}'; var see_msg = '{l s='Read this message' slashes=1}'; var token_admin_orders = '{getAdminToken tab='AdminOrders' slashes=1}'; var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1}'; var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1}'; var currentIndex = '{$currentIndex}'; </script> {/if} {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_dir}favicon.ico" /> {if isset($displayBackOfficeHeader)} {$displayBackOfficeHeader} {/if} <!--[if IE]> <link type="text/css" rel="stylesheet" href="{$base_url}css/admin-ie.css" /> <![endif]--> {if isset($brightness)} <style type="text/css"> div#header_infos, div#header_infos a#header_shopname, div#header_infos a#header_logout, div#header_infos a#header_foaccess {ldelim}color:{$brightness}{rdelim} </style> {/if} </head> <body style="{if isset($bo_color) && $bo_color}background:{$bo_color};{/if}{if isset($bo_width) && $bo_width > 0}text-align:center;{/if}"> {if $display_header} <div id="ajax_running"><img src="../img/admin/ajax-loader-yellow.gif" alt="" /> {l s='Loading...'}</div> <div id="top_container" {if $bo_width > 0}style="margin:auto;width:{$bo_width}px"{/if}> <div id="container"> {* begin HEADER *} <div id="header"> <div id="header_infos"> <a id="header_shopname" href="{$link->getAdminLink('AdminHome')|escape:'htmlall':'UTF-8'}"><span>{$shop_name}</span></a> <div id="notifs_icon_wrapper"> {if {$show_new_orders} == 1} <div id="orders_notif" class="notifs"> <span id="orders_notif_number_wrapper" class="number_wrapper"> <span id="orders_notif_value">0</span> </span> <div id="orders_notif_wrapper" class="notifs_wrapper"> <h3>{l s='Last orders'}</h3> <p class="no_notifs">{l s='No new orders has been placed on your shop'}</p> <ul id="list_orders_notif"></ul> <p><a href="index.php?controller=AdminOrders&token={getAdminToken tab='AdminOrders'}">{l s='Show all orders'}</a></p> </div> </div> {/if} {if ($show_new_customers == 1)} <div id="customers_notif" class="notifs notifs_alternate"> <span id="customers_notif_number_wrapper" class="number_wrapper"> <span id="customers_notif_value">0</span> </span> <div id="customers_notif_wrapper" class="notifs_wrapper"> <h3>{l s='Last customers'}</h3> <p class="no_notifs">{l s='No new customers registered on your shop'}</p> <ul id="list_customers_notif"></ul> <p><a href="index.php?controller=AdminCustomers&token={getAdminToken tab='AdminCustomers'}">{l s='Show all customers'}</a></p> </div> </div> {/if} {if {$show_new_messages} == 1} <div id="customer_messages_notif" class="notifs"> <span id="customer_messages_notif_number_wrapper" class="number_wrapper"> <span id="customer_messages_notif_value">0</span> </span> <div id="customer_messages_notif_wrapper" class="notifs_wrapper"> <h3>{l s='Last messages'}</h3> <p class="no_notifs">{l s='No new messages posted on your shop'}</p> <ul id="list_customer_messages_notif"></ul> <p><a href="index.php?tab=AdminCustomerThreads&token={getAdminToken tab='AdminCustomerThreads'}">{l s='Show all messages'}</a></p> </div> </div> {/if} </div> <div id="employee_box"> <div id="employee_infos"> <div class="employee_name">{l s='Welcome,'} <strong>{$first_name} {$last_name}</strong></div> <div class="clear"></div> <ul id="employee_links"> <li><a href="{$link->getAdminLink('AdminEmployees')|escape:'htmlall':'UTF-8'}&id_employee={$employee->id}&updateemployee">{l s='My preferences'}</a></li> <li class="separator"> </li> <li><a id="header_logout" href="index.php?logout">{l s='logout'}</a></li> {if {$base_url[spam-filter] <li class="separator"> </li> <a href="{$base_url}" id="header_foaccess" target="_blank" title="{l s='View my shop'}">{l s='View my shop'}</a> {/if} </ul> </div> </div> <div id="header_search"> <form method="post" action="index.php?controller=AdminSearch&token={getAdminToken tab='AdminSearch'}"> <input type="text" name="bo_query" id="bo_query" value="{$bo_query}" /> <select name="bo_search_type" id="bo_search_type" class="chosen no-search"> <option value="0">{l s='everywhere'}</option> <option value="1" {if {$search_type} == 1} selected="selected" {/if}>{l s='catalog'}</option> <optgroup label="{l s='customers'}:"> <option value="2" {if {$search_type} == 2} selected="selected" {/if}>{l s='by name'}</option> <option value="6" {if {$search_type} == 6} selected="selected" {/if}>{l s='by ip address'}</option> </optgroup> <option value="3" {if {$search_type} == 3} selected="selected" {/if}>{l s='orders'}</option> <option value="4" {if {$search_type} == 4} selected="selected" {/if}>{l s='invoices'}</option> <option value="5" {if {$search_type} == 5} selected="selected" {/if}>{l s='carts'}</option> <option value="7" {if {$search_type} == 7} selected="selected" {/if}>{l s='modules'}</option> </select> <input type="submit" id="bo_search_submit" class="button" value="{l s='Search'}"/> </form> </div> {if count($quick_access) > 0} <div id="header_quick"> <select onchange="quickSelect(this);" id="quick_select" class="chosen no-search"> <option value="0">{l s='Quick Access'}</option> {foreach $quick_access as $quick} <option value="{$quick.link|escape:'htmlall':'UTF-8'}{if $quick.new_window}_blank{/if}">» {$quick.name}</option> {/foreach} </select> </div> {/if} {if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if} </div>{* end header_infos*} <ul id="menu"> {if !$tab} <div class="mainsubtablist" style="display:none"></div> {/if} {foreach $tabs AS $t} {if $t.active} <li class="submenu_size maintab {if $t.current}active{/if}" id="maintab{$t.id_tab}"> <a href="#" class="title"> <img src="{$t.img}" alt="" />{if $t.name eq ''}{$t.class_name}{else}{$t.name}{/if} </a> <ul class="submenu"> {foreach from=$t.sub_tabs item=t2} {if $t2.active} <li><a href="{$t2.href|escape:'htmlall':'UTF-8'}">{if $t2.name eq ''}{$t2.class_name}{else}{$t2.name|escape:'htmlall':'UTF-8'}{/if}</a></li> {/if} {/foreach} </ul> </li> {/if} {/foreach} </ul> </div>{* end header*} {/if} <div id="main"> <div id="content"> {if $display_header && $install_dir_exists} <div style="background-color: #FFEBCC;border: 1px solid #F90;line-height: 20px;margin: 0px 0px 10px;padding: 10px 20px;"> {l s='For security reasons, you must also:'} {l s='delete the /install folder'} </div> {/if} {if $display_header && $is_multishop && $shop_list && ($multishop_context & Shop::CONTEXT_GROUP || $multishop_context & Shop::CONTEXT_SHOP)} <div class="multishop_toolbar"> <span class="text_multishop">{l s='Multistore configuration for'}</span> {$shop_list} </div> {/if} Edited April 25, 2014 by kotkotan (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 25, 2014 Share Posted April 25, 2014 Well it's there so i'm clueless at this point, it IS defined Link to comment Share on other sites More sharing options...
kotkotan Posted April 25, 2014 Author Share Posted April 25, 2014 (edited) Well it's there so i'm clueless at this point, it IS defined Waht does it mean? did you refresh topic. i have fing header.tpl from BO and it is in previous topic Edited April 25, 2014 by kotkotan (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 26, 2014 Share Posted April 26, 2014 Yes, I mean that the needed variable is assigned var autorefresh_notifications = '{$autorefresh_notifications}'; Link to comment Share on other sites More sharing options...
kotkotan Posted April 26, 2014 Author Share Posted April 26, 2014 Yes, I mean that the needed variable is assigned var autorefresh_notifications = '{$autorefresh_notifications}'; Cant't understand what should i do... Link to comment Share on other sites More sharing options...
kotkotan Posted April 29, 2014 Author Share Posted April 29, 2014 bump Link to comment Share on other sites More sharing options...
dogdayfear Posted March 2, 2015 Share Posted March 2, 2015 Same problem here. Stuck and 'Compare versions' always rolling. Cant upgrade. Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2015 Share Posted March 3, 2015 Same problem here. Stuck and 'Compare versions' always rolling. Cant upgrade. for best results, create new topic, old topics like this will not get you very good community visibility. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now