Forum for discussing general topics related to Couch.
20 posts Page 2 of 2
I am using templates provided in member folder only.
But when i fill all details in register.php form and click submit it shows

ERROR: Tag "db_persist" - _masterpage does not exist

(It was working fine when i tested it with xampp(localhost).
Please check 'addons/member/config.php' for the following highlighted value -
// Names of the required templates
$t['members_tpl'] = 'members/index.php';

Are you sure the template you've set there ('members/index.php' by default) is registered?
I.e., you have visited the template through browser as super-admin and now that template is visible in the admin-panel's sidebar? Can you confirm that if this is so, you can create cloned pages out of that template manually?

Please verify and let me know.
$t['members_tpl'] = 'members/index/index.php';
$t['login_tpl'] = 'members/login/login.php';
$t['lost_password_tpl'] = 'members/lost-password/lost-password.php';
$t['registration_tpl'] = 'members/register/register.php';



I have changed the folders of all templates, so i updated this in addons/members/config.php
$t['members_tpl'] = 'members/index/index.php';
Ok, so can you see the highlighted template is admin sidebar? Can you create cloned pages out of it?
I think it shows in the admin panel.
I have attached a screenshot.

And i added a clone by clicking "ADD NEW"

Attachments

Can you please grant me FTP+Couch access to your site?
Thanks for the creds.
I had a look and found the following block of code in your registration template -
Code: Select all
<cms:db_persist
    _masterpage = 'register.php'
    _mode = 'create'
>
</cms:db_persist>

And as the error message has been indicating all along - there is no template by the name 'register.php' on your site.

What you do have is 'members/register/register.php' (as seen in the screenshot you posted - a template's name contains the name of the subfolders, if any) but I don't suppose you were trying to create cloned pages out of that template.

I am not sure what that code was supposed to be doing on the template but I removed it and the registration is working fine. Please check.
Thanks a lot!!
Its working fine now.
Please tell me from which file you had to delete the block of code.
And any other changes you had to make
The only file I modified was 'members/register/register.php' and I haven't deleted anything - just commented out (using <cms:ignore> </cms:ignore>).
Can i change activation email which is being sent.
I want to send a HTML email which will contain the activation link
20 posts Page 2 of 2