JSON Error when trying to change themes

Topics: Themes
Jun 27, 2011 at 5:43 PM

I just installed BE2.5 and when I attempt to switch themes I recieve an Object not found JSON error?  Anyone else have this? Thanks

Coordinator
Jun 27, 2011 at 5:46 PM

Probably, related to this issue.

Jun 27, 2011 at 6:02 PM

Still Throwing an error, Hers the Method that appears to be causeing issues.

function SetCurrentTheme(theme, mobile) {
    var dto = { "theme": theme, "mobile": mobile };
    $.ajax({
        url: SiteVars.ApplicationRelativeWebRoot + "admin/AjaxHelper.aspx/SetCurrentTheme",
        data: JSON.stringify(dto),
        type: "POST",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        beforeSend: onAjaxBeforeSend,
        success: function (result) {
            var rt = result.d;
            if (rt == true) {
                window.location.reload();
            }
            else {
                ShowStatus("warning", "Error setting current theme");
            }
        }
    });
    return false;
}

Jun 27, 2011 at 6:25 PM

Turns Out it Was a corrupt download, Re-Downloaded the (Web) release and every thing works now.

Jun 27, 2011 at 6:52 PM

Seems the issue still exists for custom themes.   Although it works for Default ones.

Coordinator
Jun 27, 2011 at 7:03 PM

The fix was applied after RC was released, it only exists under "source code", not in "downloads".