Webmail script --help me

Discussion in 'PHP' started by mirosoft1, Jan 17, 2008.

  1. #1
    i want some one tell me about Webmail script because i want it to install on the server to make users enter to thier mails
    i want to know this script or download it
    please help me
     
    mirosoft1, Jan 17, 2008 IP
  2. sunnyverma1984

    sunnyverma1984 Well-Known Member

    Messages:
    342
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    120
    #2
    use squirrelmail it free if you are using LAMP
     
    sunnyverma1984, Jan 17, 2008 IP
  3. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    i download it and setup on server but give me this
    ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.
     
    mirosoft1, Jan 17, 2008 IP
  4. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #4
    Check the link in the include or require which ever they used.

    There may be a ../ in there which could throw it off if you are not using the script on the root domain. Common mistake people make, and I call bad programming as you should work out the path in the script to prevent users from getting problems like that.
     
    HuggyStudios, Jan 17, 2008 IP
  5. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    it gives me this error on config file
    Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /config/config.php on line 3147

    Parse error: syntax error, unexpected T_STRING in /config/config.php on line 3147
     
    mirosoft1, Jan 17, 2008 IP
  6. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #6
    And what is line 3147?

    Can you post the code here please? Dont just post that line, post the ones around it aswell.
     
    HuggyStudios, Jan 17, 2008 IP
  7. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #7
    3142 sub save_data {
    3143 $tab = " ";
    3144 if ( open( CF, ">config.php" ) ) {
    3145 print CF "<?php\n?>";
    3146 print CF "\n";
    3147
    3148 print CF "/**\n";
    3149 print CF " * SquirrelMail Configuration File\n";
    print CF " * Created using the configure script, conf.pl\n";
    print CF " */\n";
    print CF "\n";
    print CF "global \$version;\n";

    if ($print_config_version) {
    print CF "\$config_version = '$print_config_version';\n";
    }
     
    mirosoft1, Jan 17, 2008 IP
  8. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #8
    What is the CF deinfed as?

    Add in the script echo CR; exit(0); and let me know what the value is. Place that just above the error line.
     
    HuggyStudios, Jan 17, 2008 IP
  9. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #9
    give me the same error
     
    mirosoft1, Jan 17, 2008 IP
  10. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #10
    Did it not show what CR meant?
     
    HuggyStudios, Jan 17, 2008 IP
  11. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #11
    no it give the same error on the page
     
    mirosoft1, Jan 17, 2008 IP
  12. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #12
    Look this error,

    Parse error: syntax error, unexpected T_STRING in /config/config.php on line 3147

    This is stating that a string has been called when something has not been closed off. You need to let me know what this CR definition is.

    Most likely error is that there is a ; missing at the end of a command. Or it is the way the config is being dynamically created.
     
    HuggyStudios, Jan 17, 2008 IP
  13. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #13
    i want to try other source of webmail but if you try a one working give me the link because i donot know if this source is good or not
    sunnyverma1984 give me this source but i feel it isnot work
     
    mirosoft1, Jan 17, 2008 IP
  14. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #14
    What do you want the script to do?

    You want a complete web mail system with inbox, outbox etc etc?

    Or just something where people can send mails to you on your site, and you can send mails from?
     
    HuggyStudios, Jan 17, 2008 IP
  15. mirosoft1

    mirosoft1 Well-Known Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #15
    i want webmail on my site to allow users enter to thier mails
     
    mirosoft1, Jan 17, 2008 IP
  16. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Is that ?> perhaps your problem?

    I've had problems with those in the past, normally I'd do something like echo '?' . '>'; because otherwise it sometimes thinks it's the end of my PHP code.
     
    SmallPotatoes, Jan 17, 2008 IP