close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Why does Universal Email redirects to my login page?

Thread began 5/31/2013 10:44 am by danny405167 | Last modified 5/31/2013 1:44 pm by danny405167 | 3154 views | 12 replies |

danny405167

Why does Universal Email redirects to my login page?

I have a page named iron.php that contains the following:
3 static plugins - A login popup, Main nav bar, and a repeating table
1 email form that lets users attach a file to the email.

I have been trying to figure why does UE redirects me to (http://www.buildersfence.com/myLogin/logon.php?failedLogin=1) asking for me to enter my user name and password. I have moved Framework plugins code from the bottom to the top to prevent UE from redirecting me to the logon.php page but I got the same result; it redirected me to the logon.php page. Then when I added the following code <?php
error_reporting(E_ALL);
ini_set('display_errors','on');
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
var_dump($_FILES);
}
?>
I got the following error message

Warning: Cannot modify header information - headers already sent by (output started at /services/webpages/b/u/buildersfence.com/public/iron/iron.php:5) in /services/webpages/b/u/buildersfence.com/public/webassist/security_assist/helper_php.php on line 62

From past experience I notice that this error message is caused when the page has unnecessary blank spaces but I have never had it for the helper_php.php. I then decided to removed the login popup plugin and the page stopped from redirecting me to my logon.php page.

I need the iron.php page to have the login popup plugin and the email form.

The page is at buildersfence.com/iron/iron.php.
I am emailing the iron.php form.

PS: The email form works. I am able to receive emails with attachments

Attached Files
iron.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the error is happening because of this code which is writting the files array tothe page:
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
var_dump($_FILES);
}

remove that.

The redirect is probably happening because the authenticate user server behavior in the login plugin page is set to trigger on any form post.

edit the authenticate user behavior, and set the trigger to happen on the login button being pressed.

Sign in to reply to this post

danny405167

I am still being redirected to my logon.php page

I removed the code but I still get the logon.php page.
Is not that because I had the trigger to Button: ironFormButton pressed before I posted the tread.

Sign in to reply to this post

Jason ByrnesWebAssist

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

Sign in to reply to this post

danny405167

This post has been deleted.

Jason ByrnesWebAssist

Originally Said By: danny405167
    
Sign in to reply to this post

danny405167

This post has been deleted.

Jason ByrnesWebAssist

Originally Said By: danny405167
    
Sign in to reply to this post

danny405167

Originally Said By: Jason Byrnes
    
Sign in to reply to this post

Jason ByrnesWebAssist

like i have said previously, on the myLogin/Login.php page, the Authernticate user behavior is set to trigger on Any Form Post.

Edit the authenticate user behavior on the myLogin/Login.php page to use the LogIn_submit button pressed trigger instead of any form post.

Sign in to reply to this post
loading

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