Urgent Issue regarding override template

Open to all! Ask other shopowners for help.
Post Reply
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Urgent Issue regarding override template

Post by radhavallabh »

I created a new shop 1.1.0.4 on Xampp Server; Worked very well with override template.
I took it live today php version 7.4, mysql 5.6.5, apache but it does not seem to detect the override template somehow. It keeps falling back to the default template.
I checked all files are uploaded and in place, But still issue prevails..
Can you please guide what may the issue be???

Help shall be deeply appreciated..

Thank you in advance;
Warm Regds./
radhavallabh


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Urgent Issue regarding override template

Post by burt »

Configuration → My Store → Template Selection
you might have told us what this is set to ?
I am not here to build for you.
I am here to build with you. Let's help each other.
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: Urgent Issue regarding override template

Post by radhavallabh »

burt wrote: Wed Jul 30, 2025 4:37 pm Configuration → My Store → Template Selection
you might have told us what this is set to ?
Sorry it is- override
I set it in xampp already.. checked again it is same..
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Urgent Issue regarding override template

Post by burt »

And do you have anything in templates/override/ ?
If nothing overrides, it defaults to whatever files are in /templates/default/

Not ideal names for templates, but we're stuck with them now.
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Urgent Issue regarding override template

Post by burt »

radhavallabh wrote: Wed Jul 30, 2025 4:42 pm I set it in xampp already.. checked again it is same..
Also, what does this mean ?

You should be setting that in your admin area.
Maybe you have some issues in your live database.
I am not here to build for you.
I am here to build with you. Let's help each other.
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: Urgent Issue regarding override template

Post by radhavallabh »

burt wrote: Wed Jul 30, 2025 4:49 pm And do you have anything in templates/override/ ?
If nothing overrides, it defaults to whatever files are in /templates/default/

Not ideal names for templates, but we're stuck with them now.
Yes many files in override , have been using this template for long...

I meant I had set the override in Admin while making the store on xampp, imported the same database to live store.
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Urgent Issue regarding override template

Post by burt »

Don't know. Anything in any error_log's or whatever?

If you want to ZIP up your /override/ template and send to me by PM, I can try to install it on a test shop.
I am not here to build for you.
I am here to build with you. Let's help each other.
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: Urgent Issue regarding override template

Post by radhavallabh »

burt wrote: Wed Jul 30, 2025 4:58 pm Don't know. Anything in any error_log's or whatever?

If you want to ZIP up your /override/ template and send to me by PM, I can try to install it on a test shop.
Nothing found in error logs dear, I just PM you pls check... I tried renaming the default template file to override_template.php too just give it a try......still it did not work on live server...

Thank you for all your help...
Regds./
radhavallabh
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Urgent Issue regarding override template

Post by BrockleyJohn »

If you are going from windows to 'nix you can get issues with the case of filenames and folders.

file.php, File.php and FILE.PHP are all treated as the same on windows (unless under a folder with some special configuration)

while they are all different on flavours of unix

This can lead to all sorts of weird stuff e.g. if the folder in the override template was Components instead of components it would be ignored


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