Forum

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.

Attachment section ...
 
Notifications
Clear all

Attachment section does not appear after upload

33 Posts
2 Users
0 Reactions
25.3 K Views
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

I looked again in log files you posted.
I finaly found on oldest one (I must admit I first looked only at the 3 most recent ones) :

2015-11-16 11:17:00.908 ** ERROR ** ERROR **
2015-11-16 11:17:00.908
** ERROR ** on file '/var/www/html/projeqtor/tool/saveAttachment.php' at line (244)
2015-11-16 11:17:00.908
** ERROR ***** cause = mkdir(): Permission denied

It is clear : php user don't have write rights on /projeqtor/files folder to create the expected thumbs folder.
So either give write rights to php user on /projeqtor/files
or create /projeqtor/files/thumbs and give write rights to it for php user.


 
Posted : 08 Dec 2015 11H04
(@mendo15)
Posts: 61
Active Member
Topic starter
 

Please see the following screenshots for permission for files.

I believe the permissions are okay?


 
Posted : 08 Dec 2015 17H28
(@mendo15)
Posts: 61
Active Member
Topic starter
 

Is it normal that the thumbs folder is completely empty?


 
Posted : 08 Dec 2015 22H16
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Please see the following screenshots for permission for files.
I believe the permissions are okay?

Yes, they seem correct.


 
Posted : 09 Dec 2015 19H49
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Is it normal that the thumbs folder is completely empty?

Not it is not, it should at least contains thumbs for attachements as a picture.
And the issue sure comes from this point.
New must understand why generation of thumb fails...

Are you sure you have nothing in ProjeQtOr log files ?
And maybe in Apache error log file ?

Could you also chack prerequisites as defined : http://www.projeqtor.org/en/product-en/technical-en/64-setup-en/412-product-prerequisites-en


 
Posted : 09 Dec 2015 19H52
(@mendo15)
Posts: 61
Active Member
Topic starter
 

Please see attached apache log file.

There are definitely a lot of errors.

There is an erroe "Call to undefined function imagecreatefromjpeg() in var/www/html/projeqtor/tool/file.php"

This could be why the thumb is not being created.


 
Posted : 09 Dec 2015 22H37
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

GD library is missing !


 
Posted : 09 Dec 2015 22H42
(@mendo15)
Posts: 61
Active Member
Topic starter
 

That did it!

Thank you!


 
Posted : 09 Dec 2015 23H31
Page 2 / 2
Share:

Scroll to Top