Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid step in the installer for the root installer path. #5

Closed
wants to merge 2 commits into from
Closed

Conversation

madcad
Copy link

@madcad madcad commented May 13, 2012

Fixed wrong if statement for redirecting to the first step of the installer if no _setp query is given.

@@ -90,7 +90,7 @@
}

// go to 'check env' step if we have a local configuration
if ($RCI->configured && empty($_REQUEST['_step'])) {
if (!$RCI->configured && empty($_REQUEST['_step'])) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, the comment says "if we have a local configuration". But since we don't have a step 0 (anymore) I guess the if ($RCI->configured) can be removed entirely. Checking for if (empty($_REQUEST['_step'])) should do the job here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the problem that I've got "Invalid step" when I opened the installer without a step. After negating the configured check the installer worked correct. But now (after the installation with a valid config and $rcmail_config['enable_installer'] = true;) I've got the "Invalid step" message again.
So I would recommend that you deny these pull request and I will try to solve these issue again.

@alecpl alecpl closed this May 17, 2012
alecpl added a commit that referenced this pull request Mar 4, 2018
@alxbr alxbr mentioned this pull request Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants