Error when accessing password protected page

Permalink Browser Info Environment
when ever i try to visit a password protected page eg

http://www.intelligentcapital.biz/index.php/passwordrequest/?reques...

i get the following error:

Page Not Found
No page could be found at this address.

Back to Home.

HELP! the add on is insatlled correctly and I can add pages on the left hand bar

Type: Discussion
Status: New
anandkumar98
View Replies:
hanicker replied on at Permalink Reply
hanicker
It seems like if the single page "passwordrequest" has not been installed. Can you check if in dashboard->page and themes->single pages" you can see "passwordrequest" as in this screenshothttp://www.diigo.com/item/image/1gjld/mtp2?size=o... ?

Did you try to reinstall the package?

Regards,
Nick
anandkumar98 replied on at Permalink Reply
anandkumar98
hi passwordrequest is not there in the page you listed?
anandkumar98 replied on at Permalink Reply
anandkumar98
do you know if pretty urls need to be enabled to use your package?

I can see page password on the left hand side of the screen?
hanicker replied on at Permalink Reply
hanicker
Hi, actually this package should support both pretty urls enabled or disabled.

This is a walkaround you can try:

to manually add that page you can add a page as you normally do, with alias "passwordrequest". You may want to exlude it from dashboard through "page properties"

Now install the "simple PHP block" (http://www.concrete5.org/marketplace/addons/simple-php-block/) package, and add a block inside the new page with the following content:

echo '<style type="text/css" media="screen"> 
.page_password_request {
   width:350px;
   margin:0px auto; /* Right and left margin widths set to "auto" */
   text-align:left; /* Counteract to IE5/Win Hack */
   padding:15px;
   border:1px dashed #333;
   background-color:#eee;
   }
</style>
<div class="page_password_request">';
if(isset($_REQUEST['wrongPassword'])){
   echo t('Wrong Password inserted');
}
$form = Loader::helper('form');

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.