ATutor

Learning Management Tools







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


when i install 1532The follow message displayed


  • 2006-08-06 10:53:29

    when i install 1532The follow message displayed

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to MySQL server on 'localhost' (10061) in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Discuz!EXP\wwwroot\ATutor2\install\include\common.inc.php on line 37

    Installation Progress
    Step 0: Introduction
    Step 1: Terms of Use
    Step 2: Database
    Step 3: Accounts & Preferences
    Step 4: Content Directory
    Step 5: Save Configuration
    Step 6: Anonymous Usage Collection
    Step 7: Done! (current step)

  • 2006-08-06 13:26:09

    Re: when i install 1.5.3.2.The follow message displayed

    supply the information about your system

  • 2006-11-04 04:13:25

    Re: when i install 1.5.3.2.The follow message displayed

    I am having exactly the same problem with the same version of ATutor.
    The system is running on a Linux webserver kernal version 2.6.9-42.0.2.ELsmp. Apache version 1.3.36 (unix), MySQL 4.1.21-standard, PHP 5.1.4 and PERL 5.8.5.

    The error does not seem to be causing any problems (at the moment) but I have only started 'playing' with the software so do not know what will happen further down the line.

  • 2006-11-06 08:35:24

    Re: when i install 1.5.3.2.The follow message displayed

    Are you sure you are having the same problem? ATutor should not function at all if you are getting these errors.

    What are the exact error messages you are receiving?

  • 2006-11-06 21:24:54

    Re: when i install 1.5.3.2.The follow message displayed

    I got

    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'school'@'localhost' (using password:NO) in /home/school/public_html/atutor/install/include/common.inc.php on line 37


    Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/school/public_html/atutor/install/include/common.inc.php on line 37


    and (strangely) it does work http://www.desschool.net/atutor/login.php

  • 2006-11-22 20:31:55

    Re: when i install 1.5.3.2.The follow message displayed

    We also ran into this warning.

    http://www.olp.canassist.ca/wp-content/uploads/2006/11/atutor1532_install_warning.jpg

    The function that raises the warning uses the mysql_real_escape_string function.

    [php]
    function my_add_null_slashes( $string ) {
    return mysql_real_escape_string(stripslashes($string));
    }
    [/php]

    From the PHP manual, the mysql_real_escape_string function seems to want a mysql connection to work.

    http://ca.php.net/mysql_real_escape_string

    Our hosting provider is Dreamhost and they use a separate shared mysql server, not a localhost. I guess that a mysql connection is not made before this function is called so it tries to use a localhost connection and can't find one. If this is the case, then a connection to the mysql server should be made before these functions are called. Since this is a warning, the install continues and it seems to work just fine.

    Our phpinfo file:
    http://apache.uvatt.org/phpinfo.php

  • 2006-12-04 09:46:06

    Re: when i install 1.5.3.2.The follow message displayed

    Thx Kelvin et al. It's been bug tracked.

  • 2006-12-05 11:49:08

    Re: when i install 1.5.3.2.The follow message displayed

    Thanks kelvin and Greg for both your replies. Program still works fine whatever happened.

    Kevin