Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Editing 'Product General' template - but it is missing?

Editing 'Product General' template - but it is missing?

Locked

Views: 1,291

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
15 Aug 2007, 1:55 AM
#1
creativearc avatar

creativearc

New Zenner

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

Editing 'Product General' template - but it is missing?

When I go to the following link in the admin:

Catalog -> Product Types

And I select 'Edit Layout' for 'Product General' - nothing is there.

No options, no error. Just a blank zencart admin page. (attached)

"Product Type Info Page Layout options :: Product - General" - with nothing beneath it.

Does anyone have an idea for why this is happening?

Creative Arc - Minneapolis Web Design

15 Aug 2007, 2:21 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Editing 'Product General' template - but it is missing?

What version Zen Cart did you install?

Is this a clean install or an upgrade?

How did you install Zen Cart?

How diid you upgrade?

Did you delete anything from the database tables?

Did you touch anything in the Product Type naming?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Aug 2007, 3:54 AM
#3
creativearc avatar

creativearc

New Zenner

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

Re: Editing 'Product General' template - but it is missing?

Ajeh:

What version Zen Cart did you install?

Is this a clean install or an upgrade?

How did you install Zen Cart?

How diid you upgrade?

Did you delete anything from the database tables?

Did you touch anything in the Product Type naming?

Clean install: 1.3.7

Install: this is my third installation - just followed the instructions like I normally do.

No deletes from database.

Didn't touch anything in product type naming.

HOWEVER - I did change the /admin/ url to /blah/. I adjusted /admin/includes/configure.php to reflect this - could this be messing up where zencart is trying to find the templates? (admin directory renamed 'blah')

/admin/blah/configure.php

define('HTTP_SERVER', 'http://www.test.com');
define('HTTPS_SERVER', 'https://www. test.com');
define('HTTP_CATALOG_SERVER', 'http://www. test.com');
define('HTTPS_CATALOG_SERVER', 'https://www. test.com');

define('DIR_WS_ADMIN', '/store/blah/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/blah/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

In closing - is ZenCart trying to load a file from the filesystem?

Creative Arc - Minneapolis Web Design

15 Aug 2007, 3:59 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Editing 'Product General' template - but it is missing?

Do you get the same results if you attempt to view the settings of a different product type?

.
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.

15 Aug 2007, 4:03 AM
#5
creativearc avatar

creativearc

New Zenner

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

Re: Editing 'Product General' template - but it is missing?

DrByte:

Do you get the same results if you attempt to view the settings of a different product type?

Yes, all are blank.

Creative Arc - Minneapolis Web Design

15 Aug 2007, 4:06 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Editing 'Product General' template - but it is missing?

Did you encounter any errors during the installation process?
Did zc_install give you any messages?
Did it prompt you for a store name properly?

.
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.

15 Aug 2007, 4:11 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Editing 'Product General' template - but it is missing?

It appears as if your product_types_layout table is empty.

That can only happen for a few reasons:

  1. you deleted everything in it
  2. the installation process didn't put anything in it because it failed prematurely
  3. some contribution did something very bad when setting up database data
  4. someone is doing unexpected and destructive things to your database without your knowledge

I suspect it's related to #2. Perhaps the installation aborted without finishing?
Perhaps the *.SQL files in your zc_install/sql folder weren't fully uploaded when you did the FTP transfer to the server. If the files were incomplete then it's possible that you may have this kind of problem. However, there should be other symptoms too, and those would normally cause you other errors on login, which you don't seem to be having.

Still, I suspect it's an incomplete upload.

What's in your product_types_layout table?

.
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.

15 Aug 2007, 12:40 PM
#8
creativearc avatar

creativearc

New Zenner

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

Re: Editing 'Product General' template - but it is missing?

DrByte:

It appears as if your product_types_layout table is empty.

Still, I suspect it's an incomplete upload.

What's in your product_types_layout table?

The table exists, but as you suggest, it's quite empty.

What are my options? Is there a way to re-run only those SQL install queries that are related to templates?

Image attached.

Creative Arc - Minneapolis Web Design

15 Aug 2007, 2:39 PM
#9
creativearc avatar

creativearc

New Zenner

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

Re: Editing 'Product General' template - but it is missing?

Well, I just exported the product_type_layout table from another Zencart store and imported to my store.

I'm back in business.

Hopefully I don't discover other elements that are missing. =)

Thanks for your help!

Creative Arc - Minneapolis Web Design