Sheldon
Forum Replies Created
-
rchadgray, look in your plugins folder for any suspicious looking plugins that you didn’t install. I had this happen to one of my sites where a bad file kept appearing in the docroot of the site. I’d remove it and it’d appear immediately again. It turns out that one of the plugins was the culprit. It was creating the bad file.
Forum: Plugins
In reply to: [uCan Post] [Plugin: uCan Post] image uploads don't workThe WYSIWYG permission has to be set to true in order for image uploads to work with this plugin, but it’s probably not the kind of image upload field that you’re thinking of. It’s that funny “Gallery Browser” sort of image addition utility that’s in the WP Admin.
In terms of usability, the image upload isn’t useful.
I did some investigating to see where things were breaking down and it appears that in the class_metabox.php file where we see this:
$content = ''; foreach( $this->get_meta_boxes($post->post_type) as $meta_box) { $content .= $this->do_meta_box( $meta_box ); } $this->do_tab( 'general', 'General', $content );
The $post->post_type is coming back empty. Again, this is not happening 100% of the time. It happens most of the time, but not every single time the edit page is loaded. When the issue doesn’t happen and the WordPress SEO fields are populated with its previous entry, $post-post_type is fully populated.
Ok, I just did some more testing on this and it appears that the issue is somewhat intermittent in my case. If I keep reloading my edit page, the SEO Fields appear sometimes and doesn’t appear at other times. More often than not, they don’t appear, but if I keep reloading the edit screen, the fields get populated eventually with what I entered last time.
I also found an older version of the site that was hiding on the same server that was having problems and it works fine in that version of the site. I installed the same plugins into that older version of the site and it worked fine.
To rule out the influence of plugins, I installed a fresh version of WordPress and enabled WordPress SEO by Yoast on it and this fresh site that was just WP 3.2.1 and the plugin 1.1.2 also had the problem with the disappearing field value. An upgrade to WP 3.3 changed nothing.
I’m having a similar issue with the Yoast SEO plugin except it’s not just the SEO Title that’s disappearing. All of my WordPress SEO fields are disappearing. It appears that the entries are indeed being saved initially because I’m able to find them in the database after I edit my SEO Plugin fields for a post.
The problem is that the next time I edit that post, the fields come up blank so if I save my edits, it blanks out whatever was saved into the database the first time. This is a problem with retrieval of the previously saved entries.
What makes this even more bewildering is that I’ve got this installed on three different environments and it works in two of them, but not one of them. The one that it fails on is unfortunately the one that matters the most. The difference that jumps out at me the most between the three servers is that two of them are running PHP 5.2.17 and the one that’s not working properly is running 5.2.6 with the suhosin hardened PHP module enabled.
I’m using WordPress 3.2.1 and the 1.1.2 version of the plugin. I apologize for not being able to provide any more helpful details. I’m hoping that someone else ran into this same issue and can tell me what they did in their case to resolve the problem.
Forum: Fixing WordPress
In reply to: Widgets disappear from admin after manual upgradeOk, I figured out what was going on.
2mooses, if you’re having the exact same problem I’m having then you need to turn off zend.ze1_compatibility_mode in your php.ini settings. This is the setting that allows your hosting to be (semi) backward compatible with PHP4, but it causes problems for some PHP5 scripts.
Forum: Fixing WordPress
In reply to: Widgets disappear from admin after manual upgradeI’m experiencing all the same issues as 2mooses. I have a WP install that was fine before the upgrade to 3.2.1 and after the upgrade, all but two widgets disappeared from my Widgets menu. I only see “MB – Featured Post” and “MB – User Login” now.
I only have one plugin installed. I have a Facebook Comments plugin. I’ve tried the usuals. I disabled my sole plugin and reverted back to Twentyten. I tried other themes too. All had the same result. My widgets seem to be gone.