Project

General

Profile

Image display failure in testset

Added by Anonymous over 16 years ago

We can see the list of those two demo mrc files on left and some parameters

on the right of the page. But there is no image showing that should be displayed

Thanks


Replies (3)

Image display failure in testset - Added by Anonymous over 16 years ago

1) mrc module

assuming you followed the install of the mrc module for php at:

http://emg.nysbc.org/software/mrctools/mrc_so.php

you should first check if your mrc module is loaded in php.

dynamic extension may not be declared in php.ini, but in /etc/php.d/ or /etc/php5/conf.d/

- go to your web directory

- create a file: info.php and add the following:

<?php
phpinfo();
?>

- in a browser go to http://localhost/info.php
- search for MRC, if mrc.so is installed properly, you should read something like:

mrc
mrc support enabled
Version 1.4
FFTW support enabled

3) php.ini

check if the following property are set in your php.ini, usually located in /etc/php.ini or /etc/php5/apache2/php.ini

...
short_open_tag = On
...
memory_limit = 256M
...
error_reporting  =  E_ALL &amp; ~E_NOTICE

3file permission

make sure that your webserver has permission to read mrc files.

- Added by Anonymous over 16 years ago

I did all the test (phpinfo(); ex1 ex2 for displaying mrc format in web browse)

and it shows working.

I already modified the php.ini codes (Anchi told me).

Thanks for your help

Xing Meng

- Added by Anchi Cheng over 16 years ago

Xing,

Are you saying that after turn on the error display you got no error in the browser? Did you restart the apache server after you modify php.ini?

Did you check permission of the parent directories? web server is not in your group, but whatever specified in its httpd.conf.

If this is still not working, you need to let Denis into your system to find what is wrong. It is much better than keep guessing with no error information.

Anchi

    (1-3/3)