Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
First off, great work on the continued progress of this great application.
I want to report an odd issue encountered.
Image with dimension of 689 by 20 pixels was attached to an Activity. When coming back to the same activity at a later time, trying to load the activity we get an error. Please see screenshots of the error as well as the log entries reported. I was able to get around this error by manually updating the DB attachment record and changing the refID to non related ID.
Hi,
When you have non explicit error "en error occured on ..." it means details of errors are logged in log file.
Please post error you'll find in log file at given time.
I went ahead and tried to replicate the error on our TEST site, which is on version v7.2.3.
It produced the same result when we try to attach the image.
I am including in this reply the image we tried to attach as well as the log results.
2018-10-09 09:56:15.775 ----- DEBUG ----- User->authenticate : sha256 encryption 2018-10-09 09:56:15.775 ----- DEBUG ----- User->authenticate : Successfull login 2018-10-09 09:56:15.806 ===== TRACE ===== NEW CONNECTED USER 'admin' 2018-10-09 10:05:28.682 ** ERROR ** [V7.2.3] ERROR ** 2018-10-09 10:05:28.682 ** ERROR ** [V7.2.3] on file '/var/www/html/man_test/tool/file.php' at line (170) 2018-10-09 10:05:28.682 ** ERROR ***** [V7.2.3] cause = imagecreatetruecolor(): Invalid image dimensions licinio@portal /var/www_files/man_test/logs $
OK, I got it !
in fact for this image ratio Width / Height is so high that resizing to build thumbs of 32px width will lead to height lower that 1px ...
Fix is to add 2 lines before line 170 in projeqtor/tool/file.php, this way :
if ($nx<1) $nx=1;
if ($ny<1) $ny=1;
$nimg = imagecreatetruecolor($nx,$ny);
Fix will be included in next patch or version
This is perfect, fix works.
Thank you very much.

