Description of problem: wp-mail.php fails with : PHP Warning: require_once(/usr/share/wordpress/wp-includes/class-pop3.php): failed to open stream: No such file or directory in /usr/share/wordpress/wp-mail.php on line 20 PHP Fatal error: require_once(): Failed opening required '/usr/share/wordpress/wp-includes/class-pop3.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/wordpress/wp-mail.php on line 20 Version-Release number of selected component (if applicable): wordpress-3.5-3.fc18.noarch How reproducible: 100% Steps to Reproduce: 1. install fedora 18 64-bit 2. install wordpress from default repo 3. run the wp-mail.php script Actual results: script fails Expected results: script should run "Post via e-mail" function (http://codex.wordpress.org/Post_to_y...og_using_email) Additional info:
Is php-PHPMailer ? (should be pulled by dependency) Haven't you, in /usr/share/wordpress/wp-includes/ ? class-phpmailer.php -> /usr/share/php/PHPMailer/class.phpmailer.php class-pop3.php -> /usr/share/php/PHPMailer/class.pop3.php class-smtp.php -> /usr/share/php/PHPMailer/class.smtp.php
php-PHPMailer-5.2.2-1.fc18.noarch is installed but i don't have the symbolic links. how should they have been created ?
The symbolic links are include in the package... hum... please rpm --query wordpress rpm --verify wordpress
Hmmm.. seems the build is broken I don't understand why the package still contains the broken link /usr/share/wordpress/wp-includes/*php While this is fixed in -3 release... In all case the next build (3.5.1 for security) will fix this.
thanks for confirming.
@mcepl : seems there is a git merge problem $ diff wordpress-3.5-3.fc18.src/wordpress.spec wordpress-3.5-3.fc19.src/wordpress.spec 118,121d117 < # Remove bundled PHPMailer and link to system one < rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-{phpmailer,smtp,pop3}.php < ln -sf /usr/share/php/PHPMailer/*php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/ < I will try to update (3.5.1) and sync branch later today.
wordpress-3.5.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/wordpress-3.5.1-1.fc18
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Package wordpress-3.5.1-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing wordpress-3.5.1-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1774/wordpress-3.5.1-1.fc18 then log in and leave karma (feedback).
have updated the package as requested. running the wp-mail.php script now throws the following error : PHP Fatal error: Call to undefined method POP3::user() in /usr/share/wordpress/wp-mail.php on line 39
wordpress-3.5.1-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
as per comment #10, although the package now includes the symbolic links, the wp-mail.php script fails. i don't really know php so some of the terms i'm about to use may be incorrect but, this appears to be because there is no function called "user" in the POP3 class of the file linked to from the php-PHPMailer package. having looked at the files i took a guess and changed the call in wp-mail.php from POP3->user to POP3>login. the script now runs but throws a : Server reported an error: -ERR Authentication failed. error even though i know the credentials are correct (tested via telnet).
Found: pop3 class is not the one from PHPMailer, but another from SquirrelMail. Currently building 3.5.1-2 which fixes fix issue.
wordpress-3.5.1-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/wordpress-3.5.1-2.fc18
wordpress-3.5.1-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/wordpress-3.5.1-2.fc17
Package wordpress-3.5.1-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing wordpress-3.5.1-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2343/wordpress-3.5.1-2.fc17 then log in and leave karma (feedback).
i can confirm that the latest updates has resolved the problems for me and the "Post via e-mail" function is working again. i can't say i understand why the class-pop3.php file has had to be taken from squirrelmail when wordpress supplies this file natively.
wordpress-3.5.1-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
wordpress-3.5.1-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.