New Template - Blank White Screen

Open to all! Ask other shopowners for help.
Post Reply
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

New Template - Blank White Screen

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: New Template - Blank White Screen

Post 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.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: New Template - Blank White Screen

Post 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
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: New Template - Blank White Screen

Post by raiwa »

Maybe it would be interesting for other users to know what exact you have done. I gave you 2 possible solutions.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
User avatar
tessthepup
Certified Developer
Posts: 382
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: New Template - Blank White Screen

Post 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply