Jump to content
Sign in to follow this  
alfy41

Prestashop 1.7.3.3 eroare dupa instalare

Recommended Posts

Buna, dupa o instalare a ultimei versiuni Prestashop 1.7.3.3. la accesare magazin pe domeniu "x"  apare o problema: face trimitere la arhiva zip ,desi instalarea a fost terminata cu succes, baza de date este instalata, acces in back admin se face . Mesajul este

An error has occured: 
Unzipping error - Unable to find the release zip file. Make sure that the prestashop.zip file has been uploaded and is located in the same directory as this dezipper.

Cum se iese din aceasta bucla???? Multumesc.

Share this post


Link to post
Share on other sites

Inlocuieste index.php din public_html cu acesta;

 

<?php
/**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * 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:
 * https://opensource.org/licenses/OSL-3.0
 * 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 license@prestashop.com 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 <contact@prestashop.com>
 * @copyright 2007-2017 PrestaShop SA
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

require(dirname(__FILE__).'/config/config.inc.php');
Dispatcher::getInstance()->dispatch();

 

Share this post


Link to post
Share on other sites

Am inlocuit si tot pe pagina de Prestashop Installer ma duce.......

1 hour ago, Geo Burlibasa said:

Inlocuieste index.php din public_html cu acesta;

 


<?php
/**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * 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:
 * https://opensource.org/licenses/OSL-3.0
 * 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 license@prestashop.com 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 <contact@prestashop.com>
 * @copyright 2007-2017 PrestaShop SA
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

require(dirname(__FILE__).'/config/config.inc.php');
Dispatcher::getInstance()->dispatch();

 

Am inlocuit dar tot la Installer ma duce......

Share this post


Link to post
Share on other sites

codul sursa din prima pagina apare asa chiar daca am inlocuit index.php

ce genereaza codul aici oare?

<!DOCTYPE html>
  <html>
  <head>
  <meta charset="UTF-8">
  <title>PrestaShop installation</title>
  <link rel="stylesheet" type="text/css" href="index.php?element=css">
  </head>
  <body>
  <div id="content">
  <div>
  <img id="spinner" src="index.php?element=gif"/>
  <div id="progressContainer">
  <div class="progressNumber">0 %</div>
  <div class="progress">
  <div class="current">
  </div>
  </div>
  </div>
  <div id="error"></div>
  </div>
  </div>
  <script type="text/javascript" src="index.php?element=jquery"></script>
  <script type="text/javascript">
   
  function extractFiles(startId) {
   
  if (typeof startId === 'undefined') {
  startId = 0;
  }
   
  var request = $.ajax({
  method: "POST",
  url: "index.php",
  data: {
  extract: true,
  startId: startId,
  }
  });
   
  request.done(function(msg) {
  try {
  msg = JSON.parse(msg);
  } catch (e) {
  if (String(msg).match("<tittle>PrestaShop")) {
  msg = "Invalid server response";
  }
  msg = {
  message: msg
  };
  }
   
  if (
  msg.error
  || typeof msg.lastId === 'undefined'
  || typeof msg.numFiles === 'undefined'
  ) {
  $('#error').html('An error has occured: <br />' + msg.message);
  $('#spinner').remove();
  } else {
  if (msg.lastId > msg.numFiles) {
  // end
  window.location.href = 'install/';
  } else {
  $("#progressContainer")
  .find(".current")
  .width((msg.lastId / msg.numFiles * 100)+'%');
   
  $("#progressContainer")
  .find(".progressNumber")
  .css({left: Math.round((msg.lastId / msg.numFiles * 100))+'%'})
  .html(Math.round((msg.lastId / msg.numFiles * 100))+'%');
   
  extractFiles(msg.lastId);
  }
  }
  });
   
  request.fail(function(jqXHR, textStatus, errorThrown) {
  $('#error').html('An error has occurred' + textStatus);
  $('#spinner').remove();
  });
  }
   
  $(function() {
  extractFiles();
  });
  </script>
  </body>
  </html>

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More