22, November 2008

access user class activation e-mail problem - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: access user class activation e-mail problem
« previous next »
Pages: [1] Print

Author 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:

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

The correct URL should have been like this:
http://vargaswhistles.com/community/access_user/login.php?ident= Visit through proxy ..... 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
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Apr 22, 2007, 03:12:48 PM »

hi you need to change the pathes inside the db_config file


Last blog : Just a better Internet portal provided by Google
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: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Apr 22, 2007, 04:11:12 PM »



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

hehe I have more of them Cheesy


Last blog : Just a better Internet portal provided by Google
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: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Apr 29, 2007, 08:53:44 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?

sure you can use the smtp server from your internet provider (if this is allowed), you need to change the php.ini file


Last blog : Just a better Internet portal provided by Google
Google dot what?
*
Posts: 2
12 credits
Members referred : 0


« Reply #6 on: Apr 30, 2007, 07:56:08 AM »

Thanks, I'll give it a try.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6429
Tags : access user class e-mail problem URL duplicated Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: access user class activation e-mail problem
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 04:32:46 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.737
Total Topics: 7.651
Total Members: 4.397
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Janai

38 Guests, 7 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.