Page 1 of 1
Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:21 pm
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
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:37 pm
by burt
Configuration → My Store → Template Selection
you might have told us what this is set to ?
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:42 pm
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..
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:49 pm
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.
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:50 pm
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.
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:54 pm
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.
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 4:58 pm
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.
Re: Urgent Issue regarding override template
Posted: Wed Jul 30, 2025 5:25 pm
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
Re: Urgent Issue regarding override template
Posted: Sat Aug 02, 2025 2:58 pm
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