Zen Cart Logo
Forums / Addon Templates / Broken my new zencart store : Template problem!

Broken my new zencart store : Template problem!

Locked

Views: 731

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Jul 2009, 8:35 AM
#1
lizardplanet avatar

lizardplanet

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Broken my new zencart store : Template problem!

Hello Guys!

I am new to zen cart, and have limited web experiance.

Not a great first line to a first post but there you go!

I am learning why it isnt a good idea to stay up til 1 am tinkering with your site after a long days work.

Last night I was trying some templates and in the process I have broken my site.

Now when I go to the templates selection (admin, tools, template selection) I only have the default, but when I click on it I get the error:

Warning: Variable passed to each() is not an array or object
zencart/admin/template_select.php on line 210

The rest of the site admin seems fine - but now when I go to the shop url there is nothing.

Because it was so late I cant even be sure what I did... :(

Anyone have any sugestions?

Luckily the site wasnt live and does not need to be for a week or so, so I have a little while to sort it.

3 Jul 2009, 5:05 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Broken my new zencart store : Template problem!

While you were tired....you need to re-trace the changes you made and can use your ftp client to seek files added/altered by "modified" date.
Verify that they belong or replace with a default copy or delete if not part of the default set

Lern lesson: ALWAYS make a backup before embarking on a change spree so you have a fall back position

4 Jul 2009, 8:14 PM
#3
lizardplanet avatar

lizardplanet

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Broken my new zencart store : Template problem!

Managed to get it all sorted.

Ive decided to try and get my head around the css files and I am doing OK so far. Have a few questions but will pop in a new thread!