ATutor

Learning Management Tools







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


Blank Screen after upgrade install


  • 2006-02-03 14:42:58

    Blank Screen after upgrade install

    I uploaded and ran the upgrade install script as described:
    - copied the old ATutor to ATutor_old
    - untarred the 1.5.2 to ATutor
    - went there with a browser and selected upgrade an existing install.
    - Install went smoothly, no error messages

    Going to the site now gets you a black screen. The HTML is just an empty body.

    URL: http://www.learningpeaks.com/ATutor/login.php

    Things to describe:
    operating system - Linux 2.4.31
    version of ATutor - 1.5.1 -> 1.5.2
    versions of php - 4.3.10
    version of mysq l - 4.0.25
    webserver & version - Apache 1.3.33
    copies of error messages - None
    changes to default settings - None
    web browser being used - Firefox and IE
    and anything else relevant -

  • 2006-02-03 14:46:20

    Re: Blank Screen after upgrade install

    I did a second install, same result. Also I created a page to view the phpinfo:

    http://www.learningpeaks.com/ATutor/info.php

  • 2006-02-03 15:00:53

    Re: Blank Screen after upgrade install

    Most likely there is a parse error in your include/config.inc.php file. Open it and look for quotes that are missing.

  • 2006-02-06 12:25:19

    Re: Blank Screen after upgrade install

    I am not a PHP guy, but looking over the file, I don't see that sort of problem:

    <?php
    /************************************************************************/
    /* ATutor */
    /************************************************************************/
    /* Copyright (c) 2002-2006 by Greg Gay, Joel Kronenberg, Heidi Hazelton */
    /* 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 1.5.2 installation script. */
    /* File generated 2006-02-03 14:02:05 */
    /************************************************************************/
    /************************************************************************/
    /* the database user name */
    define('DB_USER', 'xxxxxxxxxx');

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

    /* the database host */
    define('DB_HOST', 'MySQL.learningpeaks.com');

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

    /* the database name */
    define('DB_NAME', 'xlearningpeaks-atutor');

    /* 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', '/big/dom/xlearningpeaks/www/ATutor/content/');

    /* 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);

    ?>

  • 2006-02-06 12:26:43

    Re: Blank Screen after upgrade install

    Also, looking over the same file from the 1.5.1 install, this one is missing several areas, maybe things changed between versions that don't require those settings?

  • 2006-02-06 14:29:01

    Re: Blank Screen after upgrade install

    does either your database username or database password contain a single quote (') or back slashes (\) in it?

  • 2006-02-06 14:30:47

    Re: Blank Screen after upgrade install

    no, they are letters and numbers only.

  • 2006-02-09 09:56:41

    Re: Blank Screen after upgrade install

    I blew away the upgrade install and did a clean install, still a blank login screen. No errors anywhere in the installation.

    The saved 1.5.1 install still works.

    Any ideas?

  • 2006-02-10 12:01:50

    Re: Blank Screen after upgrade install

    The 1.5.2 config differs, so the missing bits are normal.

    Still don't see anything that would suggest the problem. Most of our installation run on systems much like yours without any trouble.

    Try moving the content/ directory into your ATutor installation, adjust the path in include/config.inc.php, and set AT_FORCE_GET_FILE to FALSE.

  • 2006-02-14 12:10:10

    Re: Blank Screen after upgrade install

    Moving the content directory didn't help.

    However, after poking around some I figured out the problem: The (custom) site theme isn't compatible with 1.5.2 even though it was created in 1.5.1. If I entered the 1.5.1 site and reset the theme to the default, blew away the 1.5.2 install and tried a new upgrade install referencing the 1.5.1 site (with the default theme), everything went fine.

    So, you might want to point out in your install docs that custom themes may break the upgrade.

  • 2006-02-15 08:54:48

    Re: Blank Screen after upgrade install

    This is good to know. HI'm sure others will benefit from your discovery.