ATutor

Learning Management Tools







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


Yet another blank page after install thread


  • 2013-01-06 17:36:37

    Yet another blank page after install thread

    Hi

    I have the "blank page after install" issue, which has been discussed extensively in these forums before.

    Things to describe about the installation:
    Operating system ATutor is installed on - Windows Web Server 2008R2 SP1 64-bit
    ATutor version - 2.1
    Patch #s applied - none, just downloaded
    ATutor theme name - default
    PHP version - 5.4.7 (current XAMPP)
    MySQL version - 5.5.27 (current XAMPP)
    Webserver & version - Apache 2.4.3 (current XAMPP)
    Changes to default settings - none
    Web browser being used - IE9 and Chrome 23.0.1271.97 m
    The site is internal only so I can't provide a URL you can get to.

    Things I have tried:
    - A reinstall
    - Unzipping the tgz on the server not on my PC
    - Checking permissions on config.inc.php (RO/RW)
    - Checking config.inc.php looks like it contains all of the required parameters
    - Confirming my atutor db account has full permissions on the database by logging in on the server using mysql -u atutor -p
    - Using multiple browsers
    - Using the browser on the server as well as on my client PC
    - Confirming no errors during install
    - Checked the XAMPP and system event logs for signs of trouble
    - Confirmed the database exists, the tables have been created, and they contain sensible-looking data
    - Removed special characters from the database password

    In all cases I get a blank page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
    <BODY></BODY></HTML>
    (Hope I can post HTML tags in this forum).

    My config.inc.php, sans comments and passwords, looks like this:
    <?php
    define('DB_USER', 'atutor');
    define('DB_PASSWORD', '*******');
    define('DB_HOST', 'app3');
    define('DB_PORT', '3306');
    define('DB_NAME', 'atutor');
    define('TABLE_PREFIX', 'AT_');
    define('AT_CONTENT_DIR', 'C:\xampp\htdocs\ATutor\content\');
    define('MAIL_USE_SMTP', false);
    define('AT_FORCE_GET_FILE', TRUE);
    define('AT_INSTALL', TRUE);
    ?>

    As it's XAMPP, mysql and apache are both on the same box. I've tried changing the DB_HOST to 'localhost', no change.

    Access.log contains (IE9):
    192.168.xxx.xxx - - [07/Jan/2013:11:27:07 +1300] "GET /atutor/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"

    Error.log contains nothing at the time of page request, but last server start produced this:
    [Mon Jan 07 11:04:59.884373 2013] [mpm_winnt:notice] [pid 2824:tid 372] AH00456: Server built: Aug 18 2012 12:41:37
    [Mon Jan 07 11:04:59.884373 2013] [core:notice] [pid 2824:tid 372] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Mon Jan 07 11:04:59.884373 2013] [mpm_winnt:notice] [pid 2824:tid 372] AH00418: Parent: Created child process 3640
    [Mon Jan 07 11:05:00.696925 2013] [ssl:warn] [pid 3640:tid 276] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
    [Mon Jan 07 11:05:00.728177 2013] [mpm_winnt:notice] [pid 3640:tid 276] AH00354: Child: Starting 150 worker threads.

    php_error.log has nothing since yesterday, and that was likely from a previous attempt at installation, so not relevant.

    mysqld_error.log contains nothing at the time of request, last start was:
    130107 11:04:32 [Note] Plugin 'FEDERATED' is disabled.
    130107 11:04:32 InnoDB: The InnoDB memory heap is disabled
    130107 11:04:32 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    130107 11:04:32 InnoDB: Compressed tables use zlib 1.2.3
    130107 11:04:32 InnoDB: Initializing buffer pool, size = 16.0M
    130107 11:04:32 InnoDB: Completed initialization of buffer pool
    130107 11:04:32 InnoDB: highest supported file format is Barracuda.
    130107 11:04:32 InnoDB: Waiting for the background threads to start
    130107 11:04:33 InnoDB: 1.1.8 started; log sequence number 1595685
    130107 11:04:33 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
    130107 11:04:33 [Note] - '0.0.0.0' resolves to '0.0.0.0';
    130107 11:04:33 [Note] Server socket created on IP: '0.0.0.0'.
    130107 11:04:33 [Note] Event Scheduler: Loaded 0 events
    130107 11:04:33 [Note] C:\xampp\mysql\bin\mysqld.exe: ready for connections.
    Version: '5.5.27' socket: '' port: 3306 MySQL Community Server (GPL)

    The phpinfo() page for XAMPP displays sensible looking content, so PHP looks to be working.

    Any other suggestions?

    TIA for any help
    Sean

  • 2013-01-07 09:06:36

    Re: Yet another

    Have you confirmed that the php_error.log is working? It sound suspicious when its not writing anything to the log. Watching the php log would be a suggestion.

    Another suggestion I do have is to revert back to an earlier version of PHP. There are issues running ATutor with 5.4+ in which some major changes occurred before we had a chance to work around them for the last release.

  • 2013-01-07 15:44:23

    Re: Yet another

    Hi Greg

    Thanks for the response. The problem is with this line in config.inc.php:
    define('AT_CONTENT_DIR', 'C:\xampp\htdocs\ATutor\content\');

    If I change this to:
    define('AT_CONTENT_DIR', 'C:/xampp/htdocs/ATutor/content/');
    then the site works.

    Thanks
    Sean

  • 2013-01-09 08:57:39

    Re: Yet another

    Thanks, we've noted the problem.
    http://atutor.ca/atutor/mantis/view.php?id=5149