Cannot Install Joomla 3.0 on Xampp
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Oct 03, 2013 5:45 am
Cannot Install Joomla 3.0 on Xampp
I faced a problem when I install Joomla 3.0 on Xampp. After first step configuration, I put in email, password and site name and then I click next. It was processing so long. It don't have any issue with joomla 1.5. Kindly help, urgent. Is that possible Xampp version.
- toivo
- Joomla! Master
- Posts: 13137
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Zagreb, Croatia
Re: Cannot Install Joomla 3.0 on Xampp
Did you follow the available instructions, for example:
http://magazine.joomla.org/issues/issue ... -made-easy
http://docs.joomla.org/Configuring_a_XA ... evelopment
http://magazine.joomla.org/issues/issue ... -made-easy
http://docs.joomla.org/Configuring_a_XA ... evelopment
Toivo Talikka, Global Moderator
-
- I've been banned!
- Posts: 1498
- Joined: Fri Jul 12, 2013 5:37 pm
- Contact:
Re: Cannot Install Joomla 3.0 on Xampp
for installation joomla 3.0, you need to have PHP 5.3.1 or higher
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Oct 03, 2013 5:45 am
Re: Cannot Install Joomla 3.0 on Xampp
toivo wrote:Did you follow the available instructions, for example:
http://magazine.joomla.org/issues/issue ... -made-easy
http://docs.joomla.org/Configuring_a_XA ... evelopment
Yes, I did followed with the instruction but it is same issue. Possible to be PHP version ?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Oct 05, 2013 7:53 am
Re: Cannot Install Joomla 3.0 on Xampp
To succeed in installing joomla_3.1.5!, you need to patch a php file.
In libraries/joomla/filter/input.php line 656 and 659
joomla! uses preg-replace() with the /e option whom is deprecated
the code sequence should be replaced by the following :
// $source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
$source = preg_replace_callback('/&#(\d+);/m',
function($matches) {
return utf8_encode(chr($matches[0]));
},
$source);
// Convert hex
// $source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi',
function($matches) {
return utf8_encode(chr('0x'.$matches[0]));
},
$source);
I did it and succeded to install joomla!
In libraries/joomla/filter/input.php line 656 and 659
joomla! uses preg-replace() with the /e option whom is deprecated
the code sequence should be replaced by the following :
// $source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
$source = preg_replace_callback('/&#(\d+);/m',
function($matches) {
return utf8_encode(chr($matches[0]));
},
$source);
// Convert hex
// $source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi',
function($matches) {
return utf8_encode(chr('0x'.$matches[0]));
},
$source);
I did it and succeded to install joomla!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jan 05, 2007 9:16 am
Re: Cannot Install Joomla 3.0 on Xampp
I had the same problem and this worked for me. Thanks jlbeltramijlbeltrami wrote:To succeed in installing joomla_3.1.5!, you need to patch a php file.
In libraries/joomla/filter/input.php line 656 and 659
joomla! uses preg-replace() with the /e option whom is deprecated
the code sequence should be replaced by the following :
// $source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
$source = preg_replace_callback('/&#(\d+);/m',
function($matches) {
return utf8_encode(chr($matches[0]));
},
$source);
// Convert hex
// $source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi',
function($matches) {
return utf8_encode(chr('0x'.$matches[0]));
},
$source);
I did it and succeded to install joomla!

-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Oct 08, 2013 5:33 pm
Re: Cannot Install Joomla 3.0 on Xampp
Just add in .htaccess file follow lines:
php_value display_errors 0
php_value error_reporting 7
php_value display_errors 0
php_value error_reporting 7
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Oct 09, 2013 7:53 pm
Re: Cannot Install Joomla 3.0 on Xampp
I did the above patch and it worked for me too. It should be in the original source code.
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sun Aug 19, 2012 12:12 pm
- Contact:
Re: Cannot Install Joomla 3.0 on Xampp
I did above patch and the installation went successfully to the end.
- xfsgpr
- Joomla! Ace
- Posts: 1027
- Joined: Mon Feb 14, 2011 4:02 am
- Location: London
Re: Cannot Install Joomla 3.0 on Xampp
Another solution is to increase the maximum_execution_time to 300 (from 30) in php.ini.
Doing so everything goes very smoothly. I think, Joomla Engineers should put this a pre-requisite for joomla installation and should be flagged as not met in the second stage of the installation.
I would leave out changing anything in joomla installation files and instead fix the php.ini file.
Doing so everything goes very smoothly. I think, Joomla Engineers should put this a pre-requisite for joomla installation and should be flagged as not met in the second stage of the installation.
I would leave out changing anything in joomla installation files and instead fix the php.ini file.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Oct 13, 2013 8:32 am
Re: Cannot Install Joomla 3.0 on Xampp
I also faced the same problem.
The changes to the ...\libraries\joomla\filter\
input.php line 656 and 659 fixed the issue.
Thank you very much.
The changes to the ...\libraries\joomla\filter\
input.php line 656 and 659 fixed the issue.
Thank you very much.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Oct 24, 2013 5:49 am
Re: Cannot Install Joomla 3.0 on Xampp
I have met the same problem,and I patched the input.php file,when I input the website name,and other information,and click the "next step",I was always be told to input the import informations.
How can I resolve it?
How can I resolve it?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Feb 23, 2014 4:25 pm
Re: Cannot Install Joomla 3.0 on Xampp
Its the same problem in XAMPP 1.8.3.3 and Joomla 3.2.2.
I changed input.php with above instruction and installation is very long-infinity.
Have you any ideas?
I changed input.php with above instruction and installation is very long-infinity.
Have you any ideas?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Mar 26, 2014 10:56 pm
Re: Cannot Install Joomla 3.0 on Xampp
Code: Select all
protected function _decode($source)
{
static $ttr;
if (!is_array($ttr))
{
// Entity decode
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
foreach ($trans_tbl as $k => $v)
{
$ttr[$v] = utf8_encode($k);
}
}
$source = strtr($source, $ttr);
// Convert decimal
// $source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
$source = preg_replace_callback('/&#(\d+);/m', function($matches) { return utf8_encode(chr($matches[0])); }, $source);
// Convert hex
// $source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($matches) { return utf8_encode(chr('0x'.$matches[0])); }, $source);
return $source;
}
- essiele
- Joomla! Enthusiast
- Posts: 100
- Joined: Mon Oct 03, 2011 9:52 am
Re: Cannot Install Joomla 3.0 on Xampp
I was having the same issue, getting the "... Connection refused" error message. When I checked the XAMPP status page, MySQL database was deactivated!
So I uninstalled XAMPP, disabled internet access, disabled my antivirus program and Tonido Network, then reinstalled XAMPP and checked the status page; MySQL database was activated! I then created a database and user using phpMyAdmin, created a folder in htdocs and was successfully able to install j!3.3.0.
Moral: it might be a good idea to ensure everything that's network dependent is disabled prior to installing XAMPP and anything associated.
So I uninstalled XAMPP, disabled internet access, disabled my antivirus program and Tonido Network, then reinstalled XAMPP and checked the status page; MySQL database was activated! I then created a database and user using phpMyAdmin, created a folder in htdocs and was successfully able to install j!3.3.0.
Moral: it might be a good idea to ensure everything that's network dependent is disabled prior to installing XAMPP and anything associated.
Ess'iele
... seeing things.
... seeing things.
-
- Joomla! Enthusiast
- Posts: 175
- Joined: Wed Dec 03, 2014 7:36 am
- Contact:
Re: Cannot Install Joomla 3.0 on Xampp
I could not installation joomla in Xampp 1.8.3 in window, i had to remove Xampp 1.8.3 and installation Xampp 1.8.2, and it work. Then i find out a way to fix error when installation joomla in Xampp 1.8.3:
Replace all InnoDB by MyISam in sample data
Replace all InnoDB by MyISam in sample data
Last edited by jootempl on Mon Mar 23, 2015 2:37 am, edited 1 time in total.
Responsive joomla templates - http://beautiful-templates.com/evo/cate ... templates/
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Cannot Install Joomla 3.0 on Xampp
Advice against changing engine to MyISAM, configure properly instead!
Suggest to increase max_execution_time for PHP to at least 120.
For installation of Joomla use set_time_limit(0) in database.php.
Suggest to increase max_execution_time for PHP to at least 120.
For installation of Joomla use set_time_limit(0) in database.php.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri May 02, 2014 9:32 pm
Re: Cannot Install Joomla 3.0 on Xampp
Thanks very much. Great, simple and perfect solution.xfsgpr wrote:Another solution is to increase the maximum_execution_time to 300 (from 30) in php.ini.
Doing so everything goes very smoothly. I think, Joomla Engineers should put this a pre-requisite for joomla installation and should be flagged as not met in the second stage of the installation.
I would leave out changing anything in joomla installation files and instead fix the php.ini file.