Topic: access user class activation e-mail problem (Read 927 times)
Atari ST fan
Posts: 8
64 credits Members referred : 0
« on: Apr 22, 2007, 02:43:43 PM »
The class is uploaded to my server host and seems to work, but there is a problem when the newly registered user clicks on the received e-mail to activate the request. The URL in the e-mail is in someway duplicated . . . in other words it appears twice. This is how the link looks in the e-mail sendt by the script:
Atari ST fan
Posts: 8
64 credits Members referred : 0
« Reply #2 on: Apr 22, 2007, 04:02:24 PM »
yes, the problem was to be found in db_config.php
// use this pathes and/or define the pathes for the "standard" pages define("CLASS_PATH", dirname($_SERVER['PHP_SELF'])."/"); // the location where the class is executed $sec_path = "/community/access_user/"; // a second location where the scripts should be define("APPLICATION_PATH", $sec_path);
The error I made was replacing ($_SERVER['PHP_SELF'])."/") with: ($_SERVER['PHP_SELF'])."/community/access_user/")
This made the path to appear twice in the e-mail URL.
I still have a problem with the path for example.php, but I'm sure I'll get it sorted out as soon as I check all the paths in the scripts.
The access user class is one of the very few scripts that actually works,-thank you very much :-)
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
Google dot what?
Posts: 2
12 credits Members referred : 0
« Reply #4 on: Apr 29, 2007, 01:17:07 AM »
I really like what I see so far but can not get e-mail to work. Where are the SMTP server settings? I do not have a SMTP server running on the local host. I would like to be able to configure it to send via a remote host on the network. Can this be done?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
I really like what I see so far but can not get e-mail to work. Where are the SMTP server settings? I do not have a SMTP server running on the local host. I would like to be able to configure it to send via a remote host on the network. Can this be done?
sure you can use the smtp server from your internet provider (if this is allowed), you need to change the php.ini file