Project

General

Profile

Imageviewer errors

Added by Christopher Lilienthal almost 7 years ago

Hello,

We are seeing some very strange errors while trying to view some images through the web. The image itself is displayed but there is no metadata displayed and we are seeing the following errors from PHP.

[:error] PHP Notice:  Undefined index: gr in /var/www/html/myamiweb/getimg.php on line 39, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: np in /var/www/html/myamiweb/getimg.php on line 41, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: xp in /var/www/html/myamiweb/getimg.php on line 42, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: psel in /var/www/html/myamiweb/getimg.php on line 45, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: nptcl in /var/www/html/myamiweb/getimg.php on line 46, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: fft in /var/www/html/myamiweb/getimg.php on line 48, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: nptcl in /var/www/html/myamiweb/getimg.php on line 61, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: dlbl in /var/www/html/myamiweb/getimg.php on line 62, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: pcb in /var/www/html/myamiweb/getimg.php on line 63, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: str in /var/www/html/myamiweb/inc/redux.inc on line 343, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: display in /var/www/html/myamiweb/getcomment.php on line 39, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined offset: 2 in /var/www/html/myamiweb/inc/image.inc on line 267, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: lpf_sigma in /var/www/html/myamiweb/inc/image.inc on line 196, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: pieline in /var/www/html/myamiweb/inc/redux.inc on line 325, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: pieline in /var/www/html/myamiweb/inc/redux.inc on line 326, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: padShapeX in /var/www/html/myamiweb/inc/imagerequest.inc on line 19, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: padShapeY in /var/www/html/myamiweb/inc/imagerequest.inc on line 19, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: padPosX in /var/www/html/myamiweb/inc/imagerequest.inc on line 20, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: padPoxY in /var/www/html/myamiweb/inc/imagerequest.inc on line 20, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: padValue in /var/www/html/myamiweb/inc/imagerequest.inc on line 21, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: maskRadius in /var/www/html/myamiweb/inc/imagerequest.inc on line 28, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: str in /var/www/html/myamiweb/inc/redux.inc on line 343, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: PROJECT_DB_HOST in /var/www/html/myamiweb/inc/project.inc on line 18, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: PROJECT_DB_USER in /var/www/html/myamiweb/inc/project.inc on line 19, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: PROJECT_DB_PASS in /var/www/html/myamiweb/inc/project.inc on line 20, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: PROJECT_DB in /var/www/html/myamiweb/inc/project.inc on line 21, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: debug_message in /var/www/html/myamiweb/inc/image.inc on line 240, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: PROCESSING_DB in /var/www/html/myamiweb/inc/project.inc on line 54, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: sessionId in /var/www/html/myamiweb/inc/project.inc on line 28, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: expId in /var/www/html/myamiweb/inc/project.inc on line 28, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: projectId in /var/www/html/myamiweb/inc/project.inc on line 30, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: projectId in /var/www/html/myamiweb/inc/project.inc on line 30, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: session in /var/www/html/myamiweb/inc/project.inc on line 39, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined variable: wherelike in /var/www/html/myamiweb/inc/leginon.inc on line 165, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: tl in /var/www/html/myamiweb/getpreset.php on line 48, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: xt in /var/www/html/myamiweb/getpreset.php on line 49, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined offset: 0 in /var/www/html/myamiweb/inc/leginon.inc on line 728, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: psel in /var/www/html/myamiweb/getpreset.php on line 112, referer: https://webserver.address.omitted/myamiweb/imageviewer.php
[:error] PHP Notice:  Undefined index: nptcl in /var/www/html/myamiweb/getpreset.php on line 113, referer: https://webserver.address.omitted/myamiweb/imageviewer.php

I removed the timestamps and client ip address to try and make it more readable.

The image(s) this is happening to are confined to one session. During this session the user copied the ed preset to a new preset named en then deleted the ed preset. Would that cause this issue?

Have you seen these errors before?

Thank you


Replies (3)

RE: Imageviewer errors - Added by Anchi Cheng almost 7 years ago

The copy and delete preset in Leginon gui should not cause issue like this.

Since these are notices, you may want to turn the display off by changing in php.ini

error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED

Then you will see the real error.

RE: Imageviewer errors - Added by Christopher Lilienthal almost 7 years ago

Hi Anchi,

It appears these messages are only a notice like you suggested. Once I changed the logging levels the messages disappeared in the logs. I suppose the more pressing issue is to determine why the metadata for these images are not being found. Does anything spring to mind that I should check first?

RE: Imageviewer errors - Added by Anchi Cheng almost 7 years ago

If the metadata part you are referring to is the magnification, pixel size defocus etc, a good place to start is to find which part of the query is broken. The frame that show the information displays the php file

http://your_myamiweb/getpreset.php?preset=all&id=xxx

where you need to supply it with the image id xxx.

It might be easier just click on "i" button of your viewer. It will take you to

http://your_myamiweb/imgreport.php?preset=all&id=xxx

Depends on what is missing in this page, you may be able to find what went wrong.

One of the common reason for no metadata display on a single session is that the user accidentally access a new instrument that has not been calibrated. I've seen that in simulator and/or TEM/EF-TEM change. There was also one case that the TEM somehow was at a different high tension. Because camera sensitivity is different at different TEM high tension, It is considered as different "Instrument". Therefore, pay attention to the Instrument field to see if it is different from other session supposely using the same instrument.

Copying and deleting preset in Leginon gui should not create problems since the preset database record is not deleted.

    (1-3/3)