Forum Themes:
Welcome !

 strange issue while saving forum settings

Author Message
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
strange issue while saving forum settings Fri. Oct 22, '10 2:56 PM (permalink)
0
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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 3:02 PM (permalink)
0
Haven't heard of such problem before. What error message did you see when you post?
ASPPlayground.NET
~ see our Version 4 plans here

 
#2
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 3:33 PM (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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 3:37 PM (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
 
 
ASPPlayground.NET
~ see our Version 4 plans here

 
#4
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 4:41 PM (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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 4:54 PM (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.
ASPPlayground.NET
~ see our Version 4 plans here

 
#6
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 7:04 PM (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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Fri. Oct 22, '10 10:53 PM (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?
ASPPlayground.NET
~ see our Version 4 plans here

 
#8
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 10:26 AM (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

  • Total Posts : 835
  • Reward points : 41220
  • Joined: Mar 02 '02
  • Location: Louis Lake
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 11:38 AM (permalink)
+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

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 12:36 PM (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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 2:36 PM (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)
ASPPlayground.NET
~ see our Version 4 plans here

 
#12
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 3:22 PM (permalink)
+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
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 6:00 PM (permalink)
0
thanks for your detailed report.
 
To fix it, please use this patch by putting the content under ~/AdminCP, overwriting an existing file.
Attachment(s)site.zip (4.95 KB) - downloaded 141 times
ASPPlayground.NET
~ see our Version 4 plans here

 
#14
JimL

  • Total Posts : 10
  • Reward points : 260
  • Joined: Oct 20 '10
  • Status: offline
Re:strange issue while saving forum settings Sat. Oct 23, '10 8:41 PM (permalink)
+1
Working fine now. Thanks for your time, patience and effort in working with me to find a solution. :)
 
#15
Online Bookmarks Sharing: Share/Bookmark

Jump to:

Current active users

There are 0 members and 1 guests.

Icon Legend and Permission

  • New Messages
  • No New Messages
  • Hot Topic w/ New Messages
  • Hot Topic w/o New Messages
  • Locked w/ New Messages
  • Locked w/o New Messages
  • Read Message
  • Post New Thread
  • Reply to message
  • Post New Poll
  • Submit Vote
  • Post reward post
  • Delete my own posts
  • Delete my own threads
  • Rate post

2000-2012 ASPPlayground.NET Forum Version 3.9