Secure page won't load
Hi guys, as soon as I add the Secure Page extension to a page it will no longer load if not logged in. If you log in first and go to it it works fine, but it seems it won't redirect at all if not logged in.
Hi guys, as soon as I add the Secure Page extension to a page it will no longer load if not logged in. If you log in first and go to it it works fine, but it seems it won't redirect at all if not logged in.
can you send a copy of the apge please in a zip archive.
it could be a php error occuring, try adding the following code at line 1 to turn error reporting on:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
No errors come up when using that php error code .. but here is the zip file of the page for you. There is nothing unusual about the page at all.
your page is using the virtual() function for including files:
<?php virtual( "/pges/webassist/security_assist/helper_php.php" ); ?>
instead of require once. this will happen if you set the "Create Links Relative To" option in the Dreamweaver site definition to "Site", using "Document" will cause Dreamweaver to use the require_once function.
There are a couple problems with using the virtual function:
1) The virtual function is only avail;able on apache servers.
2) When the virtual function is used, it writes a bit to the document header which generates the Headers Already Sent error on trying to redirect.
I recommend setting the "Create Links Relative To" option Document so that includes will use the require_once() function to prevent these issuers
Thanks, that looked like it worked.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.