Zen Cart Logo
Forums / Customization from the Admin / Custom Template not available

Custom Template not available

Locked

Views: 1,569

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 Jan 2007, 8:01 PM
#1
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Custom Template not available

Hi
I recently switched servers for my site, and I'm running into an issue with my custom template. The site is defaulting to the Classic Contemporary Green, which is the only template available in the Template Selection area in Admin>Tools.

The site file structure was copied directly from the old site, so the new template and template_info.php file is where its supposed to be, but I still can't select it... it's not there to select.

Thanks,
Bryan

12 Jan 2007, 8:18 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: Custom Template not available

What are the permissions on the file? A URL?

12 Jan 2007, 8:21 PM
#3
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Custom Template not available

After a bit of monkeying around, now all I am getting is the Contemporary Classic Green template in the classic directory. There is still no choice for my custom template. Before it was looking in my custom directory and only finding the CC Green template.

12 Jan 2007, 8:30 PM
#4
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Custom Template not available

Kim, you are right that its a file permissions issue. I changed the permissions to 777 (from 766) and now I can select the template. But now I am getting more permission errors...

Warning: reset() [function.reset]: Passed variable is not an array or object in /data/12/1/136/143/1136958/user/1207415/htdocs/admin/template_select.php on line 194

Warning: Variable passed to each() is not an array or object in /data/12/1/136/143/1136958/user/1207415/htdocs/admin/template_select.php on line 195

12 Jan 2007, 8:34 PM
#5
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Custom Template not available

Actually, make it these errors:

Warning: main(includes/templates/teach_me/common/html_header.php) [function.main]: failed to open stream: Permission denied in /data/12/1/136/143/1136958/user/1207415/htdocs/index.php on line 43

Fatal error: main() [function.require]: Failed opening required 'includes/templates/teach_me/common/html_header.php' (include_path='.:/usr/services/vux/lib/php') in /data/12/1/136/143/1136958/user/1207415/htdocs/index.php on line 43

12 Jan 2007, 8:59 PM
#6
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Custom Template not available

Ok, I got it all figured out. When I transferred everything over, there were ***many ***permission issues. Lots of folders had no execute permissions...

Thanks for the help, Kim.

8 Feb 2007, 5:29 PM
#7
cna avatar

cna

New Zenner

Join Date:
Feb 2007
Posts:
5
Plugin Contributions:
0

Re: Custom Template not available

I had a similar problem a while back with a different application on my server from a backup that was on a CD.

When I burned the CD, just about all the file permissions were changed. Now when I save backups on a CD, I only save them as one large tar or zip file to preserve the file permissions.