ATutor

Learning Management Tools







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


Cannot install Atutor past step 2


  • 2014-09-22 04:15:16

    Cannot install Atutor past step 2

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -2.2
    Patch #s applied -None
    ATutor theme name -?
    PHP version -5.4.30
    MySQL version -5.5.37
    Webserver & version -linux
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

    I get these errors:
    [21-Sep-2014 15:54:37 Europe/London] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'scsltdco_01'@'localhost' (using password: YES) in /home/scsltdco/public_html/ATutor/include/lib/mysql_connect.inc.php on line 18
    [21-Sep-2014 15:54:37 Europe/London] PHP Warning: mysqli::set_charset(): Couldn't fetch mysqli in /home/scsltdco/public_html/ATutor/include/lib/mysql_connect.inc.php on line 20
    [21-Sep-2014 15:54:37 Europe/London] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/scsltdco/public_html/ATutor/include/lib/mysql_connect.inc.php on line 257
    [21-Sep-2014 15:54:37 Europe/London] PHP Fatal error: Call to a member function fetch_assoc() on a non-object in /home/scsltdco/public_html/ATutor/include/lib/mysql_connect.inc.php on line 258
    [21-Sep-2014 17:28:29 Europe/London] PHP Fatal error: Call to a member function real_escape_string() on a non-object in /home/scsltdco/public_html/ATutor/include/lib/mysql_connect.inc.php on line 141

    I have looked at http://atutor.ca/view/7/24797/1.html

    but as this was not solved online I am stuck

  • 2014-09-22 09:13:07

    Re: Cannot install Atutor past step 2

    You've very likely entered the wrong mysql account information. It may not be the same as your shell account login details. Check with your provider for the correct login/pwd for mysql.

    Also be sure your mysql user has permission to create directories. If not you'll need to create a database for atutor to use before installing.

  • 2014-09-29 05:45:49

    Re: Cannot install Atutor past step 2

    No I have already created the database I have checked the access and I have also done a test write to the database so nothing wrong there.

    A third party has also checked installation of database and access and all was fine your software just hangs after the initial entry screens

  • 2014-09-29 09:20:25

    Re: Cannot install Atutor past step 2

    I would suggest reviewing the server's apache and php error logs to see if there are any clues there.

    We've install dozen's without any issues. You may want to review the server requirements to be sure yours is configured to run ATutor:

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

  • 2014-09-29 11:16:39

    Re: Cannot install Atutor past step 2

    All server status levels are fine: as you see by attachment

    your software gives this error message:

    [29-Sep-2014 16:14:44 Europe/London] PHP Fatal error: Call to a member function real_escape_string() on a non-object in /ATutor/include/lib/mysql_connect.inc.php on line 141

    :(

    I am not the only one several forums report this error!!!

  • 2014-09-29 12:13:43

    Re: Cannot install Atutor past step 2

    We are aware of this recurring issue, though without being able to reproduce the problem ourselves, it is difficult to resolve.

    The error appears to occur when the database ($db) has not been connected. This is typically because the wrong database info has been entered, or the mysql user being used by ATutor does not have adequate permissions.

    If someone is able to help us reproduce the problem, we'll revisit this.

    For now you can comment out that particular line. It is used to escape strings to prevent potential security issues. You can uncomment the line once installation is successful.

  • 2014-09-30 02:56:02

    Re: Cannot install Atutor past step 2

    The errors just continue!!!

    [30-Sep-2014 07:52:56 Europe/London] PHP Fatal error: Call to a member function query() on a non-object in /ATutor/include/lib/mysql_connect.inc.php on line 167

    Before you talk rubbish I have full control over this database.....I can write to it edit it and create tables and views.

    You clearly have a bug in your software which needs to be sorted before others are put off using it

    :( [b] [/b] [red] [/red]

  • 2014-10-02 14:33:31

    Re: Cannot install Atutor past step 2

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Just downloaded and tried to install latest version also. Got past the requirements screen and got error on line 141. I commented that out, then got error on line 167. Again, commented that line out, and it continued but had errors in line 182. Then, I got a database failure error. It is telling me that my DB is not UTF8, but it is. I am installing this on a shared server with Dreamhost. I will be glad to share my login credentials for you to test.

    Guilio


    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-02 14:44:34

    Re: Cannot install Atutor past step 2

    Can you please provide the exact error messages, and the files in which these line numbers apply.

    Also provide the other details in Things to describe.

  • 2014-10-02 15:04:56

    Re: Cannot install Atutor past step 2

    http://www.fpreports.com/training/ATutor/install/install.php

    Fatal error: Call to a member function real_escape_string() on a non-object in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 141


    Now, I will COMMENT OUT line 141,

    =====

    Fatal error: Call to a member function query() on a non-object in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 167


    Now I will COMMENT OUT line 167

    =====

    Warning: mysqli_affected_rows() expects parameter 1 to be mysqli, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 182

    Warning: mysqli_affected_rows() expects parameter 1 to be mysqli, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 182

    Error
    Database fp_atutor is not in UTF8. Please set the database character set to UTF8 before continuing by using the following query:
    ALTER DATABASE `fp_atutor` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
    To use ALTER DATABASE, you need the ALTER privilege on the database. You can also check the MySQL manual here.

    ======

    Back to DATABASE INFO REQUEST




    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on - linux
    ATutor version - 2.2
    Patch #s applied - none
    ATutor theme name - default
    PHP version - 5.4.20
    MySQL version - 5
    Webserver & version - unknown, assuming apache
    Copies of error messages - see above
    Changes to default settings - none
    Web browser being used - chrome for mac
    ...and anything else relevant -

  • 2014-10-02 15:58:15

    Re: Cannot install Atutor past step 2

    Comment out the following line in your version of the file, and tell me if that helps

    Line 10 in
    install/include/common.inc.php

    https://github.com/atutor/ATutor/blob/master/install/include/common.inc.php#L10

  • 2014-10-02 16:59:45

    Re: Cannot install Atutor past step 2

    Warning: mysql_query() expects parameter 2 to be resource, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 170

    Warning: mysql_affected_rows() expects parameter 1 to be resource, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 182

    Warning: mysql_query() expects parameter 2 to be resource, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 170

    Warning: mysql_affected_rows() expects parameter 1 to be resource, null given in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 182


    =======

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-02 17:43:27

    Re: Cannot install Atutor past step 2

    Now try commenting out lines 460 to 474 in

    include/install/install.inc.php

    see:
    https://github.com/atutor/ATutor/blob/master/include/install/install.inc.php#L460-L474

    With and without
    Line 10 in
    install/include/common.inc.php
    commented if necessary

  • 2014-10-02 22:29:32

    Re: Cannot install Atutor past step 2

    Thanks! Install finally worked...

    But, now I get an error at the login page....

    http://www.fpreports.com/training/ATutor/login.php


    Fatal error: Call to a member function addError() on a non-object in /home/fpreports/fpreports.com/training/ATutor/include/lib/mysql_connect.inc.php on line 167


    -


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-02 22:44:59

    Re: Cannot install Atutor past step 2

    Ahhh, I lied. It appeared to go thru the process, but nothing was written to the database. Now I can't even reinstall it, so I have to restart the process.

    Guilio


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-03 09:01:53

    Re: Cannot install Atutor past step 2

    Where did you download ATutor from?

    And, when you uploaded to the server, did you upload the bundle and unzip on the server, or unzip first and upload file by file?

    Are you hosting on provider (ISP), if so which one?

    [reply][b]In reply to:[/b]
    Ahhh, I lied. It appeared to go thru the process, but nothing was written to the database. Now I can't even reinstall it, so I have to restart the process.

    Guilio


    If you are asking for help,...
    [op]forums/view.php?fid=7;pid=24869;page=1#24938[/op][/reply]

  • 2014-10-03 09:11:38

    my Thread?

    As this was my thread I have still not received an answer?

  • 2014-10-03 09:31:35

    Re: my Thread?

    @Benie1234 - sorry, didn't mean to hijack your thread... i thought his advice might help you too as it seemed like we had the same issue.

    @greg - i guess you didn't read my original post regarding my hosting. it is hosted on a shared server at dreamhost.com. it uploaded the compressed file, then unzipped it through my shell account



    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-03 09:49:43

    Re: my Thread?

    And ggaspero where did you download ATutor from?

    I'm trying to eliminate variables, to try and track down which one is causing this issue.

  • 2014-10-03 09:50:14

    Re: my Thread?

    @Benie1234 if you behave, we'll try to help you too. Misbehave and you'll be banned.

    [reply][b]In reply to:[/b]
    As this was my thread I have still not received an answer?
    [op]forums/view.php?fid=7;pid=24869;page=2#24944[/op][/reply]

  • 2014-10-03 10:21:09

    Re: my Thread?

    Downloaded directly from your site...

    http://www.atutor.ca/atutor/download.php




    ====
    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-03 10:35:58

    Re: my Thread?

    I only stated that this problem is not confined to a couple of posts on here.

    the support desk at UK2.net and godaddy both have records from others who have had problems. Thy refer to a previosu thread on here which was also not answered.

    I know how hard it is to sort out issues but trying to blame users who have many years experience with SQL-databases is not helpful

    Regards

    Bernie

  • 2014-10-03 10:52:54

    Re: my Thread?

    Blame users? Let be constructive here, instead of dis'ing the people trying to help.

    As I said, this is going to require someone who experiencing the problem to help resolve. There's not a lot we can do if we can't reproduce the problem.

    If you have many years of SQL-database experience, then help us identify where the problem is occurring.

  • 2014-10-03 13:30:00

    Re: my Thread?

    So, at this point, I went into the include/install/db directory and opened the atutor_install.sql file, copied the file and created the tables thru phpMyAdmin. I now have all the tables setup this way.

    Not sure if that will help or not.

    Guilio




    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-04 02:36:15

    hand installed

    Hi Guilio,

    Yes I got it hand installed as well.........I guess this proves there is no problems with our set ups the problem exists in the install PHP codes.....It looks like the way its making calls to the sql server is getting rejected.

    You need to check after you hand install that the datbase is protected and not open to SQL injection attack. My guess so far is that they have made recent modifications to protect against this and this may be the root of the issue.

    good luck with using atutor

  • 2014-10-04 13:47:00

    Re: Cannot install Atutor past step 2

    I know you've managed to install manually. Could you test the bundle linked below on the server that was producing the error to see if it installs. Let me know how it goes.

    http://atutor.ca/atutor/files/ATutor-2.2-test.tar.gz

    [reply][b]In reply to:[/b]
    Ahhh, I lied. It appeared to go thru the process, but nothing was written to the database. Now I can't even reinstall it, so I have to restart the process.

    Guilio
    [op]forums/view.php?fid=7;pid=24869;page=1#24938[/op][/reply]

  • 2014-10-04 14:17:47

    Re: Cannot install Atutor past step 2

    Greg

    That worked! And, I was even able to log in after the install!

    It shows I have 4 patches available upon logging in as the ADMIN.

    Thanks!
    Guilio




    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2014-10-04 18:12:12

    Re: Cannot install Atutor past step 2

    Got it installed, added the patches, then went to ADD MODULES, and got this error:

    Warning: in_array() expects parameter 2 to be array, string given in /home/fpreports/fpreports.com/training/themes/default/admin/modules/install_modules.tmpl.php on line 134

    42 times....

    Guilio

  • 2014-10-05 10:09:12

    Re: Cannot install Atutor past step 2

    We've noted the issue, and will investigate soon.

    http://www.atutor.ca/atutor/mantis/view.php?id=5542


    Please start a new thread when the topic changes.

  • 2014-10-12 12:07:26

    Re: Cannot install Atutor past step 2

    Patch 0005 for ATutor 2.2 has been posted to resolve the long list of error messages. Use the admin's Patcher to apply the patch.

    [reply][b]In reply to:[/b]
    Got it installed, added the patches, then went to ADD MODULES, and got this error:

    Warning: in_array() expects parameter 2 to be array, string given in /home/fpreports/fpreports.com/training/themes...
    [op]forums/view.php?fid=7;pid=24869;page=2#24972[/op][/reply]