<div dir="ltr"><div><div><div><div><div>Hello all,<br></div>One of the last things my boss wants from a CRM is reports. Obviously, VTiger can handle these, with a lot of nice options for setting up and sending out reports. The problem is, we're getting some odd errors when trying to use them.<br><br></div>The first one is file access. Whenever I try to view a report while logged in as one of the sales reps who will eventually use this system, I get:<br>Sorry! Attempt to access restricted file. - '.$realfilepath<br></div>That's from utils.php, and I modified it to display $realfilepath instead of $filepath. The file path is always blank, which I believe is the core of the problem. You can't open a file if no file is specified, after all. The question is *why* it's blank. I should say that this only happens for reports set up by the account. That is, ones that aren't in the module by default.<br><br></div>The other issue is this. Sometimes, when I try to view a report, the page is blank. My browser shows me a 500-level error behind the scenes, suggesting a PHP error. Yet my server's error log never shows anything, so the exception or problem must be handled internally. Even the VTiger log, though, has nothing about whatever the error is. This seems to always happen when viewing a report that comes with the module by default, as opposed to the other problem above, which only happens with custom reports.<br><br></div>Thanks for any help on this one. As far as I know, our reports module is up to date, and the rest of VTiger is configured correctly. We're on 7.1 with the latest patch installed, and on PHP 7.0 on Debian 8.<br clear="all"><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></div></div></div></div>