Pages: 12Next
Current Page: 1 of 2
Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: March 11, 2014 07:25AM

Hi everyone,

over the last few weeks i've been having trouble getting the latest version of Joomla to work on wamp.

I currently have over 100 websites already running on my wamp server without issue and didn't want to try anything too risky in case i break something.


I'm currently running wamp 2.0 with apache 2.2.11, php 5.3.1, and mySQL 5.1.36

all of these meet the minimum system requirements for Joomla version 3 and i even have magic quotes disabled but regardless of what i do nothing works.

when trying to install a fresh copy of joomla i can never get passed the second step where you set up the sql database. every time i click next the page will start showing its loading bar but nothing happens. I've tried different browsers but still no luck.

anyone know what im doing wrong?

thanks.

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.as13285.net)
Date: March 11, 2014 10:26AM

This is the usual problem. It is because Joomla database setup takes quite a while.

All you need to do is:-

Edit the php.ini file ( use the wampmanager menu links )

Look for this parameter 'max_execution_time' its default is 30 seconds

max_execution_time = 30

Change this to 120

max_execution_time = 120

then run your Joomla install.
Once its completed, chnage the parameter back to no more than 60 seconds.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: March 11, 2014 11:35PM

I've already tried that. i checked the settings and it was already sett higher than that.

i did try setting it to 120 like you said but still nothing.

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.as13285.net)
Date: March 11, 2014 11:49PM

Have you checked the php error log?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: March 11, 2014 11:55PM

there is only one error listed

PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\Tag3\libraries\joomla\session\session.php on line 656


this is the section of code it is referring to:

/**
* Start a session.
*
* Creates a session (or resumes the current one based on the state of the session)
*
* @return boolean true on success
*
* @since 11.1
*/
protected function _start()
{
// Start session if not started
if ($this->_state === 'restart')
{
session_regenerate_id(true);
}
else
{
$session_name = session_name();

// Get the JInputCookie object
$cookie = $this->_input->cookie;

if (is_null($cookie->get($session_name)))
{
$session_clean = $this->_input->get($session_name, false, 'string');

if ($session_clean)
{
session_id($session_clean);
$cookie->set($session_name, '', time() - 3600);
}
}
}

/**
* Write and Close handlers are called after destructing objects since PHP 5.0.5.
* Thus destructors can use sessions but session handler can't use objects.
* So we are moving session closure before destructing objects.
*
* Replace with session_register_shutdown() when dropping compatibility with PHP 5.3
*/
register_shutdown_function('session_write_close');

session_cache_limiter('none');
session_start();

return true;
}

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.as13285.net)
Date: March 12, 2014 12:03AM

Oh well in that case the solution is easy.

You just need to change that parameter 'max_execution_time = 120' in the correct file.


Use the menus provided by the Wampmanager icon in the system tray, then you will edit the correct file instead of the file used only by PHP CLI

So thats

wampmanager -> PHP -> php.ini

Then change max_execution_time = 120 or greater if you like.

Dont forget to change it back once you have managed to do the install.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 2 time(s). Last edit at 03/12/2014 12:04AM by RiggsFolly.

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: March 12, 2014 12:36AM

still wont work sad smiley

thats the same file i made the other changes too as well.

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.as13285.net)
Date: March 12, 2014 10:11AM

If this is the error as you said it was

PHP Fatal error: Maximum execution time of 60 seconds exceeded

Then it is not overly relevant where it runs out of time, it could be on any line anywhere in the code.

Can you go to localhost and click on the 'phpinfo()' link.
Then check this parameter which you should see neat the top of the screen.

Loaded Configuration File C:\wamp\bin\apache\apache2.2.26\bin\php.ini


Make sure that you are not for some reason getting a rough php.ini file loaded.

Please reply with what your system reports in that parameter, and is that the file you were changing the max_execution_time in.
If it is a file located outside the \wamp\...... folder structure than you have a problem.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: March 12, 2014 11:22PM

i've opened up the phpinfo() from the localhost and checked the parameters.

max_execution_time 120 120

i can also confirm that the changes i was making in the php.ini file are being displayed on this page. the file is located in C:\wamp\bin\apache\Apache2.2.14\bin\php.ini


the only difference to what you are running is that i'm using apache 2.2.14

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.as13285.net)
Date: March 13, 2014 12:59AM

Do you still get the error when installing?

Does it now say its timing out after 120 seconds instead of 60 in the PHP error log?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: April 14, 2014 08:18AM

sorry for the late reply.

I'm still unable to get it to work. even with the changes nothing happens. after 120 seconds the blue loading bar vanishes and im still stuck on step 2

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: April 14, 2014 11:32AM

Well you need more time then, increase the

max_execution_time = 360

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: April 16, 2014 03:23AM

i tried increasing the max_execution_time to 360 and 720 but nothing changed. i also noticed that it was taking less than 6min before the loading bar disappeared. i then timed it on my phone and found it was only going for 1min before it stopped working.

i then changed the max_input_time to 120 and found that made a difference but now i get a new error.

Could not connect to the database. Connector returned number: Could not connect to MySQL.

any ideas?

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: April 16, 2014 03:30AM

Ok lets go back to basics. What color is your wampmanager icon in the system tray?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: April 16, 2014 03:31AM

white

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: April 16, 2014 03:37AM

WHITE?

You had better answer these before we go any further.

READ THIS BEFORE YOU ASK A QUESTION [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: April 16, 2014 03:48AM

Version of Operating system? windows 7 professional
Version of Wamp Server installed? 2.0
Version of Apache you are running? 2.2.14
Version of MySQL you are running? 5.1.36
Version of PHP you are running? 5.3.1

Do you have a HOSTS file? [c:\windows\system32\drivers\etc\hosts] - yes


# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

as for the tray icon, i don't have any "W" symbol just a little half circle that looks like a speedometer on a car's dashboard. sometimes its red, then yellow/orange, then white when the server is fully online.

but when i click on the icon it brings up a small menu with WAMPSERVER 2.0 written down one side and a few other options for configuring the php, sql, and apache ect...

what does this mean??

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: April 16, 2014 03:48AM

Sorry I just checked back to see the versions you are running. You are a bit near the nuckle when it comes to required versions but apparently they are all valid.


So what errors are you getting in php error log and also apache error log?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: Dark-Spencer (---.static.tpgi.com.au)
Date: April 16, 2014 03:51AM

php error log:

[30-Jan-2014 05:08:41] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\Tag3\libraries\joomla\session\session.php on line 656



mySQL log from today only:


140416 9:08:03 [Note] Plugin 'FEDERATED' is disabled.
140416 9:08:04 InnoDB: Started; log sequence number 0 992493275
140416 9:08:06 [Note] Event Scheduler: Loaded 0 events
140416 9:08:06 [Note] wampmysqld: ready for connections.
Version: '5.1.36-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
140416 11:12:01 [Note] wampmysqld: Normal shutdown

140416 11:12:01 [Note] Event Scheduler: Purging the queue. 0 events
140416 11:12:01 InnoDB: Starting shutdown...
140416 11:12:02 InnoDB: Shutdown completed; log sequence number 0 992493275
140416 11:12:02 [Warning] Forcing shutdown of 1 plugins
140416 11:12:02 [Note] wampmysqld: Shutdown complete

140416 11:12:02 [Note] Plugin 'FEDERATED' is disabled.
140416 11:12:02 InnoDB: Started; log sequence number 0 992493275
140416 11:12:03 [Note] Event Scheduler: Loaded 0 events
140416 11:12:03 [Note] wampmysqld: ready for connections.
Version: '5.1.36-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
140416 11:16:21 [Note] wampmysqld: Normal shutdown

140416 11:16:21 [Note] Event Scheduler: Purging the queue. 0 events
140416 11:16:21 InnoDB: Starting shutdown...
140416 11:16:22 InnoDB: Shutdown completed; log sequence number 0 992493275
140416 11:16:22 [Warning] Forcing shutdown of 1 plugins
140416 11:16:22 [Note] wampmysqld: Shutdown complete

140416 11:16:22 [Note] Plugin 'FEDERATED' is disabled.
140416 11:16:22 InnoDB: Started; log sequence number 0 992493275
140416 11:16:22 [Note] Event Scheduler: Loaded 0 events
140416 11:16:22 [Note] wampmysqld: ready for connections.
Version: '5.1.36-community-log' socket: '' port: 3306 MySQL Community Server (GPL)

Options: ReplyQuote
Re: Joomla 3 not installing on Wamp 2.0
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: April 16, 2014 03:59AM

Well this is the problem:

[30-Jan-2014 05:08:41] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\Tag3\libraries\joomla\session\session.php on line 656


So as you asked what the menus on the wampmanager icon were for I assume you are not using the very old wampserver 2.0 because you have used it for years and just never upgraded..

So can I assume you have edited the php.ini file manually i.e. you edited \wamp\bin\php\php5.3.1\php.ini ?

If so DONT that file is used by the PHP CLI only and is not the php.ini used by Apache!!


Use the wampmanager menus i.e.

wampmanager -> PHP -> php.ini

to edit the correct php.ini file, and make the change to max_execution_time in the file that opens in your editor when you click that menu link. Its not the same file.


If this is the first thing you have attempted to do with WampServer and you dont have anything already written that would need upgrading could I suggest you uninstall your version and install at least WampServer 2.2e before you start installing Joomla.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.