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
Unable to make edits to user accounts/saving settings in the admin panel
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2015 - 9:11 pm

still cannot get the error with those settings... the links are all https...  any .htaccess settings?

but will look into this weekend...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2015 - 11:58 am

okay, give this a try...  in the https plugin folder, edit the file plugins/wordpress-https\lib\WordPressHTTPS.php...  and at line 342, find this line of code:

                    $updated->setScheme('http');

and change it to

                    if (!is_admin()) $updated->setScheme('http');

think that will get you going... and since that plugin hasnt been updated in years and  years, you shouldnt have to worry about updates over writing your changes...

Incidentally, I would call this a bug with that plugin...  you have force_ssl_admin set to true, yet its converting urls from https to http...  if it had just left them alone, all would be good...  it is misinterpreting those urls as direct links to front end content, which they are not...  all i have done is stop the converting of those urls from https to http...  and if there should actually be one, then the plugin should catch it on the other end when loaded anyways, right?

Avatar
alltogether
Member
sp_UserOfflineSmall Offline
Oct 6, 2015 - 10:34 pm

I really thought I had updated this, but I must've just written the post and not submitted it…
Anyway, you found the right line, but your fix did not work. This ended up working:

if (strpos($_SERVER['REQUEST_URI'], 'sp_ahah') === false) { $updated->setScheme('http'); }

If there is any reason why it wouldn't be a good idea to do it this way, please let me know.

Edit: it appears I actually have spoken too soon - that for some reason fixes the inability to modify user groups, but not the inability to click on the red female icon from the user list in the admin panel (which is accessed via HTTPS), or to moderate threads in the forums themselves (accessed via the public facing forum front-end on HTTP). Back to the drawing board… Any ideas?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 7, 2015 - 10:54 pm

it worked when this was done some time ago - but must admit I did not try every possible form or action..  but since it was one you tried, pretty sure I tested it...  and off hand cannot think why it would be any different for that...  when I get a chance, I can try to look at some more, but right now I dont even have that plugin around...  maybe this weekend...

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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625