Leginon 1.4.1 installed but webpage completely blank
Added by Anonymous almost 17 years ago
Hi,
I just finished the installation of Leginon 1.4.1 with all prerequisites (no error messages so far). However, the resulting webpage is completely empty. `php index.php` results in nothing (apart from an error message saying, that gd.so is already loaded).
If I disable the statement '$leginondata = new leginondata();' in inc/leginon.inc, then I get the Leginon homepage. But the pages then are empty when I click on any of the three links "Image Viewer", "LOI" or "3 Way Viewer".
This is on a CentOS 5 (with all updates) system with PHP 5.1.6 an Apache 2.2.3. I am not fluent in PHP.
Do you have any hints or ideas, where the problem could be or how I should proceed to debug this?
Thanks in advance
frank
--
Frank Thommen - IT Management and Support Structures - EMBL Heidelberg
Replies (4)
- Added by Anonymous almost 17 years ago
- Remove the extension mrc.so and reload apache
create a file into you web dir called info.php
add the following lines:
<?php phpinfo(); ?>
go to this URL
"http://[yourhost]/info.php"
You'll see all your php info.
- check for GD section
maybe you are trying to load gd.so twice, which explains your error message.
do you have /etc/php.d/gd.ini AND extension=gd.so in /etc/php.ini ?
It should one or the other
- Added by Anonymous almost 17 years ago
"dfellman" wrote: - Remove the extension mrc.so and reload apache
create a file into you web dir called info.php
[...]
- check for GD section
maybe you are trying to load gd.so twice, which explains your error message.
All OK. I have
gd GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled
"dfellman" wrote:
do you have /etc/php.d/gd.ini AND extension=gd.so in /etc/php.ini ?
It should one or the other
This was the problem. There is a /etc/php.d/gd.ini with extension=gd.so. Removed the mrc.so statement in /etc/php.ini and added to a file /etc/php.d/mrc.ini. No error messages now.
Interesting side-observation: The ex1.php and ex2.php examples for mrc.so also work fine when mrc.so is not enabled. (???)
Still: The Leginon page is empty. So this was not the problem. Anything else I could check to get Leginon to work?
- Added by Anonymous almost 17 years ago
1) Check if mrc module for php is installed properly. I tested it under CENTOS release 5 ( final); for more detail go to:
http://emg.nysbc.org/bb/viewtopic.php?t=238
2) edit /etc/php.ini and change the following "error_reporting" and "error_display" to:
error_reporting = E_ALL & ~E_NOTICE error_display = on
3) make sure that MySQL is running
4) configure config.php from dbem with your database params (host, user, pass, db)
$DB_HOST = "host"; $DB_USER = "user"; $DB_PASS = "pass"; $DB = "db";
5) go to the viewer on your webserver. It shouldn't be blank, at least you'll read some errors
<img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" />
- Added by Anonymous almost 17 years ago
"dfellman" wrote: 1) Check if mrc module for php is installed properly. I tested it under CENTOS release 5 ( final); for more detail go to:
I hadn't to go far in http://emg.nysbc.org/bb/viewtopic.php?t=238 : php-mysql was missing. After installing this module, things seem to work now.
Maybe some check for the critical PHP modules (syscheck.php?) or some kind of error reporting could be introduced?
Thank you very, very much
frank