Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 01:39 am EST
Geeklog Forums
Fatal error: Call to undefined function: isvalidinetaddress()
Status: offline
oxtan
Forum User
Newbie
Registered: 04/28/04
Posts: 2
Hi all,
After using this CMS for 2 years in several servers I have encountered an annoying problem. As you can see in the subject, I cannot send e-mail. Well, to be more precise, I cannot send some messages.
I have been checking the phorum and I've seen that more people have had this problem. Mine is a bit different though. Let me try to elaborate.
The GL version I am having trouble with is 1.3.9. This is running on an debian woody with a php version: 4.1.2 (this could in fact be the problem, I see that 4.3 is a bit of a standar nowadays). In order to send email, GL 1.3.9 uses pear. So I installed the php4-pear package for my distribution. I use sendmail as method of sending email in config.php. The relevant lines are:
$_CONF['have_pear'] = false;
$_CONF['path_pear'] = $_CONF['/path/to/'] . 'pear/';
Now, when I send a message to a friend with the link to an article, it works. If I send an email to another user from the Mail Users block, it works as well. But if I try to create a new user, be it from the main page or from the admin panel, I get the error on the subject line.
It puzzles me. Any ideas?
After using this CMS for 2 years in several servers I have encountered an annoying problem. As you can see in the subject, I cannot send e-mail. Well, to be more precise, I cannot send some messages.
I have been checking the phorum and I've seen that more people have had this problem. Mine is a bit different though. Let me try to elaborate.
The GL version I am having trouble with is 1.3.9. This is running on an debian woody with a php version: 4.1.2 (this could in fact be the problem, I see that 4.3 is a bit of a standar nowadays). In order to send email, GL 1.3.9 uses pear. So I installed the php4-pear package for my distribution. I use sendmail as method of sending email in config.php. The relevant lines are:
Text Formatted Code
$_CONF['have_pear'] = false;
$_CONF['path_pear'] = $_CONF['/path/to/'] . 'pear/';
Now, when I send a message to a friend with the link to an article, it works. If I send an email to another user from the Mail Users block, it works as well. But if I try to create a new user, be it from the main page or from the admin panel, I get the error on the subject line.
It puzzles me. Any ideas?
10
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As the name suggests, "isvalidinetaddress" is a function that checks for the validity of an email address. So the problem is that when you create a new user account, it fails to check that user's email address and therefore, they don't get an email (because the error occurs before Geeklog even attempts to send out the email).
Since you've installed PEAR on your server, have you tried setting
$_CONF['have_pear'] = true;
bye, Dirk
Since you've installed PEAR on your server, have you tried setting
$_CONF['have_pear'] = true;
bye, Dirk
10
8
Quote
Status: offline
oxtan
Forum User
Newbie
Registered: 04/28/04
Posts: 2
Since you've installed PEAR on your server, have you tried setting
$_CONF['have_pear'] = true;
Certainly, Dirk, I have been playing around with the variables in config.php before posting here.
Before finishing the post I tried again uninstalling pear (for the 2nd time, the 1st one did not solve the problem, and now it works 80. The reason why i installed it in the first place was because I could not send email at all. Then I could send some and now I uninstall it and can send everything again. I am going to check my log in the RCS just in case I am overlooking something.
Greetings,
Oxtan
Thanks for your input.
8
8
Quote
All times are EST. The time is now 01:39 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content