After Installation I get a blank page for Kreport 4.2

After a good installation of
KREST API (I have positive veryfication of API)
I try to create a report and I have a blank screen (png here attached)

in LINUX with
|Apache | 2.4.29|
|PHP | 5.6.33|
|MySQL | 5.6.38|

KREST api positive running version 2.5.3
KPREPORTER 4.2.0 base + core installed (no error during the installation)

SUITECRM 7.9.5

Folder KREPORTER with permission 777

I got the following log Error from server when I try to add a new report
[pid 15315:tid 139890331457280] (13)Permission denied: [client 213.82.25.115:60009] AH00529: /home/crmidblab/public_html/SuiteCRM/modules/KReports/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/modules/KReports/’ is executable, referer: http://www.crm.idblab.com/SuiteCRM/index.php?module=KReports&action=EditView&return_module=KReports&return_action=DetailView

I haven’t found any .htaccess in /KReports module …

Can some help me? :slight_smile:

Mirco

Second screenshot

Mirco,
it looks like SuiteCRM has some logic checking htaccess files.
I only have 7.9.0 and KReporter works there.
Have you to tried to save a blank .htaccess file under modules/KReports/ ?

Val

another thing: any error in php error log?
like
Call to undefined method Slim\Http\Headers::extract() in C:\xampp\htdocs\suitecrm7102\KRE ST\Slim\Environment.php:161

Maretval …thanks a lot for your assistance!!
1) I create .htaccess empty and the things changes …but not solved …
after that It creates a “new report” but only the row …it looks like I don’t have permission for modify or create it …(I am Admin of course)
Here you have the listed report …created (but I even don’t know how I did it …I just nervously clicked New…Save …:))

2) about the error in php

In error_log nothing similar founded, I have still the same error row
[Fri Mar 23 12:04:20.214145 2018] [core:crit] [pid 19172:tid 139890113054464] (13)Permission denied: [client 5.170.172.46:52498] AH00529: /home/crmidblab/public_html/SuiteCRM/modules/KReports/js/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/modules/KReports/js/’ is executable, referer: http://crm.idblab.com/SuiteCRM/index.php?module=KReports&offset=1&stamp=1521803016074049900&return_module=KReports&action=EditView&record=b1cb61e3-35f4-bdac-c970-5ab4dee6156f

** In error_log_php nothing similar founded, the errors which I have are the following**
[23-Mar-2018 12:14:12 Europe/Rome] PHP Strict Standards: Declaration of SugarWidgetSubPanelEditRoleButton::displayHeaderCell() should be compatible with SugarWidgetField::displayHeaderCell($layout_def) in /home/crmidblab/public_html/SuiteCRM/include/generic/SugarWidgets/SugarWidgetSubPanelEditRoleButton.php on line 0
[23-Mar-2018 12:14:12 Europe/Rome] PHP Strict Standards: Declaration of SugarWidgetSubPanelEditRoleButton::displayList() should be compatible with SugarWidgetField::displayList($layout_def) in /home/crmidblab/public_html/SuiteCRM/include/generic/SugarWidgets/SugarWidgetSubPanelEditRoleButton.php on line 0
[23-Mar-2018 12:14:41 Europe/Rome] PHP Strict Standards: Declaration of KReport::save() should be compatible with SugarBean::save($check_notify = false) in /home/crmidblab/public_html/SuiteCRM/modules/KReports/KReport.php on line 0
[23-Mar-2018 12:14:41 Europe/Rome] PHP Strict Standards: Declaration of KReport::create_new_list_query() should be compatible with SugarBean::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = ‘’, $return_array = false, $parentbean = NULL, $singleSelect = false, $ifListForExport = false) in /home/crmidblab/public_html/SuiteCRM/modules/KReports/KReport.php on line 0
[23-Mar-2018 12:14:41 Europe/Rome] PHP Warning: Invalid argument supplied for foreach() in /home/crmidblab/public_html/SuiteCRM/modules/KReports/KReport.php on line 427

Do you need some other data or info :slight_smile: thanks a lot for your effort!!!
Mirco

This is the first screen shot (I can insert only one picture per post :frowning:

but when I click on it for modify …or do something it looks like I can’t do nothing

Mirco,

As far as I can see KReporter display is not loading in create view.
Let’s try this to make sure we don’t overlook fatal errors in php log:
set in your php.ini:
error_reporting=E_ALL & ~E_STRICT & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
display_errors=Off

Then restart server and give another try

Val

Ok, done. but what now?
I have tried again and it creates 2 report …as before …empty …that I cannot view/modify

now error_log_php has no error displayed
but error_log has this

[Fri Mar 23 15:20:05.100560 2018] [core:crit] [pid 48511:tid 139890180196096] (13)Permission denied: [client 5.170.48.32:25849] AH00529: /home/crmidblab/public_html/SuiteCRM/cache/jsLanguage/KReports/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/cache/jsLanguage/KReports/’ is executable, referer: crm.idblab.com/SuiteCRM/index.php?module=KReports&offset=2&stamp=1521814799064036600&return_module=KReports&action=DetailView&record=b1cb61e3-35f4-bdac-c970-5ab4dee6156f
[Fri Mar 23 15:20:05.173047 2018] [core:crit] [pid 48511:tid 139890314671872] (13)Permission denied: [client 5.170.48.32:25421] AH00529: /home/crmidblab/public_html/SuiteCRM/modules/KReports/js/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/modules/KReports/js/’ is executable, referer:
[Fri Mar 23 15:20:05.179717 2018] [core:crit] [pid 48511:tid 139890331457280] (13)Permission denied: [client 5.170.48.32:25297] AH00529: /home/crmidblab/public_html/SuiteCRM/vendor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/vendor/’ is executable, referer:
[Fri Mar 23 15:20:05.181795 2018] [core:crit] [pid 48511:tid 139890348242688] (13)Permission denied: [client 5.170.48.32:25677] AH00529: /home/crmidblab/public_html/SuiteCRM/modules/KReports/js/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/crmidblab/public_html/SuiteCRM/modules/KReports/js/’ is executable, referer:

Is the user for which permissions are set for KReports folder the same user as for other folders in modules?

I don’t know how check it …
I am actually working as admin

I did a big mistake …I rebuilt now .htaccess from SuiteCRM panel …and now CRM is not opening :frowning: …do u know what can I do for repair this mess???

try: open .htaccess located in root folder of your suitecrm and delete full content

Done! this works…promise I will never do it again :smiley:
ok …back to our previous topic

when you are logged in server, go to modules folder
then use command ls -l to list files and folders including permissions, user nad usergroup
You shall get something like
-rw-r–r-- 1 www www 924 2011-07-01 20:23 test.txt

I am in a managed VPS I have no access to command line, can I see it from Files Manager of Cpanel?

try right click on folder in files manager. If you see something like properties, have a look at it

13

I can see on the right 0775. What is httpd/unix directory? User and Group?
What is set for modules/KReports?

Change Permissions looks good by the way

Ciao Maretval, thanks again for ur help!
modules/KReports => 0777
I don’t know in cpanel how to check User/Group I have tried to install the ssh client but …with no luck!
Have you other ideas?

Mirco,
sorry, no other idea.
Val