Jump to content

Проблема с "Мои адреса" в личном кабинете


Recommended Posts

Если зайти в ЛК как клиент и нажать на ссылку "Мои адреса", то выдает следующую ошибку:

Fatal error: Call to undefined method Tools::displayFileAsDeprecated() in /home/f/final/kupislona.ua/public_html/addresses.php on line 35


Я действительно не знаю что делать, было бы неплохо поправить все или отключить "мои адреса".

Вот что у меня в файле adresses.php 

* 2007-2013 PrestaShop
* This source file is subject to the Open Software License (OSL 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/osl-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.
* 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/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA

 * This file will be removed in 1.6
 * You have to use index.php?controller=page_name instead of this page
 * @deprecated 1.5.0


Tools::redirect('index.php?controller=addresses'.((count($_GET) || count($_POST)) ? '&'.http_build_query(array_merge($_GET, $_POST), '', '&') : ''), __PS_BASE_URI__, null, 'HTTP/1.1 301 Moved Permanently');

Что делать? Только прошу объяснить как для чайника...спасибо!

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...