When trying to download uploaded documents (PDF files in my case), I don't get anything.
Looking at the logs, I get an error when trying to dowload the PDF file :
2015-12-03 11:13:54.200 ***** ERROR ***** ERROR *****
2015-12-03 11:13:54.200 ***** ERROR ***** on file '/var/www/projeqtor/model/persistence/SqlElement.php' at line (4005)
2015-12-03 11:13:54.200 ***** ERROR ***** cause = is_a() expects exactly 2 parameters, 3 given
I tried for some PDF files uploaded on the project, and got exactly the same error each time.
Looking at the filenames of the different PDF files, there may be a problem due to the file names : the project name is composed of a word starting with the µ character, so this character is present in the name of all PDF files uploaded. Maybe the error is due to the presence of this character in the filenames ?
babynus wrote: It is a issue produced with PHP < 5.3
That's strange as php version used is 5.3.3-7
babynus wrote: To have this work for PHP < 5.3, comment lines 4005 to 4007 in /model/persistence/SqlElement.php from
// if (! is_a($className, 'SqlElement', true )) {
// traceHack("Class '$className' does not extend SqlElement");
// }
Note that this mau introduce secuirity leak.
Better solution will be proposed in V5.2.
Thank you, it is working correctly with this patch.
As I am still evaluating the solution (only part of the team is using it currently), the security leak is not that important and I will wait v5.2 to put Projeqtor into real production.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
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.