• Resolved dlenef

    (@dlenef)


    When I run installer.php, the expected installer screen does not appear. Instead, there appears to be a redirect to index.php.

    This is on a Linux shared “cloud” host.

    It may be pertinent that I’m migrating a site from a subdomain development address to a different host where it will initially run as IPADDRESS/~username (until I’m ready to switch the name servers and go live). So the installer address is xxx.xxx.xxx.xxx/~username/installer.php.

    http://ww.wp.xz.cn/plugins/duplicator/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hey dlenef,

    The plugin doesn’t have any redirect logic, so its most likely that the web server or some other action is forcing the redirect. Did you try to browser to another file like test.php and see if you get redirected for that?

    Cheers!

    Thread Starter dlenef

    (@dlenef)

    Cory, the weird thing is, other files in the site root function and display as expected – PHP, TXT.

    I’m no coder or server master, so a bit limited in troubleshooting ability.

    BTW, I greatly appreciate your time and attention to supporting a free plugin.

    Try putting just the installer.php and package.zip in a new directory or empty directory with just those two files and see if you still get a redirect…

    Thread Starter dlenef

    (@dlenef)

    Same result (with URL = IP/~username/test/installer.php):

    Not Found

    The requested URL /index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Hmmm… That is really strange never see that behavior before. As one more test place another file in that same directory called foo.php and make sure it has this content inside:

    <?php
    // Show all information, defaults to INFO_ALL
    phpinfo();
    ?>

    If that does redirect then something is not setup with Apache correctly and you will need to contact your hosting provider. If is does not redirect then go ahead and submit a help ticket and I’ll look closer at your setup…

    Cheers~

    Hey dlenef,

    Any progress on this?

    Thread Starter dlenef

    (@dlenef)

    How cool is it that the free plugin author is hounding the user? Thanks for the nudge, Cory.

    I get the identical result as before when running your test file.

    Looks like something is setup with your web-server that we can’t see… You’ll have to create a help ticket if you want me to look into it further.

    Thread Starter dlenef

    (@dlenef)

    Turns out that the htaccess file had a command that redirected everything to the index file. Apparently an automated server installation gone awry.

    I disabled the htaccess and your plugin worked like a charm.

    Thanks again for the attention to this problem.

    Awesome, glad you got it going and thanks for posting you solution back to the forums for others to benefit from!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Installer.php redirects to index.php without running’ is closed to new replies.