View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Unable to delete attached file record - ProjeQtOr
 

Unable to delete attached file record

More
05 Apr 2024 11:15 #1 by jmmbb
Hello,

I'm in V11.1.5.
I create attachment for a project (files test.png), I works and i can show the file content from ProjeQtOr).
I get error from log : cannot create image thumb of size 32 for ....)
I want to delete attachment, nothing append.
In reality, file is deleted from server (in ../files/attach) but record stay in database.
Log show error : 'stSaveRefType' is not an expected status in result
Attachment still on screen, unable to show files (normal, it's deleted).
When trying to download, nothing append an an error (logical) is logged : download.php : XXXX not found.

Trying the same with .pdf, the same thinks appends.

Log file attached.

Regards,

 
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Apr 2024 10:39 #2 by babynus
Cannot reproduce.
Which version of PHP are you using ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
08 Apr 2024 10:32 #3 by jmmbb
PHP 8.1.4

Please Log in or Create an account to join the conversation.

More
08 Apr 2024 10:38 #4 by jmmbb
Problem occurs on two differents instances, one in V11.1.4, one in V11.1.5

Please Log in or Create an account to join the conversation.

More
19 Apr 2024 14:56 #5 by babynus
Possibly you just have access rights in the directory where thumbs are stored projeqtor\files\thumbs
PHP user must have write rights on this folder.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
20 Apr 2024 11:59 #6 by jmmbb
Exact, permissions are only rwxr--r-- on files and subdirectories...
It works for thumb creation but i still have problem while deleting attachment.

I'm trying deleting all subdirectories in attach and removing all records from database to see if issue occurs after that

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.048 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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