View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [CLOSED]Error when upload file to Documents - ProjeQtOr

Prochaines Sessions

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[CLOSED]Error when upload file to Documents

More
26 Mar 2013 17:37 - 27 Mar 2013 11:30 #1 by vdeverre
Hi.

When I upload a file to Documents I have an error:
2013-03-26 17:33:11 ***** ERROR ***** cause = move_uploaded_file(../files/documents//Product/Exploitation/droits.ods.16): failed to open stream: Permission denied

As you see, there is 2 slash if then path !

Can you fix it ?
Last edit: 27 Mar 2013 11:30 by vdeverre. Reason: closed

Please Connexion or Create an account to join the conversation.

More
26 Mar 2013 17:48 #2 by babynus
Hi,

The double slash is no issue.
Your issue is that PHP user does not have write rights to target folder.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
27 Mar 2013 08:33 #3 by vdeverre
Before update to 3.2.2 I can do upload file.

I can upload file from ticket or task, but not from the Documennts module.
In the input file I see c:\fakepath\<myfile>, it's not the same input file that Ticket or Task.

Please Connexion or Create an account to join the conversation.

More
27 Mar 2013 09:45 #4 by vdeverre
This is a bug !

When subdirectory does not exists into '../files/documents/' it created with this right: dr----x--t
and not with this right: drwxr-xr-x

So mkdir and move_upload_file does not write into this directory.

When I change right to 'drwxr-xr-x' all is OK.


I'm under Ubuntu Linux.

Please Connexion or Create an account to join the conversation.

More
27 Mar 2013 09:55 #5 by vdeverre
Bug found :silly:

Edit ./model/Document.php
Line 216
replace: mkdir($newLoc,'0777',true);
with: mkdir($newLoc,0777,true);

Please Connexion or Create an account to join the conversation.

More
27 Mar 2013 10:38 #6 by babynus
Hi,
I thought this issue was fixed in V3.2.2.

Did you get V3.2.2 soon on monday 25th ?
As I had issues in deploying the version, maybe you got a wrong version.
Can you try and get it again ?

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.045 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.