Jump to content

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.

Link to comment
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 [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-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();

 

Link to comment
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 [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-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......

Link to comment
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>
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...