Zen Cart Logo

Template Problem

Views: 1,841

Results 1 to 20 of 24
17 Jan 2011, 9:19 PM
#1
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Template Problem

I just downloaded the free Patriot template from the site and followed the steps below, but when I went to pull the new template up in the admin_tools it is not there. Any suggestions on what I did wrong? Thank you!

NSTALLATION:

Unzip the Package and

  1. upload the "additions_to_.htaccess" file to your zen-cart home directory
  2. upload the entire contents of the includes folder to your server.
  3. In your admin panel, go to admin -_ tools -_ template selection, click the edit button, choose the template from the dropdown menu and click update.
  4. Now go to admin -_ tools -_ layout boxes controller, Scroll down to the bottom of the screen and click the reset button.
  5. Open your site in your browser and view the new template in action.
17 Jan 2011, 9:30 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Template Problem

Look at your /includes/templates folder and do you see the template in there?

17 Jan 2011, 9:35 PM
#3
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

it is there

17 Jan 2011, 9:36 PM
#4
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

It is there

17 Jan 2011, 9:37 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Template Problem

inside of it is there a template_info.php file?

17 Jan 2011, 9:38 PM
#6
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

yes that file is there

17 Jan 2011, 9:42 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Template Problem

So you have this as a structure?

/includes
        /templates
                /classic
                /the new template name
                /tmeplate_default

If so, check that in the new template that no files are "0" byte in size

17 Jan 2011, 9:44 PM
#8
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

No it is
includes/templates/patriot

nothing in the patriot template is 0 bytes

Do I have it loaded in the wrong area? There is not a choice of classic in the zen_admin under includes

17 Jan 2011, 10:02 PM
#9
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

I have it in the correct directory now, and I was able to pick it from the template selection, but when I reset it and go to my website it is still classic green. I am still doing something wrong.

17 Jan 2011, 10:18 PM
#10
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

I was able to get the new template working. For some reason it kept defaulting to the classic view. Now the problem is that all my information is gone. It displays the background and header box, but the body of the website is missing. I am sooooo lost!!!!

18 Jan 2011, 8:25 AM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Template Problem

All the things you are stating are not making any sense

No it is
includes/templates/patriot
I have it in the correct directory now
What you stated was the correct directory
So where did you move it to?
Now the problem is that all my information is gone. It displays the background and header box, but the body of the website is missing.
Blank and partially blank pages issues
https://www.zen-cart.com/tutorials/index.php?article=82

18 Jan 2011, 3:59 PM
#12
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

Sorry I am not speaking your "language" I am very new to this and to this type of information. I am doing the best I can with limited knowledge.

I moved the template to what you had listed in your thread-You specifically asked if it was located here:

/includes
/templates
/classic
/the new template name
/tmeplate_default

I sent back to you no, it is not-meaning it was not loacted there when I looked. I had it under

/includes
/templates
/patriot

I had put it in the zen_cart admin folder instead of the the includes folder. After I moved the template to what you had listed, I was able to select it from the dropdown in the template selection. Now the problem is that the template background is there, but my pages are not. I hope this makes more sense for you.

18 Jan 2011, 5:26 PM
#13
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Template Problem

llmstar:

I moved the template to what you had listed in your thread-You specifically asked if it was located here:

/includes
/templates
/classic
/the new template name
/tmeplate_default

I believe you misunderstood kobra's question, he meant that in the folder called templates you should see the 3 folders:
classic
template_default
patriot

Basically you had it correct when you say

I had it under

/includes
/templates
/patriot

Starting over from zero:

your new template (patriot) should be in the folder named templates.

Maybe you are trying to have it under another language.

18 Jan 2011, 5:36 PM
#14
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

I did undedrstand him and I moved the new template (patriot). It is now under templates with classic and template_default.

That part is correct now, but the template only shows the background and part of the header. I have looked at the error log and I have a fatal error pertaining to this template. It is there about 14 or 15 times in the log, but it is the same error in each folder. I looked at the FAQ and there is nothing similar to this I can find to fix it. The error is:

[17-Jan-2011 14:10:39] PHP Warning: require_once(includes/classes/categories_ul_generator.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/username/public_html/includes/templates/Patriot/common/tpl_drop_menu.php on line 43
[17-Jan-2011 14:10:39] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/classes/categories_ul_generator.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/includes/templates/Patriot/common/tpl_drop_menu.php on line 43

I tried to go in and add this correction to line 43, but it didn't change anything ( I probably made it worse). I then just tried reloading it and the same thing happened.

I think I am about to throw in the towel on this and try something else. I am in over my head. It just makes me mad becasue I have made it this far figuring everything out and wasted alot of time, but I can't spend this much time each day on these types of issues.

Thank you for trying to help!

18 Jan 2011, 6:03 PM
#15
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Template Problem

llmstar:

I did undedrstand him and I moved the new template (patriot). It is now under templates with classic and template_default.

That part is correct now, but the template only shows the background and part of the header. I have looked at the error log and I have a fatal error pertaining to this template. It is there about 14 or 15 times in the log, but it is the same error in each folder. I looked at the FAQ and there is nothing similar to this I can find to fix it. The error is:

[17-Jan-2011 14:10:39] PHP Warning: require_once(includes/classes/categories_ul_generator.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/username/public_html/includes/templates/Patriot/common/tpl_drop_menu.php on line 43
[17-Jan-2011 14:10:39] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/classes/categories_ul_generator.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/includes/templates/Patriot/common/tpl_drop_menu.php on line 43

I tried to go in and add this correction to line 43, but it didn't change anything ( I probably made it worse). I then just tried reloading it and the same thing happened.

I think I am about to throw in the towel on this and try something else. I am in over my head. It just makes me mad becasue I have made it this far figuring everything out and wasted alot of time, but I can't spend this much time each day on these types of issues.

Thank you for trying to help!

on your server check includes/classes and see if ( categories_ul_generator.php ) is located in that folder.

if not, unzip the patriot template package

locate the includes/classes folder and upload the categories_ul_generator.php file to your server

18 Jan 2011, 6:10 PM
#16
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

I checked includes/classes and ( categories_ul_generator.php ) is located in that folder.

18 Jan 2011, 6:31 PM
#17
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Template Problem

llmstar:

I checked includes/classes and ( categories_ul_generator.php ) is located in that folder.

Just to cover all bases:

on your server how do you have the template folders named

patriot or Patriot

18 Jan 2011, 6:32 PM
#18
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

Patriot

18 Jan 2011, 7:19 PM
#19
llmstar avatar

llmstar

New Zenner

Join Date:
Jan 2011
Posts:
24
Plugin Contributions:
0

Re: Template Problem

New error in log referring to Patriot template

[18-Jan-2011 08:15:58] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/username/public_html/includes/templates/Patriot/common/tpl_drop_menu.php on line 44

18 Jan 2011, 9:07 PM
#20
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Template Problem

In the download area there is listed a support thread for this template where you should have posted initially after reading others posts to see if another had this issue and if there was a solution

http://www.zen-cart.com/forum/showthread.php?p=736658#post736658