View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - v7.2.2 - Image attachment prevents activity from opening - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

v7.2.2 - Image attachment prevents activity from opening

More
04 Oct 2018 20:08 #1 by licinio
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.




Attachments:

Please Connexion or Create an account to join the conversation.

More
05 Oct 2018 08:24 #2 by babynus
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.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
09 Oct 2018 16:10 #3 by licinio
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 $

Attachments:

Please Connexion or Create an account to join the conversation.

More
10 Oct 2018 12:36 #4 by babynus
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

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
10 Oct 2018 19:34 #5 by licinio
This is perfect, fix works.

Thank you very much.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.065 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.