When I click "Add a new condition", I get an error message pop up that says:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Internal Server Error
ResponseText:
registrar_frameset({a_id: 48873, drid: 'as-drid-2540437855034467'});

I installed Drupal 7 along with a theme called Simplicity (http://themeforest.net/item/simplicity-responsive-drupal-7-theme/7117385 )

This theme came with, among other things, Webform 3.11. But 3.11 doesn't support conditionals, so I disabled that module, deleted the webform folder from the ftp site, then installed Webform 4.2. Now I get this error message.

Comments

DanChadwick’s picture

Status: Active » Closed (cannot reproduce)

We don't support theme-related problems. If you can reproduce this issue with a core theme, feel free to reopen.

If you are using more than about 160 conditions, or if your many of your conditions have multiple rules, you may be experiencing the PHP max_input_vars limit.

Stanislav_B’s picture

I have a similar problem. I can't add conditions. Admin theme is default.
But in my case HTTP Result Code: 200 and ResponseText is empty.
And in recent log messages i have message 'Invalid form POST data'.
If you do not want to deal with this, tell me where to look to fix.

'watchdog' called from function ajax_get_form in ajax.inc from core.
I dumped POST data into log and and it's all right.
It seems that something on the problem in retrieve $form from form_get_cache function.
form_build_id is present in $_POST.
Fragment of function:

function ajax_get_form() {
  $form_state = form_state_defaults();

  $form_build_id = $_POST['form_build_id'];

  // Get the form from the cache.
  $form = form_get_cache($form_build_id, $form_state);
  if (!$form) {
    // If $form cannot be loaded from the cache, the form_build_id in $_POST
    // must be invalid, which means that someone performed a POST request onto
    // system/ajax without actually viewing the concerned form in the browser.
    // This is likely a hacking attempt as it never happens under normal
    // circumstances, so we just do nothing.
    watchdog('ajax', 'Invalid form POST data.', array(), WATCHDOG_WARNING);
    drupal_exit();
  }

Sorry for my English.

DanChadwick’s picture

@Stanislav_B - Please open a new issue as this sounds like an entirely different issue. Also, try the latest 7.x-4.x-dev to see if it help. Look to see what is in $_POST.

Stanislav_B’s picture

@Stanislav_B - Please open a new issue as this sounds like an entirely different issue. Also, try the latest 7.x-4.x-dev to see if it help. Look to see what is in $_POST.

Ok. I will update to 'dev' version. If this do not help, i open a new issue.
About $_POST i added in the previous message

UPDATED:
It seems there was a conflict with my module that replaced a hidden field. (storing form data using jquery formcache plugin)