install/install/ directory

(8 posts) (3 voices)
  1. ucposey, Member

    Hello,

    We have attempted to install myDBR on a LAMP server running cPanel Pro over the weekend, and we cannot seem to get past a strange occurrence. Once the myDBR zipped file is downloaded and unpacked to the root web server (i.e., public_html), we go to location via web browser and it keeps routing us to an .../install/install/ directory. When we enter .../myDBR/install/index.php, we get routed back to .../myDBR/install/install/.

    Here are the settings on our server:

    Apache 2.2.19
    PHP 5.2.17
    MySQL 5.0.95-community
    ionCube Loader 4.0.12
    Architecture x86_64
    OS Linux

    Is it normal to have two index.php files...one in myDBR/ directory and another in the myDBR/install/ directory???

    Looking forward to your thoughts!

  2. myDBR Team, Key Master

    Hi,
    During startup myDBR loads a checks that if no installation has been done and is not ongoing, it wll redirect the browser to install-directory in order to complete the intall procedure. Looks like that in your setup the redirect happens twice.

    Make sure the zip-file is unpacked correctly and that your server returns correct path in PHP's $_SERVER['SCRIPT_NAME'] variable. You can test the SCRIPT_NAME by placing following file in install-directory:

    script_name.php: ================ <?php echo $_SERVER['SCRIPT_NAME']; ?>
    The script should return correct path to the file.

    And yes, it is perfectly normal to have multiple index.php-files. The one on myDBR is for myDBR and the one in myDBR/install is for the installer.

    --
    myDBR Team

  3. ucposey, Member

    So,

    Here's the path that is returned to us with the following line of code:

    /cgi-sys/php5

    Any thoughts?

  4. Hi I am working on this project too with no luck. Does MyDBR have an install service?

    Respectfully,

    Jeff Freeman
    Up-Link Internet

  5. myDBR Team, Key Master

    Here's the path that is returned to us with the following line of code:

    /cgi-sys/php5

    Any thoughts?

    The $_SERVER['SCRIPT_NAME'] shoud return the virtual path for the script that is executed. In the example you should get something like:

    /mydbr/install/script_name.php

    You can see more information about the $_SERVER at http://php.net/manual/en/reserved.variables.server.php

    Most likely cause of this is that if you server is running PHP as a CGI binary instead of web server module.

    --
    myDBR Team

  6. myDBR Team, Key Master

    Hi I am working on this project too with no luck. Does MyDBR have an install service?

    We do offer install service. Do you have similar problem as ucposey?

    --
    myDBR Team

  7. Thanks for the reply, we are the hosting provider for ucposey so working with him on this install. We run cPanel/WHM on Centos and its about as standard of a setup as possible. Do you have any other cPanel providers running myDBR and if so what are the applicable parameters and configuration?

  8. myDBR Team, Key Master

    You could try if setting the SCRIPT_NAME in a wrapper would help.

    http://forums.cpanel.net/f5/php-ini-per-dir-php-running-cgi-73985.html

    --
    myDBR Team


Reply

You must log in to post.