Page 1 of 1
Link in the email is not working
Posted: 18 Jun 2015, 06:59
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.
Re: Link in the email is not working
Posted: 19 Jun 2015, 20:35
by atrol
Are your users able to access the MantisBT login page?
If so, which URL do they use in browser?
Re: Link in the email is not working
Posted: 20 Jun 2015, 06:28
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.
Re: Link in the email is not working
Posted: 20 Jun 2015, 06:31
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.
Re: Link in the email is not working
Posted: 21 Jun 2015, 18:03
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.
Re: Link in the email is not working
Posted: 22 Jun 2015, 05:51
by SameerHasan
Then please guide how to get rid of this issue.
Re: Link in the email is not working
Posted: 22 Jun 2015, 16:38
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.
Re: Link in the email is not working
Posted: 24 Jun 2015, 05:24
by SameerHasan
Thank you Atrol for all your replies.
That issue is fixed now. Anyways, that was not the xampp's issue.
Re: Link in the email is not working
Posted: 05 Jul 2015, 16:33
by bassmonk
Hi Hasan,
I'm also encountering the same issue.
Can you help me on this regards.
Thanks!