Links with PDF files fails

Hello,
When you click on a file (pdf file) well stored on the system a message is displayed and at the end is written:
“Message: Le fichier /htdocs/iPlife/Dolibarr/documents/projet/191/WO0176129A2.pdf n’existe pas”

When yo go back in the browser a messahe is dispayed “The file already exist!”
as you are uploading and not reading a file.

This occurs only for the files uploaded with the v3.5.0
as attached to a task in a project.

Any click on another pdf file in Dolibarr open the reader as usual.

Best regards,
Alain.

Hi, in fact the problem occurs for all the files stored attached to a task in a project which is a big problem when you are working on a project with several tasks.
Alain.

AlainG wrote:

HI,
In addition the same problem occurs on the demo version on line

http://demo.dolibarr.org/projet/fiche.php?id=56

AlainG wrote:

Hi, the problem is general for all type of files (PDF, XLS, …) attached to a task.
This problem was solved in the past … I try to find the post to add the number if i succeed.

Alain.
AlainG wrote:

[quote]
AlainG wrote:

Hi,
See post #16911 for the same problem in the past (2.9 version)

Alain.

Will be fixed with 3.5.1

Hi,
Thank you again.
We are waiting the 3.5.1 version to be able to work efficiently.

Have the same problem attach any file to project task!
Hope there be a fix for this problem soon!

Hello Eldy,

Could it be possible to know how to modify some lines in php file(s) to solve this problem waiting the 3.5.1. version ?

This problem is bloking the activity of my company as
each person is working on files attached to a task …
unfortunately with this problem the activity could not continue !!

Sorry to put some pressure but it’s important to us.

Best regards

Package for 3.5.1 are ready. Are you ready to test them and confirm it fix your bug ?
If yes, download of prereleased files is here: http://www.dolibarr.org/files/stable/

Hello Eldy,
Thanks for this 3.5.1 version.

Following the installation :

If you open a task with files attached in a project,
under the menu Project the menu Task is shown
and under you can see the names of the attached files.

Now you can:
Firstly: clik on one of the filename shown and the file is opened -> This problem is now solved.
The URL is
http://testdolibarr.iplife.eu/document.php?modulepart=project_task&file=PJ1401-0028%2F166%2F3663-Resultat.pdf

Secondly: Select between [Temps consommé] et [Notes] the menu item [Fichiers joints]. A new list of the attached files is shown BUT if you clik on the same filename as above (The url is
http://testdolibarr.iplife.eu/document.php?modulepart=projet&file=166%2F3663-Resultat.pdf) not correct (PJ1401-0028%2F is missing before the task number in the file name)and
the following message is shown:


Dolibarr a détecté une erreur technique.
Voici les informations qui pourront aider au diagnostic:
Date: 20140306024407
Dolibarr: 3.5.1
Niveau de fonctionnalités: 0
PHP: 5.4.25
Server: Apache

Url sollicitée: /document.php?modulepart=projet&file=165%2F3624-CA2221016-Famille.pdf
Referer: http://testdolibarr.iplife.eu/projet/tasks/document.php?id=165&withproject=1
Gestionnaire de menu:

Message: Le fichier /kunden/homepages/28/d244815931/htdocs/iPlife/TestDolibarr/documents/projet/165/3624-CA2221016-Famille.pdf n’existe pas


I hope this is clear enough to help you solving the problem.
If not do not hesitate to ask me some more information.

Thanks again,
Alain.

The message for the file 3663 is :
Dolibarr a détecté une erreur technique.
Voici les informations qui pourront aider au diagnostic:
Date: 20140306025803
Dolibarr: 3.5.1
Niveau de fonctionnalités: 0
PHP: 5.4.25
Server: Apache

Url sollicitée: /document.php?modulepart=projet&file=166%2F3663-Resultat.pdf
Referer: http://testdolibarr.iplife.eu/projet/tasks/document.php?id=166&withproject=1
Gestionnaire de menu:

Message: Le fichier /kunden/homepages/28/d244815931/htdocs/iPlife/TestDolibarr/documents/projet/166/3663-Resultat.pdf n’existe pas

Hi Eldy,

A new release is available 3.5.1 BUT the second point mentioned in the post #23894 remains

Sorry I do not put this point in bold on my post ! but only Secondly

So the problem for us is not yet solved.

Thanks for your action.

AlainG wrote: