Infamous Installation Loop Fixed!

Read important announcements about Group-Office here

Moderator: Developers

jimmyninemsn
Posts: 3
Joined: Fri Oct 08, 2004 4:06 am

Infamous Installation Loop Fixed!

Postby jimmyninemsn » Mon Oct 10, 2005 4:15 pm

I have found the solution to the infamous installation loop. (As far as I know).

In the install script, it forgets about the tasks that have been completed.


Code: Select all

eg. $_SESSION['completed']['xxxxx'] = true; (where xxxxx is the task name).


You have to manually add the tasks to each case.

Add the tasks manually only to the cases that it has completed!!!!!!!!

For example in case 'license' you would have somethong like

Code: Select all

$_SESSION['completed']['test'] = true;
$_SESSION['completed']['license'] = true;


and for case 'smtp' you would have something like

Code: Select all

$_SESSION['completed']['test'] = true;
$_SESSION['completed']['license'] = true;
$_SESSION['completed']['database_connection'] = true;
$_SESSION['completed']['database_structure'] = true;
$_SESSION['completed']['title'] = true;
$_SESSION['completed']['url'] = true;
$_SESSION['completed']['tmpdir'] = true;


Do not add all tasks being completed to every case otherwise the installation will only show the end page which kills the PHP session.

I hope this works for everyone, as it has worked very successfully for me on several servers.

Good Luck! :D

Regards
Christopher
Flash/PHP/Website Developer
E-mail: turnbullns@mail.com
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Postby mschering » Tue Oct 11, 2005 3:44 pm

Hmm, but this shouldn' t really be nessecary because the session var should be saved for the whole session.
It's got to be some kind of session problem.
Best regards,

Merijn Schering
Intermesh
User avatar
lonesomewalker
Posts: 320
Joined: Wed Sep 15, 2004 9:15 am
Location: everywhere
Contact:

Postby lonesomewalker » Wed Oct 12, 2005 8:15 am

Yupp, i also think so 8)

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 1 guest

cron