ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Installation of A Tutor on winxp Step 2 Database current step


  • 2006-12-03 23:35:05

    Installation of A Tutor on winxp Step 2 Database current step

    operating system - WinXP
    version of ATutor - A Tutor 1.5
    versions of php - bundled in Easyphp1-8
    version of mysq l - bundled in easyphp1-9
    webserver & version - Apache bundled in easyphp 1-8
    copies of error messages - attached
    changes to default settings -
    web browser being used - Firefox 1.5
    and anything else relevant -

    I am installing Atutor on a local winxp to play with it. No connection to the internet. Extracted the tar to www directory inside Easyphp directory
    Configured config.inc.php to include some codes I found on the forum: they are below
    Launched atutor locally "here is the link: http://localhost/uploads/ATutor/install/install.php and was taken to the installation process. I get stuck on the database step where I am told " Error

    * Unable to connect to database server.".
    Here are the database parameters:

    * Database Hostname: localhost
    *Database Port: 3306
    *
    Database Username: (blank)
    *
    Database Password: (blank)
    Database Name: Default: atutor

    Table Prefix: Default: AT_

    Had created the database and can access it using the command line, leaving the password blank. I did this when I was going through the installation procedures on this link: http://www.atutor.ca/atutor/docs/installation_pre_1_3.php#windows and used this command successfully
    mysqladmin -u username -p create atutor

    I then proceeded to Use the SQL file in ./include/db/atutor_schema.sql to create the required tables. Either execute the file by copy and pasting it or by using the method below. If the system adminstrator has setup an empty "atutor" database for you, you can populate the database from the shell command line with:

    mysql -u username -p atutor < ./include/db/atutor_schema.sql

    After I had done all of that, I launched http://localhost/uploads/ATutor/install/not_installed.php and got this message: ATutor Logo

    ATutor does not appear to be installed. Continue on to the installation.
    I then tried to install by clicking on the link provided and got the unable to connect to database.

    It would be useful to have detailed installations procedures which are explicit the same way other applicagions do, where the user is guided through all the steps, in details so that nothing is left to chance and you don't get unnecessary questions like this one I suppose.

    Here is my config.inc. php file in include.

    Appreciate your help.

  • 2006-12-04 09:53:14

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Setup a mysql user and password, then try again using those values in the Username and Password fields when installing.

    BTW you are apparently reading rather old installation instructions. The current instructions are at:

    http://atutor.ca/atutor/docs/installation.php
    http://atutor.ca/atutor/docs/requirements.php

    Most everything is automated now, so you do not need to manually create the db, or edit the config file.

  • 2006-12-05 09:59:03

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Greg,
    I am using the installations procedures on the website. I just checked the links you provided and they are the one I used.
    Anyhow, I installed from fresh and created a database with username and password. And this time it got accepted, or, let's put it this way, I didn't get a connot connect.

    I then gives me a blank webpage with title:
    Atutor Installation with a Logo icon in the top right hand corner and nothing else (print screen attached). What am I supposed to do from here then? Is this normal? Was expecting to be taken to the next sequence which is Accounts and Preferences. How do I access that one, assuming the installation was successful?

    The documentation does not tell me what to do. When I click on Configuration, I get this "Prior to ATutor 1.5.2 all configurable settings are stored in ./include/config.inc.php., a file which I have anyway. I am using Atutor 1.5.3.

    What are those using 1.5.3 supposed to do to configure the settings?

    Thanks

  • 2006-12-05 10:23:15

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Hi Greg,
    Further to my previous email, it looks like I am still having problems with mysql. See the print screen attached where it says that mysql is not compliant with 4.0.2. I have mysql 4.0.18

    Shall I upgrade to the most recent one?

  • 2006-12-05 10:30:20

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    I would guess the problem is a specific quirk of your system, or perhaps the browser. This is not a problem that has been reported previously, nor have we seen this happen before in our testing.

    If/when the installer runs correctly, you really don't need the installation instructions. Everything is documented in the installer itself. The online installation instructions just provide a little additional detail if needed. There is no more manual configuration

    I would suggest using a different browser, and if that does not work, install ATutor on a different system.

    The link you included above is to the old 1.3 documentation. The current documentation is at the link in the message that follows.

  • 2006-12-05 10:32:17

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Yes, upgrade mysql. It looks like EasyPHP is becoming dated.

    You might try using XAMP instead of EasyPHP, which is up-to-date.

  • 2006-12-05 10:45:48

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Just tested with IE 6.0 and get the same non compliant version of mysql 4.0.2

    If you could provide with me with a link of where I can get the latest exe for installation on windows, I would appreciate. Let me know if I would need to modify config.inc "save for the location of the atutor" or if it would be already preconfigured.

    With respect to the doc, I am going by what I find on the website and it took me a bit of googling to find some of the things I used. For example, I discovered afterwards only that I should unzip in apache httpdoc folder. The doc on the website does not say that, it says that one extract where he wants. Also, I had to create the uploads directory so that I can mention it in the config.inc, otherwise, I was not getting the installation page to display.

    You keep telling me that I am using the old documentation. But this is the documentation which I find on the links you gave me which are also accessible from the main atutor.ca website under the documentation link.

  • 2006-12-05 11:13:10

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    XAMP is available through our downloads page
    http://atutor.ca/atutor/download.php

    Do not edit the config.inc.php file manually. Settings in this file are all generated automatically.

    The doc on the web site says unzip into a web enabled directory. htdocs is one place. But there could be many others, or it could be located in different folder if a different web server is being used. Keep in mind that ATutor is a server system, and a certain amount of experience working in a server based environment is expected. We don't have the resources to document all the possibilities, or provide basic server management help. Documentation for apache/mysql/php can be found on their respective Web sites.

    I am saying the link you pointed me to in your earlier message points to old documentation. Ignore those links, unless you are working with ATutor 1.3 or 1.4.

    I'm not sure why you are creating an uploads directory. Do you mean content directory. This is documented in the current install instructions, and in the installer itself if it discovers the directory does not exist. It tells you to create it.

    Your inexperience is showing through....

  • 2006-12-06 00:25:15

    Re: Installation of A Tutor on winxp: Step 2: Database (current step)

    Greg,
    Finally went thtough the whole process effortlessly. Xampp didn't work "it has a serious db connection problem as I read on the faq". So I used easyphp and this time, I sailed just through. Am actually logged in as administrator. Next step will be to install modules.

    Thanks for everything.