Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Edit Post Button Not Working
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 12:18 am

what happens when you try to edit?  what are you doing to edit?  ie edit button in post button row or forum tools?

is this admin or user?   if user, what edit permissions have you set up?

any errors reported in the browser console when you click edit?

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 12:25 am

This 42 second screen capture shows what I'm trying to do http://screencast.com/t/P8Yeal2St5Ei

Both admins and users cannot edit.

The URL displayed when I hover over the Edit Post button is javascript:document.usereditpost4844.submit();

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2015 - 2:01 am

No, the url has nothing to do with the browser console... for more info, see:  https://simple-press.com/docum.....wser-link/

open the browse console (normally F12) and see if any js errors reported when you click on the edit button...

also, do you run an security add ons, such as mod_security that might be dorking with urls and query args?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2015 - 3:15 am

Now why didn't I think of mod_security. That would explain it. In case you don't know what that is Ryan it is a server side set of filters that check every url request against what your host believes may be bogus calls and the typical result is that query args get stripped - which is what is happening to you. hence a good candidate.

You will almost certainly have to ask your host if it is active and, if so, if they can deactivate it to test. Hosts know that it is the bane of every web developers life and in our experience are usually only too wiling to modify filters or remove them when they know they are effecting your website.

Fingers crossed that this is the problem.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2015 - 9:25 am

I asked my hosting company about this and they said they do not run mod_security.

I also noticed that the "Edit Post" button is only visible to administrators.

Any other ideas?

Thank you!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2015 - 3:11 pm

Hey Ryan, if mod_security isn't an issue then it's entirely possible one of the js errors could be causing the problem. If you could forward me and Mr Papa the login details you sent to Andy I'll happily take a look to see if I can spot anything.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 6, 2015 - 8:53 pm

back in post 11, I asked what edit permission you gave to users...  you have to give users permission to edit posts... and there are several options to choose from...

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 7, 2015 - 11:31 pm

Members of my forum have been successfully editing their own posts for the past year, but not anymore. I tried to locate where the option is for editing permissions but have given up for the time being.

Ike I will private message you some login details.

Thanks for the help guys!!!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 7, 2015 - 11:37 pm

forum - permissions - manage permissions sets...   check the permission set you use for users...

Avatar
Ryan Collins
Member
Free Members
sp_UserOfflineSmall Offline
Feb 8, 2015 - 1:09 pm

Thank you.

It doesn't seem to be a permissions issue. Admins are not able to edit posts either. We click the edit posts button but nothing happens.

I will keep working on it!!

Best,

Ryan

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625