close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email password using pear causing server errors

Thread began 8/06/2012 6:25 am by Base5 Designs | Last modified 8/06/2012 10:59 am by Base5 Designs | 529 views | 2 replies

Base5 Designs

Just an update to where i am at with this problem:

he redirect url generated by the forgotpassword behaviour is adding an & to the url insead of adding a ?
&EmailFail=true
should be
?EmailFail=true
this is why is generating an internal server errror

i am using the framework and all the pages are loaded in via an index.php page

using a $_GET['page'] variable to determine which page to load in.

i am also using an .htacess file to make my urls pretty.

so instead of havinghttp://www.albionwineshippers.co.uk/access/index.php?page=forgotpassword
i have http://www.albionwineshippers.co.uk/access/forgotpassword/

just as a test i edited the webassist/security_assist/helper_php.php page

and change the following lines:

php:
if ($WA_UserFound)  {

            $WA_Auth_Parameter["failRedirect"] = ((strpos($WA_Auth_Parameter["failRedirect"], '?') === false)?"?":"&")."EmailFail=true";
        } else {
            $WA_Auth_Parameter["failRedirect"] = ((strpos($WA_Auth_Parameter["failRedirect"], '?') === false)?"?":"&")."notFound=true";
        }


to:

php:
if ($WA_UserFound)  {

            $WA_Auth_Parameter["failRedirect"] = ((strpos($WA_Auth_Parameter["failRedirect"], '?') === false)?"?":"[red]?[/red]")."EmailFail=true";
        } else {
            $WA_Auth_Parameter["failRedirect"] = ((strpos($WA_Auth_Parameter["failRedirect"], '?') === false)?"?":"[red]?[/red]")."notFound=true";
        }



this fixes the internal server error, but the actual request password still fails (it uses the EmailFail parameter), the email address is in the database (i have checked the record exists) so why its failing i do not know, i can even log-in with it.
this is the next problem to solve.

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...