Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Report ima...
 
Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
2,287 Views
(@zartparz)
Posts: 10
Active Member
Topic starter
 
[#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.


 
Posted : 21 Aug 2019 10H36
babynus
(@babynus)
Posts: 14966
Main Contributor 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.


 
Posted : 21 Aug 2019 13H20
(@zartparz)
Posts: 10
Active Member
Topic starter
 

OK, thank you.

I have created a symlink and now it works fine.


 
Posted : 21 Aug 2019 13H39
Share:

Scroll to Top