Page 1 of 1

Cannot Install Joomla 3.0 on Xampp

Posted: Thu Oct 03, 2013 5:53 am
by motor_rider
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.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Thu Oct 03, 2013 7:36 am
by toivo

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Thu Oct 03, 2013 3:58 pm
by iextensions
for installation joomla 3.0, you need to have PHP 5.3.1 or higher

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Fri Oct 04, 2013 2:48 am
by motor_rider

Yes, I did followed with the instruction but it is same issue. Possible to be PHP version ?

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sat Oct 05, 2013 8:05 am
by jlbeltrami
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!

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Tue Oct 08, 2013 1:45 pm
by swinglish
jlbeltrami 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!
I had the same problem and this worked for me. Thanks jlbeltrami :)

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Tue Oct 08, 2013 5:35 pm
by vdimas
Just add in .htaccess file follow lines:

php_value display_errors 0
php_value error_reporting 7

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Wed Oct 09, 2013 8:34 pm
by abel406
I did the above patch and it worked for me too. It should be in the original source code.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Fri Oct 11, 2013 8:04 pm
by richardm55
I did above patch and the installation went successfully to the end.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sat Oct 12, 2013 2:00 pm
by xfsgpr
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.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sun Oct 13, 2013 8:40 am
by johnwest111
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.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Thu Oct 24, 2013 7:44 am
by bosir_it
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?

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sun Feb 23, 2014 6:12 pm
by mogito
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?

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Wed Mar 26, 2014 11:03 pm
by mastad

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;

}

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sun May 25, 2014 3:28 pm
by essiele
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.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sun Mar 22, 2015 2:54 am
by jootempl
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

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Sun Mar 22, 2015 8:47 am
by sovainfo
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.

Re: Cannot Install Joomla 3.0 on Xampp

Posted: Tue Apr 14, 2015 11:18 am
by ManelVicent
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.
Thanks very much. Great, simple and perfect solution.