Voitek_Dolinsky
Member
Posted 2 years ago #
I upgraded the Contact Form 7 to the last version: 1.10 and i receiving the following NOT FOUND erros:
wp-content/plugins/admin/wpcf7-admin.js?ver=1.10
wp-content/plugins/admin/admin-stylesheet.css
wp-content/plugins/stylesheet.css
wp-content/plugins/contact-form-7.js?ver=1.10
And is not working. I send a contact but i dont receive e-mails.
the auto upgrade on this plugin has failed for a lot of folks
you will need to manually download the zip, then upload it through the admin interface
or
unzip it and upload the files with your ftp client
tneurauter
Member
Posted 2 years ago #
Several paths seem to be wrong within wp-contact-form-7.php in version 1.10. As a result the above mentioned errors occur, because the mentioned URIs all lack the part "contact-form-7/" after "wp-content/plugins/".
I had troubles with the style-sheets, so I corrected the error in wp-contact-form-7.php temporarily by hand. Hopefully there will be a fix out soon.
cmburnett
Member
Posted 2 years ago #
I'm having the same issue with the stylesheets. They aren't showing up at all. Where and what in the PHP did you actually change to get the stylesheets to work?
tneurauter
Member
Posted 2 years ago #
In wp-contact-form-7.php there exists a function called wpcf7_wp_head(). Within this function I added the missing directory "contact-form-7/" twice, as can be seen from the according snipplet:
function wpcf7_wp_head() {
$stylesheet_url = wpcf7_plugin_url( 'contact-form-7/stylesheet.css' );
echo '<link rel="stylesheet" href="' . $stylesheet_url . '" type="text/css" />';
if ( 'rtl' == get_bloginfo( 'text_direction' ) ) {
$stylesheet_rtl_url = wpcf7_plugin_url( 'contact-form-7/stylesheet-rtl.css' );
echo '<link rel="stylesheet" href="' . $stylesheet_rtl_url . '" type="text/css" />';
}
}
As mentioned before this is just a quick solution as there has to be a more generic and therefore more clean way to fix this. But the author of contact form 7 probably will come up with a solution shortly. At least I do hope so. ;-)
cmburnett
Member
Posted 2 years ago #
Excellent. Thanks for the quick fix. Will do until the author fixes the minor problem. Thanks for the help.
beggers
Member
Posted 2 years ago #
I tried that fix but it looks like there are still other page not found errors still being generated. I've disabled the plugin until we get an official fix.
tneurauter, what version of WordPress are you using? And, tell me what server (Apache? or IIS? on Linux? or on Windows?) are you using, please?
Thanks for good reporting.
I have the same issue, on a new site I just started today. WordPress 2.71, on both localhost (Windows XP, Apache 2.2.3, PHP 5.2.6) and on the live server (Linux, Apache 2.0.52, PHP 5.2.3).
Contact Form 7 v1.9.5.1 is fine on both platforms btw - I have reverted to this version for the moment.
I'm sorry, I found a bug. I have fixed it and released it as Contact Form 7 1.10.0.1. Please update to it. Sorry for this inconvenience.
tneurauter
Member
Posted 2 years ago #
Thanks a lot for the prompt bugfix, takayukister!
Wonderful.
Ive upgraded it..first auto upgrade..then manual trough my http://ftp..but it wont work 100%..i get mail..but no returnmail address is showing :/ what can be wrong?