Jump to content
Sign in to follow this  
Roumek

[{Shoppica install error}] Проблема с регистрацией

Recommended Posts

Здравствуйте.

При регистрации нет возможности указать " Регион / Область" и за этого вылетает ошибка.

http://enter.cv.ua

Share this post


Link to post
Share on other sites

<html>
<head>
<title>Install Error</title>
</head>
<body>
 <div id="shoppica_install_error">
<p style="
  z-index: 1100;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 340px;
  margin: -250px 0 0 -305px;
  padding: 30px;
  line-height: 20px;
  color: #000;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
"><strong style="display: block; text-align: center; margin-bottom: 15px; font-size: 18px; color: red;">Warning!</strong>
  You see this message due one (or more) of the following reasons:<br /><br />
  1. You have not enabled your 'Shoppica Theme CP' module. Please, go to admin panel, enter Extensions->Modules and change the status of 'Shoppica Theme CP' to `enabled`.
  <br />
  <br />
  2. You have not properly updated your index.php file. It should contain these two lines (near the end):
  <br />
  <br />
  <span style="display: block; padding: 4px 7px 5px 7px; font-family: Courier New; color: green; border: 1px solid #eee;">
  // Shoppica<br />
  $controller->addPreAction(new Action('module/shoppica/init'));
  </span>
  <br />
  <span style="display: block; line-height: 14px; font-size: 11px;color: #666;">For more information about the theme installation, please read carefully the <a style="color: blue;" href="http://shoppica.net/docs/index.html">Shoppica Extended Documentation</a>.
  <br />
  <br />
  If you think you've made everything according to the installation instructions and this message continues to appear, please contact the support.</span>
</p>
<span id="shoppica_install_error_overlay" style="z-index: 1000; position: fixed; display: block; width: 100%; height: 100%; background: #fff; opacity: 0.9;"></span>
 </div>
</body>
</html>

Share this post


Link to post
Share on other sites

<html>
<head>
<title>Install Error</title>
</head>
<body>
 <div id="shoppica_install_error">
<p style="
  z-index: 1100;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 340px;
  margin: -250px 0 0 -305px;
  padding: 30px;
  line-height: 20px;
  color: #000;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
"><strong style="display: block; text-align: center; margin-bottom: 15px; font-size: 18px; color: red;">Warning!</strong>
  You see this message due one (or more) of the following reasons:<br /><br />
  1. You have not enabled your 'Shoppica Theme CP' module. Please, go to admin panel, enter Extensions->Modules and change the status of 'Shoppica Theme CP' to `enabled`.
  <br />
  <br />
  2. You have not properly updated your index.php file. It should contain these two lines (near the end):
  <br />
  <br />
  <span style="display: block; padding: 4px 7px 5px 7px; font-family: Courier New; color: green; border: 1px solid #eee;">
  // Shoppica<br />
  $controller->addPreAction(new Action('module/shoppica/init'));
  </span>
  <br />
  <span style="display: block; line-height: 14px; font-size: 11px;color: #666;">For more information about the theme installation, please read carefully the <a style="color: blue;" href="http://shoppica.net/docs/index.html">Shoppica Extended Documentation</a>.
  <br />
  <br />
  If you think you've made everything according to the installation instructions and this message continues to appear, please contact the support.</span>
</p>
<span id="shoppica_install_error_overlay" style="z-index: 1000; position: fixed; display: block; width: 100%; height: 100%; background: #fff; opacity: 0.9;"></span>
 </div>
</body>
</html>

проблема в шаблоне?

Share this post


Link to post
Share on other sites

Отредактировал файл Index.php

Open index.php with your preferred text editor.
Find the following two lines (approximately line 213):

// Front Controller
$controller = new Front($registry);

Insert these two lines immediately* after them:

// TB
$controller->dispatch(new Action('common/tb', array('front' => $controller)), new Action('error/not_found'));

И после этого ошибка такая

Warning!
You see this message due one (or more) of the following reasons:[/color]

1. You have not enabled your 'Shoppica Theme CP' module. Please, go to admin panel, enter Extensions->Modules and change the status of 'Shoppica Theme CP' to `enabled`.

2. You have not properly updated your index.php file. It should contain these two lines (near the end):

// Shoppica
$controller->addPreAction(new Action('module/shoppica/init'));

Share this post


Link to post
Share on other sites

и в чем проблема?

в ошибке четко написано, что надо делать.

если сделали ВСЕ, но проблемы остались - обратитесь в поддержку (email авторов дополнения там ведь указан?).

Share this post


Link to post
Share on other sites

строка

// Shoppica
$controller->addPreAction(new Action('module/shoppica/init'));

есть в том файле и получается тупик :cry:

Edited by afwollis

Share this post


Link to post
Share on other sites

а с этим пунктом у вас как?

1. You have not enabled your 'Shoppica Theme CP' module. Please, go to admin panel, enter Extensions->Modules and change the status of 'Shoppica Theme CP' to `enabled`.

Share this post


Link to post
Share on other sites

а с этим пунктом у вас как?

включал-отключал-включал и не помогло

Share this post


Link to post
Share on other sites

поставил строку // Shoppica после // Front Controller и теперь другая ошибка

Notice: Constant RES_URL already defined in /sata1/home/users/skybox/www/www.enter.cv.ua/catalog/controller/module/shoppica.php on line 38Notice: Constant CURRENT_URL already defined in /sata1/home/users/skybox/www/www.enter.cv.ua/catalog/controller/module/shoppica.php on line 39

// Front Controller 
$controller = new Front($registry);

// Shoppica
$controller->addPreAction(new Action('module/shoppica/init'));

// TB
$controller->dispatch(new Action('common/tb', array('front' => $controller)), new Action('error/not_found'));

Share this post


Link to post
Share on other sites

перезалейте файл

catalog/controller/module/shoppica.php

убедитесь, что в файле не повторяются строки, указанные в ошибке.

Share this post


Link to post
Share on other sites

перезалейте файл

catalog/controller/module/shoppica.php

убедитесь, что в файле не повторяются строки, указанные в ошибке.

к сожалению не помогло...

тут нашел тоже такую ошибку

https://github.com/opencart/opencart/issues/278

http://www.opencartbrasil.com.br/forum/viewtopic.php?f=12&t=4185

http://themeforest.net/item/spicylicious-premium-opencart-theme/discussion/642914?page=33

http://forum.opencart.com/viewtopic.php?t=65248

может проблема в версия шаблона и ocStore?

ocstore_v1.5.3.1.zip

тема OpenCart_v.1.5.2.x

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.