Forum

[SOLVED] Report ima...
 
Notifications
Retirer tout

[SOLVED] Report images do not show up in "Reports/current status" view

3 Posts
2 Utilisateurs
0 Reactions
2,258 Vu
(@zartparz)
Posts: 10
Eminent Member
Début du sujet
 
[#6202]

Hi,

I try to view report in "Follow-up/Reports/current status/status of all work". The report tables show without problem but the images do not show, indicated by missing link symbol.

The problem is because I set

$paramReportTempDirectory = '/opt/projeqtor/report';

at the first time setup (projeqtor was installed at /var/www/html/projeqtor and can access by 'myserver.net/projeqtor'). This cause the link to the image points to 'myserver.net/opt/projeqtor/report/user4_statusDetail_20190821_130433_1.png' which is invalid.

My question is, to solve this problem, should I move the $paramReportTempDirectory back inside the projeqtor root folder? Or is there anyway to solve this without moving the writable folder into the web root? Because I do not want the web user to write anything there. Also, I have set

$paramAttachmentDirectory = '/opt/projeqtor/attach';

and I assume that there will be similar problem. (does not test attachment yet)

Thank in advance.


 
Posté : 21/08/2019 10:36 am
(@babynus)
Posts: 14952
Membre Admin
 

My question is, to solve this problem, should I move the $paramReportTempDirectory back inside the projeqtor root folder?

Yes it must be in projector root folder. It must be into the web root and url to its content is calculated from projeqtor current url.
This folder stores images that will be displayed on Html Report pages, so if it is out of web reach, no image is displayed.


 
Posté : 21/08/2019 1:20 pm
(@zartparz)
Posts: 10
Eminent Member
Début du sujet
 

OK, thank you.

I have created a symlink and now it works fine.


 
Posté : 21/08/2019 1:39 pm
Share:
Retour en haut