Cannot Install Joomla 3.0 on Xampp

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
motor_rider
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 03, 2013 5:45 am

Cannot Install Joomla 3.0 on Xampp

Post by motor_rider » Thu Oct 03, 2013 5:53 am

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.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11161
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

Re: Cannot Install Joomla 3.0 on Xampp

Post by toivo » Thu Oct 03, 2013 7:36 am

Toivo Talikka, Global Moderator

iextensions
I've been banned!
Posts: 1498
Joined: Fri Jul 12, 2013 5:37 pm
Contact:

Re: Cannot Install Joomla 3.0 on Xampp

Post by iextensions » Thu Oct 03, 2013 3:58 pm

for installation joomla 3.0, you need to have PHP 5.3.1 or higher

motor_rider
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 03, 2013 5:45 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by motor_rider » Fri Oct 04, 2013 2:48 am


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

jlbeltrami
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Oct 05, 2013 7:53 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by jlbeltrami » Sat Oct 05, 2013 8:05 am

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!

swinglish
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jan 05, 2007 9:16 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by swinglish » Tue Oct 08, 2013 1:45 pm

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 :)

vdimas
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Oct 08, 2013 5:33 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by vdimas » Tue Oct 08, 2013 5:35 pm

Just add in .htaccess file follow lines:

php_value display_errors 0
php_value error_reporting 7

abel406
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Oct 09, 2013 7:53 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by abel406 » Wed Oct 09, 2013 8:34 pm

I did the above patch and it worked for me too. It should be in the original source code.

richardm55
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Sun Aug 19, 2012 12:12 pm
Contact:

Re: Cannot Install Joomla 3.0 on Xampp

Post by richardm55 » Fri Oct 11, 2013 8:04 pm

I did above patch and the installation went successfully to the end.

User avatar
xfsgpr
Joomla! Ace
Joomla! Ace
Posts: 1020
Joined: Mon Feb 14, 2011 4:02 am
Location: London

Re: Cannot Install Joomla 3.0 on Xampp

Post by xfsgpr » Sat Oct 12, 2013 2:00 pm

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.

johnwest111
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Oct 13, 2013 8:32 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by johnwest111 » Sun Oct 13, 2013 8:40 am

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.

bosir_it
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Oct 24, 2013 5:49 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by bosir_it » Thu Oct 24, 2013 7:44 am

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?

mogito
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Feb 23, 2014 4:25 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by mogito » Sun Feb 23, 2014 6:12 pm

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?

mastad
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Mar 26, 2014 10:56 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by mastad » Wed Mar 26, 2014 11:03 pm

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;

}

User avatar
essiele
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 100
Joined: Mon Oct 03, 2011 9:52 am

Re: Cannot Install Joomla 3.0 on Xampp

Post by essiele » Sun May 25, 2014 3:28 pm

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.
Ess'iele
... seeing things.

jootempl
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Wed Dec 03, 2014 7:36 am
Contact:

Re: Cannot Install Joomla 3.0 on Xampp

Post by jootempl » Sun Mar 22, 2015 2:54 am

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
Last edited by jootempl on Mon Mar 23, 2015 2:37 am, edited 1 time in total.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by sovainfo » Sun Mar 22, 2015 8:47 am

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.
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!

ManelVicent
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri May 02, 2014 9:32 pm

Re: Cannot Install Joomla 3.0 on Xampp

Post by ManelVicent » Tue Apr 14, 2015 11:18 am

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.


Locked

Return to “Installation Joomla! 3.x”