ATutor

Learning Management Tools







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


I have installed version 21 and I am getting a blank website now


  • 2012-11-05 13:33:46

    I have installed version 21 and I am getting a blank website now

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

    Things to describe:
    Operating system ATutor is installed on - Windows 2008
    ATutor version - 2.1
    Patch #s applied -
    ATutor theme name -
    PHP version - 5.3.17
    MySQL version - 5.0.8
    Webserver & version - IIS with PHP
    Copies of error messages -
    Changes to default settings -
    Web browser being used - firefox and IE


    I have installed the latest version of the Atutor and when it installed everything verified fine but I get a blank site www.voyageur.scouts.ca:8080/Atutor is the url.

    Any help appreciated, I wanted to demo it tonight.

    Nolan

  • 2012-11-05 13:42:24

    Re: I have installed version 2.1 and I am getting a blank website now

    The trouble might be IIS. If you have an Apache webserver available, it is strongly recommended.

    We don't keep an IIS server around, so there's not a lot of help we can offer. If you want to keep using IIS, I'd suggest looking through its error log and see if there's anything there that suggests a problem. Also see the warning in the Installation instructions "Before you begin" section regarding uploading ATutor to the server.

    https://atutor.ca/atutor/docs/installation.php#begin

  • 2012-11-05 14:04:44

    Re: I have installed version 2.1 and I am getting a blank website now

    Unfortunately I don't have an apache server to work with, I am running a windows app I have built currently (hoping to replace it with your app) but for now I am stuck.

    I can get myPhpAdmin to work as well as the the php version page. The older version was working till it randomly stopped excepting logins from outside the server and I decided to upgrade to this verison.

    N

  • 2012-11-05 15:01:50

    Re: I have installed version 2.1 and I am getting a blank website now

    Did the error log have anything?

    The other possibility is to install Apache. Its a fairly easy install if you use something like the XAMP package.

    Or if you don't have too many course, you could use a service like atutorspaces.com. Three free course sites, or economical hosting if you need more than that.

  • 2012-11-05 15:19:01

    Re: I have installed version 2.1 and I am getting a blank website now

    I went through the IIS logs and didn't see an glaring errors, I am running my server off of another rooted IP so I can't run both XAMP and IIS as I can only access the port 8080, wierd but required setup.

    I went through the whole setup a second time and there were no errors except for the sending mail issue but that I don't care about right now.

    The app is doing something obviously or I would get an error just not sure what it is doing.

    N.

  • 2012-11-05 15:28:14

    Re: I have installed version 2.1 and I am getting a blank website now

    Try looking in the php error log.

  • 2012-11-05 15:40:27

    Re: I have installed version 2.1 and I am getting a blank website now

    This is the only thing I am getting in the logs:

    2012-11-05 20:38:40 ::1 GET /Atutor/login.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 500 0 0 15

  • 2012-11-05 15:48:03

    Re: I have installed version 2.1 and I am getting a blank website now

    Two things:

    Make sure the port is listed in the value for DB_HOST in your ATutor include/config.inc.php file.

    If that does not help, search for information on "IIS 500 Internal Error ".

  • 2012-11-05 16:18:45

    Re: I have installed version 2.1 and I am getting a blank website now

    I only have ports for the Database in my config file. There is nothing pertaining to viewing the website.

    <?php
    /************************************************************************/
    /* ATutor */
    /************************************************************************/
    /* Copyright (c) 2002-2010 */
    /* http://atutor.ca */
    /* */
    /* This program is free software. You can redistribute it and/or */
    /* modify it under the terms of the GNU General Public License */
    /* as published by the Free Software Foundation. */
    /************************************************************************/
    /* This file was generated by the ATutor 2.1 installation script. */
    /* File generated 2012-11-05 13:11:49 */
    /************************************************************************/
    /************************************************************************/
    //* the database host */
    define('DB_HOST', 'localhost');

    /* the database tcp/ip port */
    define('DB_PORT', '3306');

    //* This option is used for compatability with IIS and Apache 2. */
    define('AT_FORCE_GET_FILE', TRUE);

    /* DO NOT ALTER THIS LAST LINE */
    define('AT_INSTALL', TRUE);

    ?>

  • 2012-11-05 17:06:09

    Re: I have installed version 2.1 and I am getting a blank website now

    Finally got some real error messages, I removed my file directory for safety purposes:

    [05-Nov-2012 17:47:01 UTC] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in include\install\install.inc.php on line 424
    [05-Nov-2012 17:47:01 UTC] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in include\install\install.inc.php on line 424
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in include\install\install.inc.php on line 425
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in Dinclude\install\install.inc.php on line 425
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in include\install\install.inc.php on line 429
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in include\install\install.inc.php on line 430
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in include\install\install.inc.php on line 440
    [05-Nov-2012 17:47:02 UTC] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in include\install\install.inc.php on line 442

  • 2012-11-05 17:44:06

    Re: I have installed version 2.1 and I am getting a blank website now

    There's no DB_USER or DB_PASSWORD in the config file. That might explain the error messages, though why these values are missing needs some investigation. I'll report a bug, but we won't be able to investigate right now. It'll make it into the next release cycle, which will likely be a few months. In the meantime if you do discover why these values were not written to the file, you can post your research here for later reference.

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

    Here's a template you can use to replace the current config file, filing in the appropriate values

    [php]

    /************************************************************************/
    /* ATutor */
    /************************************************************************/
    /* Copyright (c) 2002-2010 */
    /* http://atutor.ca */
    /* */
    /* This program is free software. You can redistribute it and/or */
    /* modify it under the terms of the GNU General Public License */
    /* as published by the Free Software Foundation. */
    /************************************************************************/
    /* This file was generated by the ATutor 2.0.3 installation script. */
    /* File generated 2012-03-29 11:03:49 */
    /************************************************************************/
    /************************************************************************/
    /* the database user name */
    define('DB_USER', 'replace_with_db_username');

    /* the database password */
    define('DB_PASSWORD', 'replace_with_db_password');

    /* the database host */
    define('DB_HOST', 'localhost');

    /* the database tcp/ip port */
    define('DB_PORT', '3306');

    /* the database name */
    define('DB_NAME', 'replace_with_db_name');

    /* The prefix to add to table names to avoid conflicts with existing */
    /* tables. Default: AT_ */
    define('TABLE_PREFIX', 'AT_');

    /* Where the course content files are located. This includes all file */
    /* manager and imported files. If security is a concern, it is */
    /* recommended that the content directory be moved outside of the web */
    /* accessible area. */
    define('AT_CONTENT_DIR', 'replace_with_path_to_content_directory');

    /* Whether or not to use the default php.ini SMTP settings. */
    /* If false, then mail will try to be sent using sendmail. */
    define('MAIL_USE_SMTP', false);

    /* Whether or not to use the AT_CONTENT_DIR as a protected directory. */
    /* If set to FALSE then the content directory will be hard coded */
    /* to ATutor_install_dir/content/ and AT_CONTENT_DIR will be ignored. */
    /* This option is used for compatability with IIS and Apache 2. */
    define('AT_FORCE_GET_FILE', TRUE);

    /* DO NOT ALTER THIS LAST LINE */
    define('AT_INSTALL', TRUE);




    [/php]

    [reply][b]In reply to:[/b]
    I only have ports for the Database in my config file. There is nothing pertaining to viewing the website.

    <?php
    /************************************************************************/
    /* ATu...
    [op]forums/view.php?fid=7&pid=23722&page=1#23730[/op][/reply]

  • 2012-11-05 17:50:59

    Re: I have installed version 2.1 and I am getting a blank website now

    Sorry,

    I took them out as I didn't want it public.

    N.

  • 2012-11-06 09:15:08

    Re: I have installed version 2.1 and I am getting a blank website now

    Looking at the error messages it would appear the MySQL credentials are not being sent or are incorrect

    ...user ''@'localhost'

    There should be a username between ''

    I do not see any other reason for the installer to fail at those lines. It is a standard function ($addslashes())) used throughout ATutor to validate input. If there are special characters in the username or password, quotes in particular, that may be causing the problems.

  • 2012-11-06 09:19:29

    Re: I have installed version 2.1 and I am getting a blank website now

    Should I delete the whole site and database and start over?

    Would that cause any oddities?

  • 2012-11-06 09:32:11

    Re: I have installed version 2.1 and I am getting a blank website now

    Yes, I suppose starting over would be the next strategy.

    Assuming everything gets cleaned out before the reinstall, it should not cause any problems. Delete the DB and the ATutor directory. Maybe create a new DB user if you can, specifically for ATutor.

  • 2012-11-06 09:44:06

    Re: I have installed version 2.1 and I am getting a blank website now

    I have re-installed the whole kit and kabootle. It still doesn't work, I have even cleared my IIS cache and the refreshed my php.

    Not sure how things are buggering up as the installer says everything is fine.

    N.

  • 2012-11-06 10:07:02

    Re: I have installed version 2.1 and I am getting a blank website now

    Though some people have reported ATutor functioning properly with IIS, we're not able to offer IIS related support. Assuming the same errors are occurring as before, they would suggest a problem with IIS support for PHP, which has been common in the past.

    The only thing I can suggest is finding a way to setup the system with Apache, or even nginx webserver.