Dtorr1981 Posted June 9, 2016 Share Posted June 9, 2016 Hi All, I am doing some testing on my site before going live, and am currently working out the customer process for setting up an SSL certificate. So... I have purchased the SSL and it is showing in my client area. I then click on it and it gives me the option to 'Configure Now'. The next page asks me fr the CSR which i have generated in Cpanel and pasted in, i have filled in the rest of the details and clicked continue. This page is titled: Certificate Approver Email However, in the list of emails the specific email address i set up 'support@mydomain.co.uk' does not show, the addresses listed are: admin@mydomain.co.uk administrator@mydomain.co.uk hostmaster@mydomain.co.uk postmaster@mydomain.co.uk webmaster@mydomain.co.uk Any ideas? Im guessing these are default addresses which i have not set up? Is this a security feature? Any feedback would be fantastic. Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 9, 2016 Share Posted June 9, 2016 what provisioning module your are testing, is it WHMCS built-in module or custom one? 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 9, 2016 Author Share Posted June 9, 2016 I am having problems replying to this for some reason, this is the 3rd time now....hmm... Anyway, i am using TheSSLSTore for my SSL certs, so am using their module. Apart from that everything else is stock i believe. I did notice that in the product setup i hadn't checked Autoinstall..but i am not sure whether that is just related to the Cpanel AutoInstall module, which is not installed on my server? I just want to try and make it as easy and quick as possible for myself and the customer to set up a basic SSL Cert. Thank you for your support. Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 9, 2016 Share Posted June 9, 2016 AutoInstall https://www.thesslstore.com/autoinstall-ssl.aspx However, in the list of emails the specific email address i set up 'support@mydomain.co.uk' does not show where did you specify this email address, in CSR it self or in WHMCS client account? 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 9, 2016 Author Share Posted June 9, 2016 I am using reeller hosting so i do not have access to install cpanel plugins, i have raised a ticket though to see if it is possible for them to install it for me. The email address 'Support@mydomain.co.uk' is the one set up via Cpanel for the domain. None of the others appear in Cpanel --> Email accounts, as i guess they just redirect to the master account? I'm just trying to figure it all out so i cant document it if necessary. I have only ever installed them through WHM/Cpanel before. Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 9, 2016 Share Posted June 9, 2016 Donna, in The approval email page it should display the email added inside CSR and/or generate list of emails to choose from like the one you get already. 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 9, 2016 Author Share Posted June 9, 2016 I have just recreated the CSR with the email address that i have also created in Cpanel, however it still does not appear in the list to select? There is a radio button at the bottom of the list without a value however so i'm starting to wonder if there is an error retrieving the email address? I dunno, i'm stumped. I could just install it from the back end, but if this happens for the customer its going to be a real pain. This is an addon domain by the way, incase that is related? Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 I have changed the template and still i am having no luck with this one. I have attached a screen shot of the screen. There must be some sort of coding issue with this as there is an empty radio button? Has anyone seen this problem before, or can you advise where i begin to troubleshoot this? Is it a core file or related to my SSL provider module Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 10, 2016 Share Posted June 10, 2016 that image shows six/configuressl-steptwo.tpl - though it's possible some of its values might be being provided by the SSL module. i'd be tempted to do two things... one, throw a {debug} into the end of the template and see what the above array values are and if the the last value is empty. secondly, with the SSL Store module being third-party, it might be worth contacting their support about this. 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 (edited) that image shows six/configuressl-steptwo.tpl - though it's possible some of its values might be being provided by the SSL module. i'd be tempted to do two things... one, throw a {debug} into the end of the template and see what the above array values are and if the the last value is empty. secondly, with the SSL Store module being third-party, it might be worth contacting their support about this. I have sent a support request to the SSL Store as i have tried to update the module to see if thats where the issue lies, but there is an error with the new module when trying to edit a product. I am trying to figure out how the {debug} works? I have added it to my footer.tpl file but im not seeing anything at all on the page? I have never used this function before so i must have missed something? Edit: My popup blocker was blocking the debug. I'm looking into it now. Edit 2: The last value in the array is empty so I am a bit confused as to what is happening. The code from my configuressl-steptwo.tpl file is: {if $errormessage} {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage} {/if} <form class="form-horizontal" method="post" action="{$smarty.server.PHP_SELF}?cert={$cert}&step=3"> {include file="$template/includes/subheader.tpl" title=$LANG.sslcertapproveremail} <p>{$LANG.sslcertapproveremaildetails}</p> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <div class="form-group"> {foreach from=$approveremails item=approveremail key=num} <div class="radio"> <label> <input type="radio" name="approveremail" value="{$approveremail}"{if $num eq 0} checked{/if}> {$approveremail} </label> </div> {/foreach} </div> </div> </div> <p class="text-center"> <input type="submit" value="{$LANG.ordercontinuebutton}" class="btn btn-primary" /> </p> </form> Any ideas where {$approveremail} comes from? Regards Donna Edited June 10, 2016 by Dtorr1981 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 10, 2016 Share Posted June 10, 2016 i'd have added it to the end of six/configuressl-steptwo.tpl as this will be the template that contains the array of email addresses used by the foreach loop. what should happen, when you refresh the page, is it should generate a popup window of all the Smarty arrays/variables available to that page - you'd have to ensure your browser isn't blocking the popup though. 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 The final value in the array is empty, in the debug. I'm hoping i can try and figure out where {$approveremail} is being called from. I'm new to smarty so apologies for being a bit slow. Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 10, 2016 Share Posted June 10, 2016 my suspicion is that it's being generated by the SSLStore module - I can't recall using the module, so I don't know if it's encrypted or not... but assuming that blank radio isn't a bug, one possible conclusion is that there is a comma-separated list of email addresses somewhere that maybe ends in a comma and WHMCS (or module) is interpreting that as a blank option. btw - Smarty is just used on the front of WHMCS... whatever is doing this will almost be certainly written in PHP somewhere. 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 Ok thanks, I did try and look at the SSL Store code but i think it is encrypted. What a pain, i was hoping to tick this off my list today. I'll await a response to my support ticket, hopefully it will get resolved so i can answer this question for anyone who has this problem in the future. Thank you for your help. Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 10, 2016 Share Posted June 10, 2016 $approveremail generated by thesslstore module, I would say the error is module unable to parse the email address correctly from CSR code. maybe SSLStore support can help in this regard, if they didn't I can take a look at it 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 $approveremail generated by thesslstore module, I would say the error is module unable to parse the email address correctly from CSR code. maybe SSLStore support can help in this regard, if they didn't I can take a look at it Hi sentq, I have rasied a support ticket with regards to an error being thrown by the updated module, as when trying to edit an existing product with the latest module i am getting : Fatal error: Cannot redeclare gettokens() in /home10/wwwsitew/public_html/hosting/modules/servers/thesslstorefullv2/thesslstorefullv2.php on line 1816 Unfortunately the code is encrypted in that file so I cannot see what the issue is? Are you familiar with the module? Regardless of which version of the module i activate though, i still see the same behaviour on the front end regarding the email addresses. I have regenerated the CSR a number of times but have still had the same issue. The original version of the SSL module was 1.45 and the version i have just installed is 2.6? It's all very odd. Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 10, 2016 Share Posted June 10, 2016 if it is encrypted so your only chance is SSLStore Support get it fixed 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 10, 2016 Author Share Posted June 10, 2016 if it is encrypted so your only chance is SSLStore Support get it fixed Ok Thank you I'll await their response. 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 14, 2016 Author Share Posted June 14, 2016 As an update, the backend of the module is now working and i am able to update the products in the backend. I had to remove the older version of the module completely and re-install the new version and this rectified the problem. Ok, now back to the original issue, with the new module i cannot even get to the certificate approver email page, as once i hit continue after inserting the generated CSR it get redirected back to the login page? I have passed this back to The SSL Store but am awaiting a response, so i though i would come back here and see if anyone has any suggestions? Best Regards Donna 0 Quote Link to comment Share on other sites More sharing options...
Dtorr1981 Posted June 20, 2016 Author Share Posted June 20, 2016 I am going to open a new thread as the issue has changed, this may still be a problem, but I no longer can access this page. I will re-open this thread once i have resolved the new issue. Regards Donna 0 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.