Jump to content

Recommended Posts

It explains the issue. It can't display the page(s) because there's no content to display by default. 
I'd do a side by side comparison to see what's different, but guess the problem template may be for a different version of WHMCS?

Link to comment
Share on other sites

I don't understand what is happening, the pwreset.tpl file in the six theme is empty, and the one in the theme I use is with this continuous.

Now I notice that a file named pwresetvalidation.tpl

The theme has not received an update for 2 years, and the author removed the whmcs version from what I noticed. When I bought the theme it had no problems.

 

<div class="logincontainer">

    {include file="$template/includes/pageheader.tpl" title=$LANG.pwreset}

    {if $loggedin}
        {include file="$template/includes/alert.tpl" type="error" msg=$LANG.noPasswordResetWhenLoggedIn textcenter=true}
    {else}
        {if $success}

            {include file="$template/includes/alert.tpl" type="success" msg=$LANG.pwresetvalidationsent textcenter=true}

            <p>{$LANG.pwresetvalidationcheckemail}</p>

        {else}

            {if $errormessage}
                {include file="$template/includes/alert.tpl" type="error" msg=$errormessage textcenter=true}
            {/if}

            {if $securityquestion}

                <p>{$LANG.pwresetsecurityquestionrequired}</p>

                <form method="post" action="pwreset.php"  class="form-stacked">
                    <input type="hidden" name="action" value="reset" />
                    <input type="hidden" name="email" value="{$email}" />

                    <div class="form-group">
                        <label for="inputAnswer">{$securityquestion}</label>
                        <input type="text" name="answer" class="form-control" id="inputAnswer" autofocus>
                    </div>

                    <div class="form-group text-center">
                        <button type="submit" class="btn btn-primary">{$LANG.pwresetsubmit}</button>
                    </div>

                </form>

            {else}

                <p>{$LANG.pwresetemailneeded}</p>

                <form method="post" action="{$systemsslurl}pwreset.php" role="form">
                    <input type="hidden" name="action" value="reset" />

                    <div class="form-group">
                        <label for="inputEmail">{$LANG.loginemail}</label>
                        <input type="email" name="email" class="form-control" id="inputEmail" placeholder="{$LANG.enteremail}" autofocus>
                    </div>

                    <div class="form-group text-center">
                        <button type="submit" class="btn btn-primary">{$LANG.pwresetsubmit}</button>
                    </div>

                </form>

            {/if}

        {/if}
    {/if}

</div>

 

Link to comment
Share on other sites

Try creating a file called "theme.yaml" in your template root (i.e. /whmcs/templates/yourtemplate/theme.yaml) with similar contents:

 

name: "My Custom Theme"
author: "My Custom Theme Author"
config:
  parent: six

See if this helps you to at least serve actual pages when accessed. Then work on updating according to your requirements.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated