Project

General

Profile

Images not displayed

Added by Anonymous over 14 years ago

Hi there!

There seems to be something wrong with my mrc.so - no images are displayed, I always get the following errors:
[Mon Feb 22 14:28:34 2010] [error] [client 10.50.131.22] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /opt/appion/web/dbem_1_5_1/getimg.php on line 137

PHP Version 5.2.6-1+lenny4, Debian Lenny
I use a PHP configuration that is known to work (viewtopic.php?f=6&t=299 ; I copied everything from the php info).

Furthermore, the image viewer, 2way viewer and 3way viewer pages are blank, with no PHP errors issued - when I disable the processing plugin, everything is displayed (only the images are not).

Any ideas? Or can someone send me a 64bit binary version of the .so file?

Update:
Strangely, I can work around this problem when I remove extension=mrc.so from the php.ini, set enable_dl=On and add the following lines to config.php:

if (!extension_loaded('mrc')) {

dl('mrc.so');
}

I am loading exactly the same mrc.so file!


Replies (1)

Re: Images not displayed - Added by Eric Hou over 14 years ago

Hi!
1. We have not tested mrc.so on Debain. But here is the instruction shows you how to install and test the mrc php module, and make sure you get both images right.
http://emg.nysbc.org/software/mrctools/mrc_so.php

2. Furthermore, the image viewer, 2way viewer and 3way viewer pages are blank, with no PHP errors issued - when I disable the processing plugin, everything is displayed (only the images are not).

This is because there is a file call "config_processing.php.template" under "processing" folder need to setup.

cp config_processing.php.template config_processing.php

If you don't have any cluster setup for image processing, you don't need to do anything.

Thanks.

Eric

    (1-1/1)