Menu

Install Problems

Chris J
2005-02-16
2013-04-16
  • Chris J

    Chris J - 2005-02-16

    http://babyxman.com/indyfantasy/offl/www/

    As you may see all the links are defautled to the: http://babyxman.com directory and the submit button doesn't work.

    Here are my variable values in my "offlconfig.php" file.

    $WEB_ROOT = "";
    $DOC_ROOT = "/indyfantasy/offl/www";

    If I change $WEB_ROOT to anything other than "" or "/" I can't open the "index.php" file in the /www/ directory.

    Thanks for the help.

     
    • Brad Schwie

      Brad Schwie - 2005-02-17

      hoosier122,

      On your computer's hard drive, what is the directory path to the offl folder?  Are you running Windows, Linux, Mac OS X?  On my Mac, DOC_ROOT is set to:

      "/Users/bschwie/Sites/football"

      I copied everything from the offl/www installation folder to my "football" folder above.  This should do the trick. 

      I left WEB_ROOT blank.  I'm guessing you will too, unless your webserver is heavily modified.

      Brad

       
      • Brad Schwie

        Brad Schwie - 2005-02-17

        I'm guessing that for your installation, you'll need to do the following:

        $WEB_ROOT = "/indyfantasy/offl/www";
        $DOC_ROOT = "/directory/path/to/http://babyxman.com/index.html";

        where "directory/path/to/http://babyxman.com/index.html" should be replaced with the actual directory path to your index.html file on your computer.  The directory path string will exclude "index.html" file, but it should contain the entire directory path up until that point.

        Keep us posted.

        Brad

         
    • Chris J

      Chris J - 2005-02-18

      Now I'm having problems logging in with the default user.

      general
      tso

      I manually loaded the sql data in both folders.  I'm fairly confident all of the info in the config.php file is correct, because when it is not, I get a mysql error when i try to open the index.php page.

       
      • Brad Schwie

        Brad Schwie - 2005-02-18

        Hoosier122,

        So, it looks like you got the offl_config file mostly set up correctly, as the page looks right now.  I had trouble logging into to your page as a guest too, which leads me to believe your database isn't set up correctly.

        Did you run the database setup script referenced in the INSTALL file?  Did it give you any error messages?  Sounds like your database isn't set up correctly.  My best guess right now is that you didn't set up a username and password to access your mySQL database.  Once you have setup a username and password to access mySQL, you need to enter this into the sql/setupdb.sh script.  Then the shell script will be able to log in to the mySQL database successfully and set everything up for you.

        I'd get an admin tool to check out the mysql database.  Again, I'm not sure what you're using for a platform, but I use CocoaMySQL.  This enables me to login to the database and make sure its set up correctly.

        Brad

         
    • Chris J

      Chris J - 2005-02-18

      I use phpMyAdmin as my admin tool.  I reloaded all the stuff in the /sql/ folder.  They all loaded withouth error.

      I was unable to run setupdb.sh because my server doesn't support the .sh file extension.

      I'm really stuck right now.

       
      • Brad Schwie

        Brad Schwie - 2005-02-18

        OK.  Open the .sh file with a text editor, and you can invoke each line manually by copying and pasting...

         
    • Chris J

      Chris J - 2005-02-18

      Sorry for being an idiot but where do i paste each line?

       
      • Brad Schwie

        Brad Schwie - 2005-02-19

        I'm going to need more information before we can figure this out.

        Are you installing OFFL on your own computer, or is this getting installed on a provider's machine off-site?  If its your machine, what system are you running?  If you have a Mac, you should open the Terminal application located in your Utilities folder.  If you're on a PC running Windows, you should open a DOS prompt.  If you're installing this on a provider's machine, you'll need access to their mySQL server to load tables in to the database.

        Anyway, I need to know what you're using and where you want to install this before I can help any further...

        Brad

         
    • Chris J

      Chris J - 2005-02-19

      I'm using a provider.  I already loaded all the tables in the /sql/ folder.

       
      • Brad Schwie

        Brad Schwie - 2005-02-19

        Excellent.  So, you are able to log in to the mySQL database server at your provider.  Are you entering this exact username and password into the offl_config.php file?

         
    • Chris J

      Chris J - 2005-02-19

      Yes, and if I don't enter the correct info I can't open the /www/index.php file.

       
      • Brad Schwie

        Brad Schwie - 2005-02-19

        OK.  Open your "offlconfig.php" file and tell me what you have for doc_root and web_root.

         
    • Chris J

      Chris J - 2005-02-19

      $WEB_ROOT = "/indyfantasy/offl/www";
      $DOC_ROOT = "";

       
      • Brad Schwie

        Brad Schwie - 2005-02-19

        Yeah, your doc_root isn't right.  Here's what mine is:

        $WEB_ROOT = "/offl/www";
        $DOC_ROOT = "/Users/bschwie/Sites/";

        Your doc_root needs to lead you to the directory where "indyfantasy" is.  So it should be a directory path up to, but not including "indyfantasy".  You may need to ask your "provider" what the directory path is to your "indyfantasy" folder.  They should give you this...

         
    • Chris J

      Chris J - 2005-02-19

      indyfantasy is just a folder on babyxman.com

      indyfantasy.babyxman.com is linked to babyxman.com/indyfantasy/

       
      • Brad Schwie

        Brad Schwie - 2005-02-19

        Yes, I'm aware that indyfantasy is a folder on babyxman.com.

        Indyfantasy is a folder on your website, but we need to know the actual location of the "indyfantasy" folder on your provider's machine.  You can send them an email and ask them this...  They might say its something like "/Users/babyxman", but you'll need to ask them.

         

Log in to post a comment.

MongoDB Logo MongoDB