Welcome to Geeklog Monday, May 20 2013 @ 03:57 AM EDT
|
||||||||
![]() |
Forum Index > Support > Installation Support |
New Topic
|
Post Reply
|
Problem with register in my geeklog site |
|||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
First, i want tell you that my english is very bad because i'm from spain.
i'll try you understand me. My problem: I be using geeklog for about 3 years and always have the same problem. At the momen it never was a problem for me but now it's really a great problem. My users don't recive their passwords when they register in my site. My site don´t send the email. I saw the log and i don't understand it. The log is this: [pear_error: message="mail() returned failure" code=0 mode=return level=notice prefix="" info=""] I work with a debian system. Php 4 and mysql. I don't an expert in unix-linux. Thanks you very much. |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Geeklog supports several methods for sending emails. Looks like the default method is not working for you, so try one of the others: Configuring email
bye, Dirk |
||||||
|
|||||||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
Yes, i see it now but my problem is this:
config.php file tell me: $_CONF['mail_settings'] = array ( 'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp' // sendmail parameters (only needed for 'backend' => 'sendmail' 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', I think my method must be 'mail' but i don't have the file or folder '/usr/bin/sendmail'. May be a problem with my distribution of debian? Linux servidor 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux Thanks for all |
||||||
|
|||||||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
Sorry, i don't need sendmail.
I'll try again but with this configuration the problem exists. may be a problem of the configuration of the php? |
||||||
|
|||||||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
I don't understand it:
when safe_mode is activate on your webserver |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
safe_mode is a feature of PHP. Check your php.ini if you're unsure whether it's on or off.
Did you try SMTP yet? That's often the best method anyway. bye, Dirk |
||||||
|
|||||||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
So, i think i'm crazy now. I change mode to sendmail and another problem was ocurred.
Unfortunately, an error has occurred rendering this page. Please try again I saw the FAQ and i change the 'rootdebug' variable to 'true'. The result was this: An error has occurred: 2 - fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known @ /usr/share/php/Net/Socket.php line 108 array(8) { ["this"]=> &object(net_socket)(13) { ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(10) "PEAR_Error" ["_expected_errors"]=> array(0) { } ["fp"]=> NULL ["blocking"]=> bool(true) ["persistent"]=> bool(false) ["addr"]=> string(16) "smtp.example.com" ["port"]=> int(25) ["timeout"]=> bool(false) ["lineLength"]=> int(2048) } ["addr"]=> string(16) "smtp.example.com" ["port"]=> string(2) "25" ["persistent"]=> bool(false) ["timeout"]=> NULL ["openfunc"]=> string(9) "fsockopen" ["errno"]=> &int(0) ["errstr"]=> &string(0) "" } (This text is only displayed to users in the group 'Root' i see in the files /etc/php4/cli/php.ini and /usr/share/php/Net/Socket.php and... Ufffff It's too much for me. I think i need a bear to see it. Thank Dirk. In an hour a arrive. |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
In both cases (the original problem and this new one) it looks like your PHP install is missing some features. It's possible that the standard PHP install on Debian is very minimal and/or restrictive. You may want to try a Debian forum for help there. It certainly isn't a problem with Geeklog itself.
bye, Dirk |
||||||
|
|||||||
| cesar_d |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 05/15/07 Posts: 6 |
Thanks for all Dirk.
I think the same that you. I'll try it in a debian forum. It has been a pleasure to speak today with you. I will improve my English. Gracias. Adios. |
||||||
|
|||||||
| Content generated in: 1.65 seconds |
|
|
|