Eric Mann
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Session Manager] session_value is emptyThere was a bug in the community patch that introduced table storage in v2.0.0. That was resolved in v2.0.1 and should no longer be an issue in that or any later version. Please advise if that is not the case.
There were a couple of bugs with community contributions in the early v2 releases. These should now be entirely resolved with the latest versions. Please advise if that is not the case.
Forum: Plugins
In reply to: [WP Session Manager] WP Session creates database errorThe database creation routine wasn’t wired correctly to run <i>before</i> session initialization as of v2.0.1. That specific bug was fixed in v2.0.2. This should be resolved now with either that or the latest 3.X versions.
Alternatively, Andrew’s suggestion to <i>force</i> options usage will skip working with a custom database table entirely. Either way, this should be resolved.
Please advise if that’s not the case.
Forum: Plugins
In reply to: [WP Session Manager] Site Crash with 2.0.2Is there any chance you can access the system’s error logs through your host? I’m wondering if there was a PHP error somewhere that caught things up for you. Version 2+ uses a custom database table to store sessions (to prevent performance issues related to using the options table); if the server is having issues creating that table, it could have caused the delay.
If you <i>don’t</i> have access to logs, I would recommend instead setting a flag in your WordPress config file to force the plugin to keep using the options table. See the “Can I use this plugin without creating new tables?” section in the FAQ.
Forum: Plugins
In reply to: [WP Session Manager] Store image for session, delete on expirationWith versions greater than 3.0, this won’t work at all as sessions are cleaned up <i>natively</i> rather than through the plugin. That being said, the ‘wp_session_cleanup’ event runs <i>after</i> sessions are deleted, therefore there’s no session data to reference to delete the image.
Forum: Plugins
In reply to: [WP Session Manager] Lost session swith update to 3.0.0This has been resolved with v3.0.2. My apologies for anything that broke.
Version 3.0 was not intended to be backwards compatible and shifted to using <i>native</i> session functionality within PHP rather than a custom (admittedly buggy) object implementation. Some helpful devs in the community have contributed a backwards-compatibility patch, however, that restores functionality if you’re still using the
WP_Sessionobject.Updating to v3.0.2 should now be possible without losing track of your sessions – though any sessions active before the update will be reset as the new version uses a different storage mechanism.
Moving forward, I’d encourage you to upgrade your usage of the
WP_Sessionobject to using native$_SESSIONreferences as the former is deprecated and will eventually be removed.Forum: Plugins
In reply to: [WP Session Manager] Unprepared queries allow DB Injection AttackStefan,
First, this is <i>not</i> the appropriate way to disclose a security vulnerability. My contact information is listed within the plugin and I’m easily accessible through several other forums as well. Even if not contacting me directly, you should always reach out to security@wordpress.org regarding security issues such as this.
Second, the issue has been patched. Please update to the latest version.
Forum: Fixing WordPress
In reply to: post/page editor visual tab always centersFor anyone else who stumbles on this …
Custom themes (and child themes) and things like Thesis skins can apply their own styling to the WYSIWYG text editor within WordPress by applying an editor stylesheet. This feature is provided so a theme can tweak the layout such that what you see in the editor matches the format of what you see on the front-end.
However, sometimes their styles are flat out broken in the admin. You can often remove these editor styles with your own functionality plugin, though. Just be sure you use things like Chrome’s web inspector or Firebug to figure out what’s happening first.
Forum: Fixing WordPress
In reply to: post/page editor visual tab always centersWordPress themes can add an editor stylesheet directly in PHP – not through a user interface. Try inspecting the styles of the misaligned text and see where the rules are coming from.
Forum: Fixing WordPress
In reply to: post/page editor visual tab always centersI would double-check the styling being applied to the text in the editor. It’s formatted as HTML and might have some extra padding applied to paragraphs in the WYSIWYG editor. Sometimes this is done by the theme. Sometimes it’s done by mistake.
Forum: Installing WordPress
In reply to: IP addressesIf these are sites you manage, this is all information you have. There’s no way anyone here will be able to help.
Forum: Plugins
In reply to: [Secure XML-RPC] Confusion about calculating the Authorization headerI would be VERY Careful using that kind of a rule. That rule is setting an environment variable with the data from the Authorization header – which is exactly the flaw Shellshock exposed with User Agent strings (some systems were setting environment variables for
HTTP_USER_AGENTthe same way).Forum: Plugins
In reply to: [Secure XML-RPC] I cannot configure the pluginActually, you can’t configure the plugin that way. It’s specifically a secured XML-RPC layer meant to be used with other systems that require a secured XML-RPC layer. Even if you set up new application keys for Jetpack and WPTouch, they’re using vanilla XML-RPC, not its secured counterpart.
The plugin is hosted on WP.org to allow other developers to build on top of it – it won’t automatically secure new applications unless those application developers take the time to implement its more secure interfaces. Sorry for any confusion.
Forum: Plugins
In reply to: [WP Publication Archive] Summary IncorrectThe plugin is already hosted on GitHub at https://github.com/ericmann/WP-Publication-Archive. I would appreciate if you you forked the repo and contributed your fix back there.
Forum: Plugins
In reply to: [WP Publication Archive] PHP NoticeThe output buffer is a leftover from when we were streaming the file. The fix is to just to delete the line, but should be opened as an issue on https://github.com/ericmann/WP-Publication-Archive so we can fix it in a future release.