Forum

Issue with report g...
 
Notifications
Clear all

Issue with report generation

4 Posts
2 Users
0 Reactions
2,685 Views
(@cedley)
Posts: 3
Active Member
Topic starter
 
[#5345]

Hi,

I recently installed Projeqtor and I've been testing the system before using it for the management of a new 3-year project starting in September.
It all works fine apart from a very import feature : report generation. Whether I want reports (any kind) to be displayed, printed out or exported as PDFs makes no difference to the issue I encounter... (basically, no report ever gets generated, a new window opens with the system's default address /view/main.php). Here's the log info:

===== TRACE ===== NEW CONNECTED USER 'admin'
2018-08-09 17:40:55.201 ** ERROR ** [V7.1.4] HACK ================================================================
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] Try to hack detected
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] Source Code = improper value '3b30d57decfd2c6b5afbe15611a88d647d7a7274a:4:{i:0;s:1:"1";i:1;s:12:"Admin, Admin";i:2;i:2592000;i:3;a:3:{s:8:"pageSize";i:10;s:8:"username";s:5:"admin";s:6:"avatar";s:33:"/images/user/default_avatar_M.jpg";}}' for request parameter 'ccb27b5984e9d4a37bdabb81538a592d' while calling a report
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] QUERY_STRING = reportFile=workDetail.php%3Fscale%3Dmonth&reportId=29&idProject=1&idTeam=1&periodValue=201808&periodType=month&yearSpinner=2018&monthSpinner=8&orientation=L&objectClass=&reportCodeName=WorkDetailMonthly&page=..%2Freport%2FworkDetail.php%3Fscale%3Dmonth&print=true&report=true&outMode=pdf&reportName=detailed+work+per+resource+-+monthly
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] REMOTE_ADDR = 80.12.34.239
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] SCRIPT_FILENAME = (I deleted the first part here)/view/print.php
2018-08-09 17:40:55.202 ** ERROR ** [V7.1.4] REQUEST_URI = /view/print.php?reportFile=workDetail.php%3Fscale%3Dmonth&reportId=29&idProject=1&idTeam=1&periodValue=201808&periodType=month&yearSpinner=2018&monthSpinner=8&orientation=L&objectClass=&reportCodeName=WorkDetailMonthly&page=..%2Freport%2FworkDetail.php%3Fscale%3Dmonth&print=true&report=true&outMode=pdf&reportName=detailed+work+per+resource+-+monthly

Any help welcome!
Many anticipated thanks.

C


 
Posted : 09 Aug 2018 19H56
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Very stange,
There is some transformation
&scale=month
became
%3Fscale%3Dmonth
but stangely not all & and = are transformed

Can you please check in your brower :
- open console (F12)
- go to tab "network"
- run report
- look for query to print.php and select it
- look for tab Header
- post here value of Content URL
Thanks


 
Posted : 09 Aug 2018 20H09
(@cedley)
Posts: 3
Active Member
Topic starter
 

Thanks for you reply, Babynus.

I tried to follow your instructions, but can't seem to find the query for print.php in the console.
Here's what I get:
0
POST
reportsMain.php?destinationWidth=1086&destinationHeight=320&isIE=
mysite.com
xhr
html
1,43 Ko
3,81 Ko
→ 1470 ms
200
POST
reportListMenu.php?idCategory=1
mysite.com
xhr
html
859 o
1,69 Ko
→ 2966 ms
200
POST
reportsParameters.php?idReport=1&destinationWidth=452&destinationHeight=0&isIE=
mysite.com
xhr
html
2,49 Ko
8,09 Ko
→ 1442 ms
301
POST
work.php?destinationWidth=1086&destinationHeight=68&isIE=
mysite.com
xhr
html
1,37 Ko
2,19 Ko
→ 1288 ms
200
GET
/
mysite.com
xhr
html
1,36 Ko
2,19 Ko
→ 1123 ms
404
GET
titleSmall.png
mysite.com
img
html
707 o
823 o
→ 312 ms
404
GET
projeqtor.css
mysite.com
stylesheet
html
707 o
823 o
→ 946 ms
404
GET
projeqtorFlat.css
mysite.com
stylesheet
html
707 o
823 o
→ 825 ms
200
GET
checkAlertToDisplay.php
mysite.com
xhr
html
500 o
0 o
→ 692 ms
200
GET
checkAlertToDisplay.php
mysite.com
xhr
html
342 o
0 o
→ 4160 ms
200
GET
checkAlertToDisplay.php
mysite.com
xhr
html
342 o
0 o
→ 9294 ms
200
GET
checkAlertToDisplay.php
mysite.com
xhr
html
342 o
0 o

No query for print.php in sight, even though I tried to both display a report and to export it as a PDF...

Another strange thing, though: I tried to generate reports with Chrome and it worked perfectly well. The problem seems to come from Firefox 61.0.2 (64bits).

Anything else I can do?

Thanks again for your help.

C


 
Posted : 15 Aug 2018 19H45
(@babynus)
Posts: 14952
Member Admin
 

Another strange thing, though: I tried to generate reports with Chrome and it worked perfectly well. The problem seems to come from Firefox 61.0.2 (64bits).

Anything else I can do?

If it is produced on FireFox only, then it may be due to some extension.
Try and disable all extensions.
If issue is not fixed, try and REMOVE all extensions (some extensions still have side effect even if disabled)


 
Posted : 21 Aug 2018 13H59
Share:

Scroll to Top