Viewfinder Design Support Forum » Downloads

error for mail list

(3 posts)
  • Started 3 years ago by portopong
  • Latest reply from Roger
  • This topic is not a support question

  1. first off - cool program - love it - small glitch or better - have a button for the delayed_send.php page - cuz some of us dont know how to do the cron thing.

    - next - the error message comes up when i run delayed_send.php - but it seems to work? suggestions?

    Warning: Missing argument 2 for replace_tags() in E:\hshome\piscitel\portopong.com\emailer\common\functions.php on line 74

    Warning: Missing argument 3 for replace_tags() in E:\hshome\piscitel\portopong.com\emailer\common\functions.php on line 74

    Warning: Missing argument 4 for replace_tags() in E:\hshome\piscitel\portopong.com\emailer\common\functions.php on line 74

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\hshome\piscitel\portopong.com\emailer\common\functions.php on line 18

    Posted: 2007-08-25 19:18:16 #
  2. Roger
    Member

    I have the same error, and tags firstname, lastname are always replaced with "Subscriber"

    Did you find an issue ?

    Posted: 2007-09-23 16:23:22 #
  3. Roger
    Member

    I found a way to get over this.
    in functions.php file, for the function send_mail, I replaced the line

    $mail->Body = replace_tags(stripslashes($newsletterrow['plaintext']));

    by

    $mail->Body = replace_tags(stripslashes($newsletterrow['plaintext']),$subid,$newsletterid,$test);

    it seems that for text email ( witch was my usage ), the subid was not passed to the replace_tags function.

    Posted: 2007-09-23 18:42:56 #

RSS feed for this topic

Reply

You must login to post.