Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
File Uploader Options not saving in WP Admin
Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 12:14 am

Love the new option in the File Uploader plugin "Replace the SP profile photo urls with uploaded photos", but I'm running into a frustrating and strange experience. I click the checkbox for above, click the Update button, and it seems people can use the File Uploader for photos. Then it suddenly goes away after a while.

So I've just gone into the File Uploader Options panel, clicked the checkbox to "replace....", clicked Update, then clicked the "Available Plugins" link to go back to the File Uploader Options to verify the changes. But the checkbox is unchecked (and on the front-end, the url box shows up again).

All other options in WP seem to save ok (other plugins). Any advice on this?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2012 - 6:58 am

Curious. Unable to replicate this my end - all seems to be OK.
Can you confirm first off that you are using the latest updates to both the uploader plugin and the main SP?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 9:36 am

Sure thing - forum is Version: 5.0.5    Build:  8289

File uploader is: Version 1.1.1

Here's something wonky: Previously I had been trying to save the option by choosing it via the above path: Forum -> Plugins -> File Uploader "Options" link (next to deactivate and uninstall). Saving from there simply had the ajax-saved message instead of a panel refresh.

Just tried this: I accessed the File uploader options via Forums -> Components -> File Uploads. Saving the option there made the panel refresh, and clicking away from the options panel and then coming back to it shows that it's still a 'checked' option. Seems saving through the first route doesn't work very well. I previously had not noticed it was in the Components panel, but going through there seems to save the option.

Another wonky thing is that when I get to the options panel via the first route, the checkboxes are browser-default (and the panel doesn't refresh on clicking "update"), whereas the second route (Components panel) shows the pretty-checkboxes and the panel refreshes on save.

#scratchingmyhead

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2012 - 10:41 am

hmmmm. Make that double scratching going on. I can't actually replicate it this way either. I'll talk to Steve who coded it to see if he can come up with anything.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 10:47 am

The scratching continues...

I just went into WP-admin, went to Components -> File Uploads, and the option is again unchecked. It's worrisome, as I wonder if this is somethign to do with WP as opposed to a File Uploads plugin. All other options seem to save just fine, in SP and throughout WP.

Of note - there was one buggy thing I encountered with saving permissions. I was setting Standard permissions to allow users to Subscribe and Watch topics, only to find when I came back to the panel that the options were unchecked. As of now, those options are still saved (thankfully), but it's this inconsistency that has me baffled.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2012 - 2:17 pm

Indeed...
Can you find out from your host whether they have imposed mod_security in your site and, if possible, could they take it off so you can test without it?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 7:46 pm

So, it doesn't appear to be a module. We're running the site/forum on a Media Temple dedicated-virtual server, and I just looked at the phpinfo() page to see that mod_security is not in the Loaded Modules area. 

Some more info on the strange behavior - there is at least some consistency to report. What I've been doing lately is to test the registration system before we go live (we're using an alternate system with many added fields to handle registrations).

I register, confirm my email, then gain access to post on the forum. In order to re-test our registration page/settings, I've been in the habit of deleting my user registration to try it again. So I go to Forum -> Users, then search for the newly added user (myself) and delete it. I then notice that the File Uploader button goes back to being unchecked.

So I've checked a few scenarios, and here's what I found.

  • If I check the File Upload box and update (to use the File Uploader instead of urls), then go to other panels within SP, then go back to the File Upload options; the checked-option remains in place.
  • If I check the File Upload box and update, go elsewhere in WP (Plugins, Posts, Pages, etc.), or click any of the subnav items under the WP menu for Forums (under Comments in the WP sidenav) - basically clicking anywhere in WP outside of the SP Forum options screens that update via ajax - the checked-option reverts to being unchecked. All other options (auto-insert images option, prohibited files types settings, etc.) remain as they were. It just seems to be this File Uploader option.
  • Because I've been deleting users for testing, I've tried another situation. I check the option, update, then go to Users within the SP panels. If I immediately go back to File uploads, it's still checked. But...the moment I go to Users, and then search for my recently added user, I then go back to find the File Uploader option is unchecked.
  • If I leave the SP ajax panels and go to the Users area of WP, and then do my search to find/delete the user, I go back to the File Uploads option to find it unchecked.

Hopefully this gives more insight. It's such a strange thing, but the File Uploader is so wonderful on the front end that we'd love to keep it in use.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 2, 2012 - 8:44 pm

quite odd...  I just tried everyone of your examples and had no issue...  just to be sure, mod_security is an apache module, not php...

which browser?  have you tried other ones?  want to make sure its not a greedy cache...

Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 4:57 pm

Screen-Shot-2012-05-10-at-2.55.57-PM.pngImage Enlarger

Avatar
Focus97
Member
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 4:58 pm

Strange - I added the attachment and all my text disappeared. Glad I copied before hitting Submit. Here's the note to accompany the screenshot:

----------------

Things are still strange on our end. I am seeking the help of a super capable back-end developer who's worked with us before. I'm not sure if it's Wordpress, Apache, MySQL, or something else that's causing the errors and inconsistencies.

Browser makes no difference, unfortunately. We're seeing other strange problems with users registering and sometimes being placed into the "Members" usergroup, then sometimes not being placed there.

I can't see anywhere where mod_security is in place (doesn't list when I view the 'loaded modules'), but our development help may be able to find out for sure.

On another strange note, because of the inconsistent Usergroup registration problems I alluded to above, I've been going to Forum -> UserGroups to add the new registrants into the "Members" group. Something strange shows up (not sure if it's an import problem from vBulletin, but here goes):

When I click "Add members" under the Members area, or if I click "Show Members With No Memberships", I get 7 entries that appear without a username. Using Firebug, I can see the option IDs have numbers that look like user IDs. When doing this on new registrants, I can view in PHPMyAdmin that the option ID is in fact a username. But when I try to search for any of the 7 IDs that show up, I get nothing in PHPMyAdmin. I'm attaching a screenshot to help.

Where does the forum get those IDs? A certain Table in MySQL different from wp_users?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625