Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Error Message when trying to install new templates

Error Message when trying to install new templates

Views: 1,844

Results 1 to 20 of 20
5 Sep 2014, 1:44 PM
#1
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Error Message when trying to install new templates

Hi. Got my cart set up fine - all the way to the default green template for Zen Cart. Read up on how to install new templates. Did one or two and they weren't what I was looking for. Installed 3 or 4 more and am now getting these error messages in the log files (about 5 or 6 individual ones, all the same). Hope it's ok to post this info... But here it is...

[04-Sep-2014 16:43:01 America/Denver] PHP Fatal error: 1146:Table 'nichola5_dropshipcart_wms.template_configuration_group' doesn't exist :: SELECT * FROM template_configuration_group ==> (as called by) /home1/nichola5/public_html/wmsstore/includes/init_includes/init_template_config.php on line 10 <== in /home1/nichola5/public_html/wmsstore/includes/classes/db/mysql/query_factory.php on line 155

Please tell me what I did wrong and how I should fix it. Don't have a lot of knowledge on coding.

Thanks
Brenda

5 Sep 2014, 1:47 PM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

Did you remove/uninstall the previous templates?

That error states the table was not created in the database. So the code that's trying to call for it... gets nothing.

5 Sep 2014, 2:12 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,091
Plugin Contributions:
56

Re: Error Message when trying to install new templates

Continuing with what twitchtoo said, (1) there's no such table as template_configuration_group in a standard Zen Cart release and (2) there's no such file /includes/init_includes/init_template_config.php either. Those files (and database table) must have been introduced by one of the templates you installed.

Which templates did you install? For the initial two that you didn't like, did you remove them?

5 Sep 2014, 4:52 PM
#4
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Uh-oh... No I didn't uninstall any of the ones I didn't like. Maybe I should uninstall all of them and start all over with installing the templates. Hopefully that would get rid of the errors in my log file (maybe?)

I want to use the Hope (Free Zencart Template) preferably or the Estore Now template.

Thanks
Brenda

5 Sep 2014, 5:58 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Error Message when trying to install new templates

Did the template in question include a SQL patch which you neglected to install?

5 Sep 2014, 6:17 PM
#6
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Oh, I don't know. I don't think so. But, where would that have been? Since I don't really know what I'm doing here and in no way know how to start looking for errors and patches.... Would it solve it for me to uninstall the templates and re-install them. (Where do you uninstall the templates, by the way).

Thanks
Brenda

5 Sep 2014, 6:30 PM
#7
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

Oh, I don't know. I don't think so. But, where would that have been? Since I don't really know what I'm doing here and in no way know how to start looking for errors and patches.... Would it solve it for me to uninstall the templates and re-install them. (Where do you uninstall the templates, by the way).

Thanks
Brenda

Well, it's likely easier to dump Zen Cart and start over.

You could follow the uninstall procedures - if they exist.

You could endlessly try to communicate what's happening or what's wrong on the forum...

Or you could hire someone to do it all for you.

So assuming you were just adding templates to a fresh (vanilla) (clean) (manual) install of Zen Cart. Nothing is lost except time.

5 Sep 2014, 6:39 PM
#8
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

could you please tell me how to uninstall the templates first please... (don't know if that's possible)

Also, when I am loading a new template (includes file), it asks for an overwrite. I agreed to it, because I read in one of the posts that the overwrite it's asking for doesn't really overwrite the other include's files. Is that true? Because there was a lot of overwriting requests when i was loading the other includes files.

Thanks
Brenda

5 Sep 2014, 6:44 PM
#9
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

could you please tell me how to uninstall the templates first please... (don't know if that's possible)

Thanks
Brenda

Do the reverse of any of the code additions you made.

Occasionally if there are SQL statements provided they provide the 'uninstall SQL', if not you will need to know how to read SQL and determine what the script added or changed to your db.

5 Sep 2014, 7:07 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Error Message when trying to install new templates

I agree with twitchtoo - the easiest thing to do now would be to delete your Zencart installation and start over. If the template includes a SQL patch, there will be a file with a .SQL extension. Any template worth using should also have a readme or other file containing instructions on how to install it. Uninstalling a template should just be a matter of removing the files that came with the template.

5 Sep 2014, 7:16 PM
#11
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Ok... can I go about it in this way... I made a backup folder of my ZenCart file from my server, right before I started doing anything with it (uploading template files). Can I use this to overwrite what's there now? If so, how would I do that...

Thanks
Brenda

5 Sep 2014, 7:21 PM
#12
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

Ok... can I go about it in this way... I made a backup folder of my ZenCart file from my server, right before I started doing anything with it (uploading template files). Can I use this to overwrite what's there now? If so, how would I do that...

Thanks
Brenda

You will need to erase what's there, then upload the complete folder.

Be sure to check if the folder really has all of the zen cart files/folders in it before deleting your site.

5 Sep 2014, 7:23 PM
#13
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Ok... so just go to my public_html folder and delete the zencart file? Then, would it be OK, through Filezilla to pull over the backup saved clean install file of Zen Cart?

Thanks

5 Sep 2014, 7:26 PM
#14
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Error Message when trying to install new templates

If I may, in reading this thread. I can only assume why the question of if the templates have been removed was asked because no further discussion about it has yet been provided.

Unfortunately and self-stated your lost in how all this works and what to do. At the same time all of the specific actions that were taken to get to this point have not been outlined. Yes, identifying all of them will take time and those helping if they choose to would have to expend what could be a lot of time and energy, so going through them all may not be as valuable as understanding why what has happened has happened.

During the install of the first templates, they went well, no problem. Sometime after that, the templates installed caused problem. My assumption regarding the questioning of the removal is that the thoughts of those asking is that if the removal was performed incorrectly/incompletely, then that process caused the problem(s) seen later on. By the statements that not sure about sql packages and the other things, well if there was additional software/instruction to be used that it isn't/wasn't known, then there is the probability that something was done wrong. Again latching onto both parts of a potential incorrect removal of the earlier templates or incorrect install of the "newer" templates. Generally speaking any number of templates can be installed on a system. The fact as lat9 pointed out that a file is not a part of a standard install and the referenced database table also is not typical indicates that the template package that includes that specific file is the one that was not installed correctly. It does not mean that there are no other errors, but for starters if the template that has that file set is properly installed then at least that error will go away. On the flip side as also suggested if that particular template is fully removed then the problem will go away. Removal is not just about taking files off the server as discussed. Some files have instructions (typically including the word(s) insert, update, or delete) associated with changing the database. As a result, the database may already have been changed by one or more of the template installations.

As for file overwrites, it is important to always know what file(s) are being overwritten and what the overwrite will do/change. Sometimes a notification is given that a folder is being overwritten, but this may just be an indication that the same folder name exists and that there is no real change to the folder, but the files inside that folder, that's a different thing.

Well written programs, plugins, and the like will come with some form of instruction to install and even better to remove the changes made. If you have already sought one-on-one assistance, then maybe the above will help you in the future, but if you do a little bit of comparisons of what you were trying to install with what is reported and possibly take a moment to review the install instructions for each of the items tried then you will be able to solve the problem. Otherwise, the various ways to obtain further assistance have been outlined above.

Just want to further state that at no time did anyone say you should remove the earlier templates, they asked questions to gain an understanding of what actions were taken and is one of the reasons that the posting guidelines suggest providing as much information as possible so that direct assistance can be provided with minimal questioning back and forth. Hope that helps.

5 Sep 2014, 7:28 PM
#15
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Sorry... just saw the answer... Thanks! Now I'm scared.... When installing templates, I didn't see a bunch of includes folders from all the templates I installed. What am I doing wrong?

Thanks
Brenda

5 Sep 2014, 7:33 PM
#16
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

OK, will delete the folder. Thanks for the detailed answer.

Brenda

P.S. Will let you know how everything works out (if anyone cares) :)

5 Sep 2014, 7:40 PM
#17
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

Sorry... just saw the answer... Thanks! Now I'm scared.... When installing templates, I didn't see a bunch of includes folders from all the templates I installed. What am I doing wrong?

Thanks
Brenda

Here's the simple bit:
Zen Cart installs a bunch of Zen Cart files and folders.

When you install a new template:
You're adding additional folders with the template name and files within those folders.

Zen Cart is going to use it's own files unless it sees the new template files within the new template folders (called the 'overwrite/override system')

So, 'installing' a new template would involve adding new folders with customized files named after the template name.

Uninstalling a template - delete all of the folders named after the template name.

If there were SQL changes or 'core' files were changed (files changed that were not in folders named after the new template name) those SQL statements/core files will need to be reversed/reverted back to the originals.

So again I offer, it's far easier to start over than get involved in the mess of one Zen Cart install and many 'learning experiences'.

5 Sep 2014, 7:42 PM
#18
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

OK, will delete the folder. Thanks for the detailed answer.

Brenda

P.S. Will let you know how everything works out (if anyone cares) :)

Please do keep us updated. We wouldn't be here if it didn't matter... remember - before today we all knew less than we do today.

5 Sep 2014, 8:27 PM
#19
msbfrnj avatar

msbfrnj

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Error Message when trying to install new templates

Hallelujah Yall.... It worked perfectly....... Soooooooo glad I saved that folder BEFORE I started changing and working on the cart. Whew! NOW!! Gonna install one template at a time this time. Am praying I don't get any errors. :blush:

Thanks again!!
Brenda

5 Sep 2014, 8:28 PM
#20
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: Error Message when trying to install new templates

msbfrnj:

Hallelujah Yall.... It worked perfectly....... Soooooooo glad I saved that folder BEFORE I started changing and working on the cart. Whew! NOW!! Gonna install one template at a time this time. Am pray I don't get any errors.

Thanks again!!
Brenda

Great!

If you do now we can help... :)