Hello,

I wanted to point that there is a bug when validating via PHP:

Fatal error: Call to undefined function drupal_eval() in /home/www/01a386fa6b1131e1ec7de77914a9d962/web/preprod/sites/all/modules/virtual_site/condition/virtual_site_condition.basic.inc on line 98

Comments

djg_tram’s picture

Status: Active » Fixed

Fixed in the current dev.

Clément’s picture

Status: Fixed » Active

I'm sorry but for me drupal_eval() function is still not defined in the latest dev.

djg_tram’s picture

Assigned: Unassigned » djg_tram

drupal_eval() is not defined but it has been renamed to php_eval(). Note that d.o doesn't immediately generate the new -dev package when a source file is fixed. But I've just tried it, the one dated 2012-May-23 already has that fix, so you might just need to download it once more.

Clément’s picture

Thank you but I have exactly the same problem with php_eval():

Fatal error: Call to undefined function php_eval() in /home/www/01a386fa6b1131e1ec7de77914a9d962/web/preprod/sites/all/modules/virtual_site/condition/virtual_site_condition.basic.inc on line 98

djg_tram’s picture

I really didn't understand it first because it worked for me, then the penny dropped. php_eval(), for safety purposes, is not enabled by default. You need to enable the core PHP filter module first to get it. I added a warning to VS now if this module is not enabled. Download the new -dev when it becomes available but even until then, just enable this core module and it should be all right.

Clément’s picture

Status: Active » Fixed

I am awfully sorry. I forgot to enable this module ... now it works! ;-)

djg_tram’s picture

Status: Fixed » Closed (fixed)