oh crap

Locked

Started by rogue_tiger on 27 Sep 2007, 1:29 AM · Views: 3,057

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
27 Sep 2007, 1:29 AM
#1
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

oh crap

:censored:

What did I just do? Well, I just incorrectly deleted my "template_default" folder from Includes/Templates. Ah geeze, you say.

I re-uploaded a backup of this folder, but now the individual product info won't appear when I click on the item from the site listing.

See here: www.tomwatersonline.com

Anyone have any idea what file I'm missing?!

Thanks!!
:(

27 Sep 2007, 1:46 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,701
Plugin Contributions:
0

Re: oh crap

One post per problem please. Duplicate has been deleted.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 Sep 2007, 1:56 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

Are you sure everything uploaded correctly?

What else were you doing around the time you deleted all that stuff ?
What template files have you customized? Maybe one of those changes is causing this? ie: especially tpl_product_info_display.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:06 AM
#4
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

I wasn't doing anything else at the time. I was looking for buttons to change, but hadn't done anything on the server.

I'm pretty sure it uploaded ok, I don't really have any way to check, other than the FTP script. It looked fine. I can re-upload again if you think that would help.

I was looking at the tpl_product_info_display.php file. It sounded like the right one, but it look ok too. I had a customized template file in a CUSTOM folder. I removed that, but still no luck.

27 Sep 2007, 2:13 AM
#5
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

I do have a downloaded template installed - it has a tpl_modules_product_listing.php in it, but that shouldn't have affected it..

27 Sep 2007, 2:15 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:19 AM
#7
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

Thanks, I'll get to work on this right away.

Theoretically, this shouldn't have broken the site right?

If all the files are uploaded the same as before, it would be like the delete didn't happen, correct?

I just need a little guidance here, I'm starting to loose it. I just finished a huge project and I'm terrified I'm going to loose everything.

27 Sep 2007, 2:20 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

This is one of many reasons to be making regular backups of everything.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:25 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

Rogue Tiger:

Theoretically, this shouldn't have broken the site right?

If all the files are uploaded the same as before, it would be like the delete didn't happen, correct?If you never edited any of the template_default files directly, then uploading the originals again should fix things.

I suspect your problem is not with the template_default folder, but perhaps something else that you've edited/deleted/etc. Perhaps even a corrupt file in the modules/pages/product folder.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:34 AM
#10
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

how in the world do you sort that out though?

I've made changes to change to site look, but it worked fine until that folder was deleted. Then, after re-uploading, poof no individual product listing. I checked the rest of the site out. Looks like it works fine.

All I have to go on is the deleted "template default" folder.

But nothing in there should be able to break the site. Did you look at the link? What did you think?

(btw, thank you so much)

27 Sep 2007, 2:38 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

Don't you have a copy of your full site on your local PC, from which you could just re-upload everything ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:39 AM
#12
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

DrByte:

If you never edited any of the template_default files directly, then uploading the originals again should fix things.

I suspect your problem is not with the template_default folder, but perhaps something else that you've edited/deleted/etc. Perhaps even a corrupt file in the modules/pages/product folder.

Is there a specific "Product" folder? I checked under /includes/modules/pages/
but only have "products_all" and "products_new" folders

Am I missing a folder?

27 Sep 2007, 2:39 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

Rogue Tiger:

Is there a specific "Product" folder? I checked under /includes/modules/pages/
but only have "products_all" and "products_new" folders

Am I missing a folder?

Yes -- that would explain the blank page.

There should be a "product" folder.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:40 AM
#14
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

Yes, but I was afraid to do that - since I didn't know what I could loose in the process.

27 Sep 2007, 2:40 AM
#15
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

now how in the world did that get removed when I never touched that folder?!
I checked my backup, no folder there either.

What now?

27 Sep 2007, 2:41 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

DrByte:

Don't you have a copy of your full site on your local PC, from which you could just re-upload everything ?

Rogue Tiger:

Yes, but I was afraid to do that - since I didn't know what I could loose in the process.

Well, that's where doing a compare comes in handy ... download a copy of what's on the server, and compare to what's on your PC ... and deal with the differences.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:43 AM
#17
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

here is what I've got:

27 Sep 2007, 2:44 AM
#18
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

DrByte:

Well, that's where doing a compare comes in handy ... download a copy of what's on the server, and compare to what's on your PC ... and deal with the differences.

How do I find what is supposed to be in the "product" folder if my backup doesn't have one either? Is that a folder that was modified when I installed the cart? Am I going to have to re-install and loose everything?

27 Sep 2007, 2:45 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: oh crap

Sorry -- it's called product_info

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 2:52 AM
#20
rogue_tiger avatar

rogue_tiger

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: oh crap

whew, ok, so I got lucky on that one.
Any other tips or ideas?