Page 1 of 1

New Template - Blank White Screen

Posted: Sun Nov 07, 2021 2:09 pm
by tessthepup
Good afternoon,

I am running the latest version.

I have copied the default template and renamed it. Selected the new template in My Store>Template Selection and when refreshed the screen is blank.

Has anyone come across this or did I miss a step somewhere???

Thanks

Mark

Re: New Template - Blank White Screen

Posted: Sun Nov 07, 2021 2:20 pm
by raiwa
I am running the latest version
You should better tell us the version.

The easiest way for templating would be to use the existing override template.
If you really need to have a different template, copy and rename the override template. Then you need also to rename the class name in:
templates/your_template_name/includes/template.php

In general if you get a blank screen, you should switch error reporting on or check your error log file for details.

Re: New Template - Blank White Screen

Posted: Sun Nov 07, 2021 2:48 pm
by tessthepup
raiwa wrote: Sun Nov 07, 2021 2:20 pm
I am running the latest version
You should better tell us the version.

The easiest way for templating would be to use the existing override template.
If you really need to have a different template, copy and rename the override template. Then you need also to rename the class name in:
templates/your_template_name/includes/template.php

In general if you get a blank screen, you should switch error reporting on or check your error log file for details.
Thank you. I have done that and it is working again.

and the version is 1.0.8.7

Re: New Template - Blank White Screen

Posted: Sun Nov 07, 2021 2:52 pm
by raiwa
Maybe it would be interesting for other users to know what exact you have done. I gave you 2 possible solutions.

Re: New Template - Blank White Screen

Posted: Sun Nov 07, 2021 4:18 pm
by tessthepup
raiwa wrote: Sun Nov 07, 2021 2:52 pm Maybe it would be interesting for other users to know what exact you have done. I gave you 2 possible solutions.
I did as you suggested and used the override folder for now.

I would prefer to have a completely seperate template file which I am going to explore further.