Lockedstrange issue while saving forum settings

Author
JimL
New Member
  • Total Posts : 10
  • Reward points : 260
  • Joined:
  • Status: offline
0

strange issue while saving forum settings

I was setting up the forum configuration items, turning off calendar and galleries, birthday display etc.. and then *blam*, lost all ability to post. I turned off validation on the button and tried and ran through the debugger to see that  the page was invalid. As I didn't know what data was causing it, I had to restore the db from scratch. This was a non-issue as I am just testing it all, but have you run into anything like this before?
#1

14 Replies Related Threads

    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    Haven't heard of such problem before. What error message did you see when you post?
    #2
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    there wasn't one until I disabled validation on the save button. The button simply wouldn't fire any post back and I didn't see any page level form validation.
     
    the error I did get when I disabled validation was:
    There are certain errors in this page. Please examine the values you entered into the various textboxes.

    #3
    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    Do you have a way to reproduce the issue?
     
    FYI, you can catch the exact error in the error log @ AdminCP -> System Related options -> Error Log
     
     
    #4
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    I don't know how it starts. But usually what I do is go in and deselect all other themes except my custom one (which I also set to default in web.confg). Disable all emoticons, disable gallery, calendar and birthdays. Also disable avatars and allow quick reply. That's pretty much it. I'm able to save a few times.. but if I leave the admin cp open for a while and come back, it just stops working.  No errors are logged. The postback won't fire. When I launch debugger, no break points are hit for the handler. It's really odd...
    #5
    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    if you leave the page for a while, the appdomain will recycle itself. This is the behavior ASP.NET employs to save memory. You can add a machine key to your web.config so that this behavior does not bother you.
     
    there is a machine key generator in the AdminCP -> system related options -> Basic Maintenance.
    #6
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    Agreed, but that shouldn't prevent the javascript from executing the post back. What I'm saying is that the post back never executes. And even if the pool was recycled, the request to the server via the post back would spin it up again.
    #7
    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    Most of the AdminCP postback actions are actually Ajax postback (e.g updatepanel postback) meaning you wouldn't know if anything executes without checking the XHR activity using something like Firebug (or any of the development tool that comes with your browser).
     
    I really never received report about this behavior. How about reloading the page and see if the buttons come back to life?
    #8
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    Yep, checked XHR requests using firebug... nothing gets sent. It's only on the "Site Parameter Settings" tab.. everything else works as expected.
    No JS errors are reported either and it happens in both IE and FireFox.
    #9
    FreddyD
    vNext Owner
    • Total Posts : 849
    • Reward points : 53180
    • Joined:
    • Location: Louis Lake
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    +1 (1)
    Check one thing:

    go through the 4 tabs and see if there is anything entered incorrectly. Probably one or more of the validators fired and stopped the postback.
    #10
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    I had done that before and I didn't notice it, but you're right. There is a bug in the avatar section. If you disable (uncheck) everything in the avatar section, save and then refresh the admincp, you'll notice that the Avatar dimension limit is set to 0 and has to be a min of 20. So I set it to 20 and hit save again.. works. But when I refresh the page, that limit is back at 0 again.
     
     
    #11
    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    hmm.. thanks for the report.. I am unable to reproduce the issue. Are you sure you are not seeing any error logged in the error log?
     
    AdminCP -> System Related -> Error Log
     
    There might be errors not imported yet (shown at the top of the log page, if there is any)
    #12
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    +1 (1)
    I only had errors from the server tests which I corrected.
    Here's a screen cap video of how I repro this:
    screencast.com/t/9tZPHybw0xV
    #13
    APGvNext (Sam)
    vNext Dev
    • Total Posts : 12456
    • Reward points : 218330
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    0
    thanks for your detailed report.
     
    To fix it, please use this patch by putting the content under ~/AdminCP, overwriting an existing file.
    #14
    JimL
    New Member
    • Total Posts : 10
    • Reward points : 260
    • Joined:
    • Status: offline
    Re:strange issue while saving forum settings (permalink)
    +1 (1)
    Working fine now. Thanks for your time, patience and effort in working with me to find a solution. :)
    #15
    Jump to:
    © 2013 APG vNext Commercial Version 4.3