close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

The URL created for the encrypted password email duplicates the domain at the beginning of the string giving a file not found error.

Thread began 4/10/2014 11:44 am by malcolm230194 | Last modified 4/11/2014 11:35 am by malcolm230194 | 315 views | 6 replies |

malcolm230194

The URL created for the encrypted password email duplicates the domain at the beginning of the string giving a file not found error.

This is the beginning of the URL

URL: http://churchkneelers.com/churchkneelers.com/forgotpassword.php?

How can I remove the duplicated domain name before the email is created?

The rest of the string is OK as removing the duplicate leads to the correct page and allows the password to be reset. I'm using Databridge 1.1.9

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the email template please. I cant troubleshoot without seeing the code.

Sign in to reply to this post

malcolm230194

Email template

The email template is attached and is as created by Security Assist, I haven't made any changes

Attached Files
forgotpassword_email1.php
Sign in to reply to this post

Jason ByrnesWebAssist

I miss read the origianl post, i thought this was the verification link after following the double opt in tutorial. Sorry for the confusion

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

malcolm230194

Originally Said By: Jason Byrnes
  I miss read the origianl post, i thought this was the verification link after following the double opt in tutorial. Sorry for the confusion

I'll need to troubleshoot directly, see the private message section.  
Sign in to reply to this post

Jason ByrnesWebAssist

this is a problem on the server that will need to be corrected by the host.

I added the following code to the form legend on the forgot password page:
PHP_SELF: <?php echo($_SERVER["PHP_SELF"]); ?>

the Server PHP_Self variable should return the server relative path to the page:
/forgotpassword.php

but in your case, it is return ing the domain name as well, which it should not do:
/churchkneelers.com/forgotpassword.php


you will need to have the host correct the problem so that the PHP_SELF variable properly returns only the server relative page name

Sign in to reply to this post

malcolm230194

Fix for duplicated domain name

I've solved the problem with a hack but include it here in case anyone else encounters this problem.

The duplicated domain name was caused by cPanel with the full path being shown because of a shared SSL. To fix it I used substr() on $_SERVER["PHP_SELF"] to remove the extra domain.

I also had to edit helper_php.php which is not ideal but got me out of a corner.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...