Closed (won't fix)
Project:
Computed Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2009 at 19:39 UTC
Updated:
21 Aug 2009 at 07:10 UTC
My computed field has PHP code that is apparently causing an error. Diagnosing is tricky since the only feedback I get is whether the computed field gets updated. Please provide some way for site admins to see PHP error codes.
Note: This request does not extend to non-admin users. I don't want to leak error information.
Comments
Comment #1
deekayen commentedI'm pretty sure this is impossible. You'll just have to test your code elsewhere somehow before you have CF parse it. From php.net:
While the normal way to gracefully catch errors in PHP5 with try {} works on most things, it doesn't on eval().