Menu

#13 same problem, no error but no record added to DB

open
nobody
None
5
2007-01-31
2007-01-31
Anonymous
No

the script try to send mail but with blank field, postfix log:

postfix/pickup[26285]: 583C55C0B0: uid=48 from=<apache>

postfix/cleanup[26816]: 583C55C0B0: message-id=<20070131093833.583C55C0B0@mailsrv.xxx.it>

postfix/cleanup[26816]: 583C55C0B0: to=<unknown>, relay=cleanup, delay=0, status=bounced (No recipients specified)

postfix/cleanup[26819]: 72A335C0B1: message-id=<20070131093833.72A335C0B1@mailsrv.xxx.it>

postfix/qmgr[25147]: 72A335C0B1: from=<>, size=2033, nrcpt=1 (queue active)

postfix/local[26820]: 72A335C0B1: to=<apache@mailsrv.xxx.it>, relay=local, delay=0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/apache" )

mysql user account with all permission....

any idea??
thanks

mik

Discussion

  • Nobody/Anonymous

    Logged In: NO

    ....when I try to create a new user by insert the email adress: in the table notify I can see a new row with value only in date_field and id, the other blank, in the table passwd nothing compare...

    possible a php version problem??
    thanks

     
  • Kevin

    Kevin - 2008-11-18

    I think there is something missing from the script. It uses variables taken from the POST, but it never declares them.

    Add the following to the top of include.php

    AFTER:
    <?php
    require("lang.php");
    require("config.optional.php");

    ADD:
    foreach($_POST as $key=>$value)
    {
    ${$key} = stripslashes($value);
    }

    foreach($_GET as $key=>$value)
    {
    ${$key} = stripslashes($value);
    }

     

Log in to post a comment.

MongoDB Logo MongoDB