Forums / Templates, Stylesheets, Page Layout / my overrides not activating

my overrides not activating

Views: 1,634

Results 1 to 13 of 13
21 Nov 2013, 8:18 PM
#1
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

my overrides not activating

I have moved my zen cart store to a new server. In doing so, I reinstalled zen cart to the new server. When I uploaded my custom template files and selected the template through admin, the default template still shows. The source code revealed that my custom template files are not being used instead of the default files. What is going on?

21 Nov 2013, 8:31 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: my overrides not activating

claybuddies:

I have moved my zen cart store to a new server. In doing so, I reinstalled zen cart to the new server. When I uploaded my custom template files and selected the template through admin, the default template still shows. The source code revealed that my custom template files are not being used instead of the default files. What is going on?
Followed the direction of the applicable FAQ? Updated the configure.php files?
Sure things were loaded to the correct directory(ies)?

What do you mean that looking at the source code revealed that the overrides are not being used?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Nov 2013, 8:39 PM
#3
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

I mean that when I looked at the source code of my web page using the view source code feature on my web browser, I saw that none of my css files from my custom template were being used. Thanks for replying.

21 Nov 2013, 8:44 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: my overrides not activating

claybuddies:

I mean that when I looked at the source code of my web page using the view source code feature on my web browser, I saw that none of my css files from my custom template were being used. Thanks for replying.

No problem, thanks for the clarification. If you weren't seeing your new template, I would expect that you wouldn't see the CSS either.

The document I was referring to was: http://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Nov 2013, 9:25 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: my overrides not activating

You say you selected your custom template in admin. Did you also go to Tools > Layout Boxes Controller and hit "reset"? In view source, is the custom template folder in the path to any files? Is /classic/ in any file paths? Are you seeing the default Classic template, or an odd brightly colored flat looking page?

21 Nov 2013, 9:56 PM
#6
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

Yes gjh42, I am seeing the classic default template. And /template_default/ is showing in my file paths.

21 Nov 2013, 9:57 PM
#7
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

I did research the layout box controls.

21 Nov 2013, 9:57 PM
#8
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

I mean reset

21 Nov 2013, 10:15 PM
#9
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: my overrides not activating

claybuddies:

Yes gjh42, I am seeing the classic default template. And /template_default/ is showing in my file paths.

When this happened to me in the past, I needed to turn the classic green template on, then select my custom template (after completing the configure.php file checks listed above.)
Admin -> Tools-> Template Selection -> Edit
Select the Classic template -> Update
Check the site again.
Then go back select your custom template.

When that doesn't work, look on your remote server directly to see if the files really are on the server where the override system can see them.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

22 Nov 2013, 4:12 AM
#10
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

I reinstalled everything and now when I select my custom template a warning message is displayed. The message says, "Warning: an error has occurred, please refresh the page and try again. "

4 Dec 2013, 3:13 PM
#12
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: my overrides not activating

Sounds like a buggy custom template. If the classic template works check your debugging records to see the file(s) that are causing this error.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

6 Dec 2013, 12:22 PM
#13
claybuddies avatar

claybuddies

New Zenner

Join Date:
Dec 2012
Posts:
7
Plugin Contributions:
0

Re: my overrides not activating

I saw what the problem was. There was a file in my overrides folder that for some reason was causing zen cart to not display my templates. Thanks for all of your help.