Sublime directory Surf the web anonymous Pagerank Monitor


access user class activation e-mail problem

emtor
Sun 22 April 2007, 01:43 pm GMT +0200
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:

http://vargaswhistles.com/community/access_user/community/access_user/login.php?ident=..... etc.

The correct URL should have been like this:
http://vargaswhistles.com/community/access_user/login.php?ident= ..... etc.

Why does "/community/access_user/" appear twice in the e-mail link URL?

The loginpage can be found here:
http://vargaswhistles.com/community/access_user/login.php

olaf
Sun 22 April 2007, 02:12 pm GMT +0200
hi you need to change the pathes inside the db_config file

emtor
Sun 22 April 2007, 03:02 pm GMT +0200
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  :-)

olaf
Sun 22 April 2007, 03:11 pm GMT +0200


The access user class is one of the very few scripts that actually works,-thank you very much  :-)

hehe I have more of them :D

dj_wpa
Sun 29 April 2007, 12:17 am GMT +0200
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?

olaf
Sun 29 April 2007, 07:53 am GMT +0200
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

dj_wpa
Mon 30 April 2007, 06:56 am GMT +0200
Thanks, I'll give it a try.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional