exia Posted March 9, 2009 Share Posted March 9, 2009 Hi, I was looking through the files in the /template folder and edited the homepage.tpl. However i didnt actually make any changes. Now when i try and load my website only a blank page comes up? I had a backup of the file and have since restored them and still im not having any luck. The page is http://customers.exia.com.au/tempwhmcs thanks! 0 Quote Link to comment Share on other sites More sharing options...
bear Posted March 9, 2009 Share Posted March 9, 2009 I was looking through the files in the /template folder and edited the homepage.tpl. However i didnt actually make any changes. Which of the two was it, edited or didn't make changes? What did you open it with, and did you upload again afterwards? 0 Quote Link to comment Share on other sites More sharing options...
exia Posted March 9, 2009 Author Share Posted March 9, 2009 i just renamed the file, then renamed it back. I opened it with VIM after it didnt work i restored it from the backup still with no luck. 0 Quote Link to comment Share on other sites More sharing options...
HostOrca Posted March 9, 2009 Share Posted March 9, 2009 Try emptying your template_c folder, and refresh your browser 0 Quote Link to comment Share on other sites More sharing options...
jasonhk Posted March 9, 2009 Share Posted March 9, 2009 Blank output is also caused by script errors, use $display_errors="on"; in your configuration file to see any errors that occur. 0 Quote Link to comment Share on other sites More sharing options...
exia Posted March 9, 2009 Author Share Posted March 9, 2009 hrmm tried both of those. I've spoken to the guy that actually designed our template and we did it in the templates_c folder.. which seems to be for compiling which would kinda explain why it died once I've edited the normal templates folder. I'm thinking ill start from scratch, well i've already got the code for the template i just need to know how to get it into WHMCS. Is there a Wiki tutorial or something someone can link me to so I can read up on this? I had a look at the WHMCS documentation but that wasnt very helpful. Thanks, 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted March 10, 2009 Share Posted March 10, 2009 It's just HTML with a bit of Smarty thrown in. There's nothing to document beyond what's in the wiki to be honest. 0 Quote Link to comment Share on other sites More sharing options...
exia Posted March 10, 2009 Author Share Posted March 10, 2009 hrrm, Thats really odd then. Because at the moment any time I make a change to any of the /templates/ files it just goes blank. Even if i just touch the file to update the the modified date etc. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted March 10, 2009 Share Posted March 10, 2009 You can try emptying the c_template folder and uploading the files again. Just a thought! 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted March 10, 2009 Share Posted March 10, 2009 Just throwing out an idea: open the file in windows notepad and then save it. Then of course upload it 0 Quote Link to comment Share on other sites More sharing options...
exia Posted March 10, 2009 Author Share Posted March 10, 2009 I've already tried clearing the templates_c folder I will try the notepad trick. Cheers, 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 10, 2009 Share Posted March 10, 2009 This may be a good reason for it http://customers.exia.com.au/tempwhmcs and http://customers.exia.com.au are you using the same license key for both installs? 0 Quote Link to comment Share on other sites More sharing options...
exia Posted March 10, 2009 Author Share Posted March 10, 2009 We were using a trial one while we were demoing, however after we realised that we can force the template from the URL we realised we could dev on our live version. It still doesn't work on our live one unfortunately. However we may have a solutions, it turns out that for some reason the site was done in the customer_c version so we are going to take a backup and try redoing it as a proper template in our live one. 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.