Page 1 of 1

joomla installation stuck

PostPosted: 25. May 2015 12:01
by ygwolf
joomla installation stuck at step 2 (creating tables), I saw a suggestion for this problem:

"Hi all,
this post helped my installation to finish quickly .. it first was hanging as described by others above
.. thanks !! :)

sovainfo wrote:
Edit installation/model/database.php making it look like below starting from line 804:
Code:
// Get an array of queries from the schema and process them.
$queries = $this->_splitQueries($buffer);
set_time_limit(0);
foreach ($queries as $query)"

Is this reasonable? and how do I get to this code?

Re: joomla installation stuck

PostPosted: 25. May 2015 13:39
by Altrea
ygwolf wrote:Is this reasonable?

Maybe. If you serach the internet there are two common solutions for this problem:
- increase the max_execution_time limit
- change from InnoDB to MyISAM
Both seem to be plausible.

ygwolf wrote:how do I get to this code?

This is a joomla specific question better been asked at a joomla specific board.

best wishes,
Altrea

Re: joomla installation stuck

PostPosted: 25. May 2015 14:33
by ygwolf
This refers to the xampp code.

Re: joomla installation stuck

PostPosted: 25. May 2015 14:45
by Altrea
Google for installation/model/database.php and you will find Joomla specific hits only

Re: joomla installation stuck

PostPosted: 25. May 2015 16:43
by mark.mcdonald
So edit your php.ini file, using the xampp manager menu system

PHP -> php.ini
Find the parameter

max_execution_time = 30
And change it to

max_execution_time = 200
Once the install has completed go back and change it back to a value no more than 60.