Author Topic: Blank screen after fresh install  (Read 7193 times)

Offline ggeorgiev

  • Newbie
  • *
  • Posts: 3
Blank screen after fresh install
« on: November 13, 2012, 11:57:30 PM »
Hello,

Blank screen after install looks to be a regular newcomer problem, however I think there are few particularities that may make this case more of interest:
  - Fresh install of version 0.8.3, downloaded from http://roundcube.net/download
  - All installer tests in 'Check environment' (except posgressql, not used) and 'Test config" are OK
  - Installed on debian 6.0.5 (squeeze)
  - Mysql privileges are OK: I get in logs/sql:
        [13-Nov-2012 22:26:52 -0500]: query(1): SELECT vars, ip, changed FROM session WHERE sess_id = '2d519cfb345c279c16871b21d9a8831d';
        [13-Nov-2012 22:26:52 -0500]: query(1): UPDATE session SET changed='2012-11-13 22:26:52' WHERE sess_id='2d519cfb345c279c16871b21d9a8831d';

        and I can run those queries as roundcube user;
    - The diff of db.inc.php and db.inc.php.dist differs only in the mysql login line - but sql statements run, so the db part is OK
    - The diff of main.inc.php and main.inc.php.dist shows nothing suspicious.

    I have the 'debug_level' to 8 and the two sql statements above get into logs/sql, nothing else.
    When I point my browser (chrome or firefox on linux) I get nothing but blank page, and the page source shows about 40 lines ending with:

$(document).ready(function(){
rcmail.init();
});
/* ]]> */
</script>

</body>
</html>

    All this looks like javascript error, but there is nothing in the javascript console, not counting css related warnings. So, where do I go from here to understand why the RC is not working? Debugging js/ajax of this complexity is hopeless task.

    Thanks,
    George.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Blank screen after fresh install
« Reply #1 on: November 14, 2012, 02:17:41 AM »
set debug_level=9 (or 1). Did you checked Roundcube or web server logs?

Offline ggeorgiev

  • Newbie
  • *
  • Posts: 3
Re: Blank screen after fresh install
« Reply #2 on: November 14, 2012, 07:49:12 AM »
Hello again,

as suggested, I tried with:
  - log level to 9 or 15, exactly the same - no any message anywhere, except the sql log of the two statements above;
  - I get an 'console' link in firefox, blank div when I click on, I can write in that div
  - web server error log gets one line per submit, which I keep there to be sure i did reload the page:
    - [Wed Nov 14 07:14:34 2012] [error] [client 67.212.64.194] File does not exist: /var/www/roundcube/roundcubemail-0.8.3/favicon.ico
  - web server access log get following 7 lines per submit :
    -  "GET / HTTP/1.1" 200 1888 "-"
    -  "GET /plugins/jqueryui/themes/larry/jquery-ui-1.8.18.custom.css?s=1352556921 HTTP/1.1" 304 205
    -  "GET /program/js/jquery.min.js?s=1352556921 HTTP/1.1" 304 206
    -  "GET /program/js/app.js?s=1352556939 HTTP/1.1" 304 206
    -  "GET /program/js/common.js?s=1352556944 HTTP/1.1" 304 206
    -  "GET /plugins/jqueryui/js/jquery-ui-1.8.18.custom.min.js?s=1352556921 HTTP/1.1" 304 207
    -  "GET /favicon.ico HTTP/1.1" 404 506 "-"

 I did clear cache and everything in firefox; use to restart apache every 5 minutes; firefox error console gets no js error -  no luck to understand where it dies for not showing the login screen.

Any idea welcome, George.

Offline ggeorgiev

  • Newbie
  • *
  • Posts: 3
Re: Blank screen after fresh install
« Reply #3 on: November 15, 2012, 11:07:32 AM »
Hi,

Found the solution: did upgrade my installation to Debian wheezy with all updates as of today, Nov. 15th 2012 and the login window came in, and RC 0.8.3 works as expected. Can not tell which php module, apache module or some library was the breaking point as there where over 150 packages to update.

So, nice to specify somewhere that RC 0.8 needs very recent LAMP stack to operate.

All the best,
G. Georgiev.