I get the following error everytime I try move the order of a block or change its region in example.com/drupal/admin/build/block

"Validation error, please try again. If this error persists, please contact the site administrator."

I have tried running cron, logging out, logging in, removing the last module I installed (addresses and all of its fields), and it still persists.

thanks in advance.

Comments

daveslc’s picture

I waited a few hours, switched computers, switched browsers and still the same error.

I finally traced this to the php filter being unable to properly filter php code from OpenX

I think that this is the offending php code (this is the 'local' option in OpenX):

  //<!--/* OpenX Local Mode Tag v2.6.3 */-->

  // The MAX_PATH below should point to the base of your OpenX installation
  define('MAX_PATH', '/home/.mine/user/example.com');
  if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
    if (!isset($phpAds_context)) {
      $phpAds_context = array();
    }
    // function view_local($what, $zoneid=0, $campaignid=0, $bannerid=0, $target='', $source='', $withtext='', $context='', $charset='')
    $phpAds_raw = view_local('', 2, 0, 0, '', '', '0', $phpAds_context, '');
  }
  echo $phpAds_raw['html'];
daveslc’s picture

I would like to report this as a bug (I think it's a bug), but am not sure what project PHP Filter would be under. It's not listed on the issues dropdown.

altparty’s picture

Same problem here. Only after deleting the code from the database the error disappeared.