Found out more about the problem. The problem is in modules/ModuleBuilder/MB/MBVardefs.php
PHP Code:
function load(){
$this->vardef = array('fields'=>array(), 'relationships'=>array());
if(file_exists($this->path . '/vardefs.php')){
include($this->path. '/vardefs.php');
$this->vardef = $vardefs;
}
}
The vardefs.php has the right contents after the first write but doesn't get read properly the second time. The problem is within the include function. It seems, it doesn't give back the file but something from the cache. So $vardefs doesn't contain the new field and therefore it isn't in the file after the second writing.
So my guess is that the actual error is somewhere in my configuration. I'm also running Zend Platform which includes the Accelerator cache. Or is there a possibility that it misconfigured the php.ini? Or am I completely wrong?
Bookmarks