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