• Can anyone point me in the right direction on getting this fixed so it will work with wordpress 1.5? After clicking on signup, this is the error I get. (WordPress Email Notification Plugin v2.3.1)

    I would really appreciate anyone’s help!!

    Notice: Undefined index: action in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 18

    Notice: Undefined index: id in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 19

    Notice: Undefined index: addr in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 20

    Warning: mail(): “sendmail_from” not set in php.ini or custom “From:” header missing in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 217

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    The WordPress Email Notification Plugin v2.3.1 is compatible with WordPress v1.5.x. Please make sure that you have installed the plugin properly.

    http://watershedstudio.com/portfolio/software/wp-email-notification.html

    I am also having problems with this plugin. I have installed 2.3.0 with WordPress 2.0.

    I have followed all instructions but I am getting this error on the front page of my blog:
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/servaas/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 369

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/servaas/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 372

    And on the Admin page for this plugin I have the following error report:

    Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/servaas:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/servaas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19

    Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/servaas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19

    Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/servaas:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/servaas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19

    Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/servaas/public_html/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/servaas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19

    And guidance appreciated.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    I have installed 2.3.0 with WordPress 2.0.

    v2.3.1 is the most up-to-date version of that plugin. You may want to try installing that instead. If your problem continues, contact the plugin’s developer and ask him if there are any known problems with his plugin and WordPress v2.0.

    http://watershedstudio.com/portfolio/software/wp-email-notification.html

    I had a look at the developers website, where I have also posted a call for help. It seems there were minimal changes made between 2.3.0 and 2.3.1 so I am not sure that upgrading will help. Also, can you upgrade a broken plugin?

    The alternative is to pgrading is to uninstall 2.3.0 and do a fresh install of 2.3.1. Normally you can just delete the files but with this plugin I had to run install.php on the server, and there is no uninstall.php so how do I uninstall this?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Also, can you upgrade a broken plugin?

    Yes, just follow the developer’s instructions. Open the install.txt file that came with the plugin and read it, starting at “If Upgrading From 2.x.x”.

    OK, I upgraded to 2.3.1 as per the install.txt

    One thing I noticed was that there was no /wp-content/plugins/wp-email-notification/block_reports.php to delete.

    The outcome is that the error in the admin area > manage > email notification is gone, but the error on the front page remains:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/servaas/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 369

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/servaas/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 372

    So, anyone know what makes it an invalid MySQL result?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, in that case, I suggest that you contact the plugin’s developer and ask him if there are any known problems with his plugin and WordPress v2.0.

    Thread Starter pilotjohn

    (@pilotjohn)

    Yes, I installed everything according to the install.txt file. This is the error I still get:

    Notice: Undefined index: action in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 18

    Notice: Undefined index: id in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 19

    Notice: Undefined index: addr in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 20

    Warning: mail(): “sendmail_from” not set in php.ini or custom “From:” header missing in c:\sites\Single20\pupilotboy\webroot\maillist\index.php on line 217

    I have seen where other people get the same error but I haven’t seen an actual way to fix it yet.

    I get the same error only it isn’t right after I finish installing.. it’s also on the header of my blog:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/unchaine/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 369

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/unchaine/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 372

    I’m running WordPress 1.5.1.3 ….

    For other people: make sure your WP and maillist share the same database… That’s part of what caused the error for me.

    I still am dealing with errors and have tried renaming the wp prefix to my normal prefix but no avail. Those are the instructions I followed (found at Watershed Studio Blog) ….

    —-

    The β€œfutureβ€? database for the plugin uses the prefix, but the install creates a database with a β€œwp_β€? prefix. If your prefix is β€œabcdβ€?, you need to either rename wp_email_list_future to abcd_email_list_future, or create a new table:

    CREATE TABLE abcd_email_list_future (
    post_ID bigint( 20 ) NOT NULL default β€˜0β€²,
    post_date char( 12 ) NOT NULL default β€˜0β€²,
    notification_sent char( 1 ) NOT NULL default β€˜β€™,
    PRIMARY KEY ( post_ID )
    ) TYPE = MYISAM

    Whatever. I give up.

    I’m using Skippy’s Subscribe2 plugin instead, since it works better for me and is way more customizable.

    Thanks for the link Chelsea. I have followed your lead and installed Skippys plugin instead.

    It was much eassier for me to configure (no database knowledge required) and is working great.

    Hello,

    I’m a beginner.
    I’m trying to install “email notification 2.3.1.” and i have some problems.

    – I would like to know exactly between what i have to insert this line:
    <?php email_notification_future_send(); ?>

    – And I don’t know how to work with this step:

    3. Upload these files, but

    *** DO NOT UPLOAD wpemn_config.php ***

    And if you’ve customized your HTML e-mail template
    *** DO NOT UPLOAD email_template.html ***

    yoursite.com/maillist/index.php
    yoursite.com/maillist/upgrade.php

    How can I do this? I dont know if i’ve customized my HTML e-mail template, and do i have to copy “maillist” in the same location of “wp-includes, wp-admin and wp-content”?

    – I have v2.3.1. Do I have to follow the step in this case?

    4. Run the upgrade script (not necessary for 2.3.0)…

    yoursite.com/maillist/upgrade.php

    Thank you very much.

    Valerio

    Ok, I figured out the problem. The function you are supposed to insert into your template header, “email_notification_future_send()” calls a function in email_notification.2.3.php which tries to use the WordPress global $table_prefix to access the wp_email_list_future table. However, $table_prefix includes your blog’s prefix (if you installed the blog with one) so my table (created by the email notifier) was wp_email_list_future but the $table_prefix directive was wp_myblog_ so it tries to access the table wp_myblog_email_list_future which does not exist. To fix this, simply rename the wp_email_list_future table to wp_YOURBLOGPREFIX_email_list_future and it should work great. (If you’re not sure what your blog prefix is, it’s the prefix that is used in all of the other tables for your blog).

    Fowie

    Sorry for being dumb, but where would I find my “template header file” and where in that file should I put this line:

    8. In your template header file, add this line…

    <?php email_notification_future_send(); ?>

    I have grepped through the whole of wordpress and there are no files called anything resembling “template header” as far as I can see.

    Please help because this has been bugging me for weeks now!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘WordPress Email Notification Plugin v2.3.1 Error’ is closed to new replies.