Just installed 0.9.3 and I am unable to publish a new post while the plugin is activated.
WordPress displays this message:
“Your attempt to edit this post: “test” has failed.”
Playing with the settings has no impact, and I’ve verified that none of my other plugins are the culprit by deactivating all but Super-Cache.
Also, the cache settings page displays with “Cache rebuild” checked. A mistake or a new default?
I’m seeing a related problem, which just happened after updating to 0.9.3. While it’s letting me post, I’m getting the following error every time I hit publish:
Warning: opendir(/home/content/p/e/r/perrydc/html/wordpress/wp-content/cache/meta/) [function.opendir]: failed to open dir: No such file or directory in /home/content/p/e/r/perrydc/html/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 632
Warning: Cannot modify header information – headers already sent by (output started at /home/content/p/e/r/perrydc/html/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:632) in /home/content/p/e/r/perrydc/html/wordpress/wp-includes/pluggable.php on line 850
…hope this helps to diagnose!
wagerrard – not sure why you see that error message. The cache rebuild is on by default now for new installs as it’s very stable.
perrydc – that’s odd. There should be a meta directory there! Every time? Did you visit the admin page?
Upgraded to the 4/4/09 file. When I try to save or publish a post at first, I get the same exact message as Wagerrard. Even though I post a few lines and WordPress saves the post automatically just fine. However, if I go back to the post, and save or publish, I dont see the same message, it saves/publishes just fine.
This occurs on half on and off settings as well as when cache rebuild is turned off.
It stops if I deactivate the plugin.
I also cant do anything with my referral stats. Pages just load but once I deactivate, the stats charts once again load.
I don’t do this to complain so much as I hope this info leads to a solution. We appreciate your hard work on this plugin, Donncha.
I have the same problem like perrydc every time I save a post or page. It seems as if the post/page is saved correctly in background.
OK, I slapped myself and viewed the source of the error page WP showed me when i tried to post. In there I found this:
“<!– WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! –>
That’s from advanced-cache.php
However, the path in the code is correct. Here it is:
`if( !include_once( ‘/users/home/wagerrard/web/public/wp-content/plugins/wp-super-cache/’ . ‘wp-cache-phase1.php’ ) ) register_shutdown_function( ‘wpcache_broken_message’ );’
If it’s of any use to know, commenting out the line
in wp-admin/post-new.php seems to solve the “Your attempt to edit this post: “test” has failed.” error.
I’ve seen the same issue crop up on first-time saves (though the autosave works correctly in the background, so I lose nothing but maybe the last few characters I’d typed in).
I did have a site move the night before, but inasmuch as the plugin found the new path correctly (and it’s correct in advanced-cache.php), I don’t think that’s the issue.
Whatever is going on, I’m pretty sure it will be fixed in 0.9.4.
i have the same issue as perry
Warning: opendir(/home/stripper/public_html/tvqc.com/wp-content/cache/meta/) [function.opendir]: failed to open dir: No such file or directory in /home/stripper/public_html/tvqc.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 632
Warning: Cannot modify header information – headers already sent by (output started at /home/stripper/public_html/tvqc.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:632) in /home/stripper/public_html/tvqc.com/wp-includes/pluggable.php on line 850
Warning: opendir(/home/catholic/public_html/wp-content/cache/meta/) [function.opendir]: failed to open dir: No such file or directory in /home/catholic/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 632
Warning: Cannot modify header information – headers already sent by (output started at /home/catholic/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:632) in /home/catholic/public_html/wp-includes/pluggable.php on line 850
To stop the opendir warning, you should turn off “Display errors in your php.ini and download this file and copy into your plugins/wp-super-cache/ folder. It will overwrite the one already there.
I have this fixed. Grab the development version from the download page in about 15 minutes from the date of this post (must wait for it to update). Copy the unzipped files into your plugins/wp-super-cache/ folder.
Optionally, or preferably, you should delete wp-content/advanced-cache.php or make wp-content writeable (chmod 777 wp-content is the easiest way) and visit the admin page where a new advanced-cache.php will be generated.
If all works, I’ll release a 0.9.3.1 tomorrow with those fixes.
Current trunk seems to be working just fine, thanks for the fixes.
Donncha, I tweaked the permissions on advanced-cache.php from 644 to 777 and twiddled with the admin page, as well as just deleting the file. I got the same failure to post error I mentioned earlier, claiming that wp-cache-phase1.php isn’t where its supposed to be.
Ditto when I installed the development release.
The posts in question are saved as drafts and will subsequently publish successfully.
For the record, I’ve seen no opendirs messages.
- The topic ‘[Plugin: WP Super Cache] Unable To Post With Version 0.9.3’ is closed to new replies.