joao.cordeiro Posted October 6, 2014 Share Posted October 6, 2014 Hi There, 1st of all, Thank you for developing this software in an opensource model. I'm trying to install, for testing, the latest presstashop on a 5 dolar/month VPS. And i am stuck on a ajax/jquery timeout issue that i cant resolve. The problem is that the data/db_structure.sql takes from 10s to 20s to execute but jquery is somehow(and i dont know where) configured to timeout after 5 secs. So, on Store installation phase on 2nd step (Create database tables) i get the following error: An error occurred during installation... I have traced the error to: install//theme/js/process.js function process_install(step) $.ajax({ error: function() { from the php side i could see the that the browser error is displayed while the server is processing: install/controllers/http/process.php public function processInstallDatabase() No php error is generated in this function and it actually executes the $this->ajaxJsonAnswer(true); line. But at this point javascript is already broken and the install cannot continue. So, if in fact my problem is the delay of the following line being longer then the ajax time out $this->model_install->installDatabase($this->session->database_clear) Then i got 1 solution and one work around Solution = fix the ajax timeout to a larger time out, like 60s (please note that the entire database creation executes here, 2516 lines of sql) Work around = create the database by hand and put a dummy on install/data/db_structure.sql So if any one can help me on any solution to this problem i would appreciate it. I know this is not a good machine for prestashop, but since this only for testing i think i should be able to do it. Link to comment Share on other sites More sharing options...
joao.cordeiro Posted October 6, 2014 Author Share Posted October 6, 2014 Another work around is to install prestashop using the command line installer php index_cli.php As it is showed in: http://doc.prestashop.com/display/PS16/Installing+PrestaShop+using+the+command-line+script 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