alfy41 Posted May 31, 2018 Share Posted May 31, 2018 after a clean installation in the start page of the store there is a problem that can not be quit ... it sends me to the zip installation archive, although it has succeeded .... source code is so .... how can solve this problem ???? <!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 More sharing options...
alfy41 Posted May 31, 2018 Author Share Posted May 31, 2018 the message that appears on the front page is: 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. 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