I was having both the “Could not successfully run query� error as well as the
Warning: main(/maillist/wpemn_config.php): failed to open stream: .
No such file or directory in /home/globbor/public_html/sunnah/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/globbor/public_html/sunnah/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening '/maillist/wpemn_config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/globbor/public_html/sunnah/wp-content/plugins/wp-email-notification/index.php on line 19
errors that some people were reporting and was able to get both resolved by doing the following:
Backed up entire WordPress folder and database (http://codex.wordpress.org/WordPress_Backups) just in case.
Deactivated the Email notification plugin.
Deleted maillist and wp-email-notification folders.
Dropped the wp_email_list and the wp_email_list_config tables from my WordPress database using phpMyAdmin.
Uploaded maillist folder to the root of my WordPress folder and uploaded wp-email-notification folder to my WordPress plugins folder.
Chmod 666 wpemn_config.php in the maillist folder.
Commented out line 19 in wp-email-notification/index.php :
/* If maillist isn't located at your web root this will need to be changed */
// include ("$DOCUMENT_ROOT/maillist/wpemn_config.php");
Uncommented line 22 of wp-email-notification/index.php:
/* If your maillist directory is located in your wordpress directory, you can use this instead of line 19 */
include (ABSPATH."/maillist/wpemn_config.php");
?>
Ran the install script yoursite.com/your_wordpress_directory/maillist/install.php
Used yoursite.com/your_wordpress_directory as Site URL and Blog URL on install
Activated the plugin and everything was looking good. I’m no PHP programmer so I recommend backing everything up first.You can see it in action on the “Baby Blog� I built for my son – http://loudlove.com/wordpress.