i tried to put some php code(probably with syntax errors) for test purposes and after save i dont have access to my drupal installation. I see those errors for every page i try to access. Is there any solution to for this?

Parse error: syntax error, unexpected '<' in /home/domain/public_html/sites/all/modules/views_php/plugins/views/views_php_handler_filter.inc(82) : runtime-created function on line 1

Fatal error: Function name must be a string in /home/domain/public_html/sites/all/modules/views_php/plugins/views/views_php_handler_filter.inc on line 89


philsward’s picture

Ran into the same problem...

Try putting your code in the Output Code section instead of the Value Code

I simply added a link with full html tags:

<a href="products/compare" class="simple-dialog" rel="width:900;resizable:false;position:[center,60]" name="product-comparison-view" title="View Product Comparisons">View Comparisons</a>

which seems to work fine in the Output Code.