CenterWeb Posted February 12 Share Posted February 12 I have problems with some pages that do not display the content. -User Management -Payment Methods -Secundary Accounts Most importantly the password reset page https://centerweb.ro/pwreset.php How can I fix these problems? It is true that the theme used is from 2 years ago and without an update, but I cannot give it up. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12 Share Posted February 12 Does it happen with the default themes from WHMCS? If not, it's your theme. Turn on (briefly) display errors, load the page, see what's breaking. That's where I'd start. 1 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 12 Author Share Posted February 12 Only with this theme I have errors 0 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 12 Author Share Posted February 12 Does that help? System Smarty Error: Default handler: No template default content for 'file:WHMCS-Dark/password-reset-container.tpl' 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12 Share Posted February 12 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? 1 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted February 13 Share Posted February 13 Probably the best place to start is to modify the current template so that it is a child of six template. That should provide the missing .tpl files and you can modify them as desired. 1 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 14 Author Share Posted February 14 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> 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted February 14 Share Posted February 14 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. 1 Quote Link to comment Share on other sites More sharing options...
bear Posted February 14 Share Posted February 14 5 hours ago, CenterWeb said: I don't understand what is happening, the pwreset.tpl file in the six theme is empty This was in 2020. 0 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 14 Author Share Posted February 14 Result> We are aware of a potentially service impacting issue. I also had the above error when I accessed this community. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 14 Share Posted February 14 Seen that also. Hitting resource limits or something like that, I'd venture to guess. Reload usually fixes it. 0 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 14 Author Share Posted February 14 Resources are beyond recommendations. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 14 Share Posted February 14 5 hours ago, CenterWeb said: Resources are beyond recommendations. I don't understand 0 Quote Link to comment Share on other sites More sharing options...
CenterWeb Posted February 15 Author Share Posted February 15 My resources are good. I probably have to pay a developer to solve the problems. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 15 Share Posted February 15 Ah, a misunderstanding. You said you had an error reaching this discussion/"community". I said I had also, and it was likely a result of server/account/software resources falling short. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.