Link in the email is not working

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
SameerHasan
Posts: 5
Joined: 18 Jun 2015, 06:30

Link in the email is not working

Post by SameerHasan »

When I make a new user, a verification mail is sent to the user's registered email address with the path through which a user can open their account and maintain their profile. Now, this link is not working and displaying an HTTP 404 Error. This is an auto generated link which is generated by the application.

The application is installed on the local server & the link is like:
http://localhost/mantis/verify.php?id=2 ... e9c562f7de

How to customize this link? Any other suggestions on how to tackle this problem would be greatly appreciated..

I'm using Mantisbt-1.2.3 and xampp-win32-5.6.3-0-VC11-installer and in installed on the local server.

Many thanks in advance.
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Link in the email is not working

Post by atrol »

Are your users able to access the MantisBT login page?
If so, which URL do they use in browser?
Please use Search before posting and read the Manual
SameerHasan
Posts: 5
Joined: 18 Jun 2015, 06:30

Re: Link in the email is not working

Post by SameerHasan »

Are your users able to access the MantisBT login page?
If so, which URL do they use in browser?

No
I have given this link: $g_path = "http://indiacssi/mantis/";
But it's not working..

I'm using these configuration settings in config_inc.php..
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_allow_signup =ON;
$g_enable_email_notification =ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode ='tls';
$g_smtp_port = 587;
$g_smtp_username = 'my_email';
$g_smtp_password = '*********';
$g_administrator_email = 'my_email';
$g_path = "http://indiacssi/mantis/";
?>

Now the issue is emails are also not working after giving the "$g_path". Before giving the "$g_path" emails are sent.

Please let me know where I am wrong.
SameerHasan
Posts: 5
Joined: 18 Jun 2015, 06:30

Re: Link in the email is not working

Post by SameerHasan »

Are your users able to access the MantisBT login page?
If so, which URL do they use in browser?

No
I have given this link: $g_path = "http://indiacssi/mantis/";
But it's not working..

I'm using these configuration settings in config_inc.php..
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_allow_signup =ON;
$g_enable_email_notification =ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode ='tls';
$g_smtp_port = 587;
$g_smtp_username = 'my_email';
$g_smtp_password = '*********';
$g_administrator_email = 'my_email';
$g_path = "http://indiacssi/mantis/";
?>

Now the issue is emails are also not working after giving the "$g_path". Before giving the "$g_path" emails are sent.

Please let me know where I am wrong.
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Link in the email is not working

Post by atrol »

SameerHasan wrote:Are your users able to access the MantisBT login page?
No
This is the first problem you have to solve. It's not a MantisBT issue but a general issue how to host a web app using XAMPP.
Please use Search before posting and read the Manual
SameerHasan
Posts: 5
Joined: 18 Jun 2015, 06:30

Re: Link in the email is not working

Post by SameerHasan »

Then please guide how to get rid of this issue.
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Link in the email is not working

Post by atrol »

Sorry SameerHasan, I have hardly any time to answer questions that are not related to MantisBT.
Maybe another user of this forum can share his experience.
You could also try to write to the XAMPP forum or any other forum that deals with the basics of web application hosting.
Please use Search before posting and read the Manual
SameerHasan
Posts: 5
Joined: 18 Jun 2015, 06:30

Re: Link in the email is not working

Post by SameerHasan »

Thank you Atrol for all your replies.

That issue is fixed now. Anyways, that was not the xampp's issue.
bassmonk
Posts: 8
Joined: 04 Jul 2015, 15:19

Re: Link in the email is not working

Post by bassmonk »

Hi Hasan,

I'm also encountering the same issue.

Can you help me on this regards.

Thanks!
Post Reply