bdotmall
Forum Replies Created
-
Forum: Plugins
In reply to: [IP Geo Block] Cannot access multisite adminThank you for the quick reply; my apologies for not responding sooner.
When I first enabled the plugin (using Network Activate), I was able to access my subsite /wp-admin/, but after I logged out and cleared my cookies and cache, the problem came back.
I am able to login to the main site’s /wp-admin/ Dashboard, but I get redirected to my profile page (still logged in) when I try to then access the subsite’s /wp-admin/ Dashboard.
If I then completely logout and then log back into the subsite’s /wp-admin/ Dashboard directly and then try to switch over to the main site’s /wp-admin/ Dashboard, I get redirected to the main site’s login page and it says that I am currently not logged in at all.
Do you have the plugin “network activated”, or set to active in each of the subsites?
Are there any special settings in the plugin settings that I could be overlooking?
Thank you
Forum: Fixing WordPress
In reply to: Update WordPress Permission Denied /class-wp-filesystem-direct.phpHi,
I had the same issues and finally found something else that got it fixed, so I figured I’d share…
I found the define(‘FS_METHOD’, ‘direct’); trick, but still had the “Warning: copy(/var/www/html/wp-admin/includes/update-core.php): failed to open stream: Permission denied in /var/www/html/wp-admin/includes/class-wp-filesystem-direct.php…” issue.
I made sure my web service had access (I’m running CentOS 7 in a Virtualbox):
chown -R apache:apache /var/wwwAgain, on the last line of /var/www/html/wp-config.php, I added:
define(‘FS_METHOD’, ‘direct’);I then temporarily updated all permissions on files and directories to 777:
find /path/to/site/ -type f -exec chmod 777 {} \;
find /path/to/site/ -type d -exec chmod 777 {} \;HERE’S THE TRICK: I found somewhere that SELinux was causing problems and the solution was to run:
chcon -R –type httpd_sys_rw_content_t /var/www/html/I restarted my web service (systemctl restart httpd).
Then logged into WordPress and ran the system update and it worked!
Once the update finished, I went back and “fixed” the permissions to recommended settings:
find /path/to/site/ -type f -exec chmod 0664 {} \;
find /path/to/site/ -type d -exec chmod 0775 {} \;I pulled my hair out for hours on this, so hope it helps someone else too. Thanks to the community for sharing their knowledge and constantly helping me out when I’m in a jam!
Cheers
Something to add to this…
Now that I’m using the code snippet above I’ve removed all the parent categories from my child events, the parent category page is working by showing all the child category events and my calendar is showing the correct color for each child event category.
The “problem” I have now is when I filter the FullCalendar. When showing “All Categories” and any of the child category events only, everything is fine. The problem is when I filter on any of the parent categories – the calendar does not show any events since no event explicitly uses any of the parent category tags. I would like to be able to filter on any parent category and display all the child category events in the calendar.
Thoughts?
Forum: Plugins
In reply to: [When Last Login] All Login Records missing user loginsHi @andrewza,
Interesting theory about the “Remember Me” functionality affecting the results I’m seeing. While this is certainly possible (I do not know if “Victoria” used ‘Remember Me’ checkbox, nor would I expect her to remember if she had 10 days ago), I don’t think this is the case as I only sent out her login hours prior to installing the When Last Login plugin.
So far this is an isolated case for this user (“Victoria”) and it’s a new site, so I don’t have much other data to consider. I’ll leave this be for a week or so and see if “Victoria” logs in again to leave a comment and see if this anomaly happens again, or if it happens with a different user. I’ll return to this thread with my findings and either mark it as closed or reply back with additional information if I see the problem persisting.
Again, many thanks for the prompt replies and making this plugin available!
Cheers
Forum: Plugins
In reply to: [When Last Login] All Login Records missing user loginsHi @andrewza,
Thank you for the prompt reply. No apologies needed about a delayed response.
Yes, I can see the user listed under “Dashboard>Users>All Users”. I’m also showing the “Last Login” and “Last Logged in IP Address” in this view, but this particular (“Victoria”) user still shows “Never” and “IP Address Not Recorded” in this view.
However, as stated above, if I go into the “Dashboard>Comments>All Comments” view, I see this particular user (“Victoria”) posted a comment on 2017/10/04 at 6:33pm. This record shows her display name, user name, and IP address from where she logged in to leave the comment.
Any ideas why I can see “Victoria”‘s comment record (with IP address), but the “Users>All Users” does not show her last login and the “When Last Login>All Login Records” has no record of her logging in at all? Again, I turned on this plugin back on 2017/10/01, before “Victoria” logged in to leave her comment.
Thank you
Forum: Plugins
In reply to: [Network Username Restrictions Override] class style deprecated in php7This worked for me with WordPress 4.8.2 running PHP7:
On line 25 of network-username-restrictions-override.php, replace:
function NetworkUsernameRestrictionsOverridePlugin() {
with:
function __construct(){