Project

General

Profile

Empty pages

Added by Anonymous almost 15 years ago

Hi all,

after installation of dbem and project web sites (SVN from 2009-11-20), administration works and projects/sessions are displayed in project db.
However, I get blank pages when I select:
imageviewer
3 way viewer
2 way viewer
project summary

I can browse the projects and start the RCT viewer but I get the following error messages, and no image is displayed:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /opt/appion/web/dbem_1_5_1/getpreset.php:20) in /opt/appion/web/dbem_1_5_1/inc/session.inc on line 6

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /opt/appion/web/dbem_1_5_1/inc/leginon.inc on line 1091

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /opt/appion/web/dbem_1_5_1/inc/leginon.inc on line 1091

10jan13f_00002ma_0.mrc

PHP Version 5.2.6-1+lenny4

-Matthias Brunner


Replies (6)

Re: Empty pages - Added by Anonymous almost 15 years ago

Any hints what I could do to fix this problem? I could also provide phpinfo output etc.?

Re: Empty pages - Added by Anonymous almost 15 years ago

Any hints what I could do to fix this problem? I could also provide phpinfo output etc.?

Re: Empty pages - Added by Anonymous almost 15 years ago

I had exactly the same problem on a system running Centos 5.4.

The solution seems to be disabling the display of PHP errors i.e. set display_errors = Off in /etc/php.ini or equivalent.

There are actually quite a few errors, though with that setting and log_errors = On they should go to a logfile instead and the viewer will work.

Adam

Re: Empty pages - Added by Anonymous almost 15 years ago

"majh" wrote: I had exactly the same problem on a system running Centos 5.4.

The solution seems to be disabling the display of PHP errors i.e. set display_errors = Off in /etc/php.ini or equivalent.

There are actually quite a few errors, though with that setting and log_errors = On they should go to a logfile instead and the viewer will work.

Adam

Adam,

thanks for the reply. I did that but it does not help...I now suspect that the suhosin extension may be the culprit. Could you (or someone else) send me a copy of the phpinfo output - so that I can tailor the php settings to dbem's needs.
BTW, I am using Debian Etch with the default php settings.

Re: Empty pages - Added by Anonymous almost 15 years ago

"mjb" wrote:

Adam,

thanks for the reply. I did that but it does not help...I now suspect that the suhosin extension may be the culprit. Could you (or someone else) send me a copy of the phpinfo output - so that I can tailor the php settings to dbem's needs.
BTW, I am using Debian Etch with the default php settings.

Matthias,

If you send me your e-mail in a private message, I'll send you the phpinfo() output. Would rather not post it here.

Adam

Re: Empty pages - Added by Jim Pulokas almost 15 years ago

A less likely problem, but just to be sure: make sure you are working with the correct php.ini. I remember having more than one at a time and it caused problems. The phpinfo should tell you which php.ini is being loaded.
Jim

    (1-6/6)