Forums / Basic Configuration / Categories Issue

Categories Issue

Locked

Started by ginageick on 2 Jul 2009, 7:51 PM · Views: 3,277

Results 1 to 20 of 30
This thread is locked. New replies are disabled.
2 Jul 2009, 7:51 PM
#1
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Categories Issue

Hi there...

please have a look at this link and help me get started looking for why the products aren't showing. Every product can be previewed in admin correctly but obviously, something in the front end is seriously wrong.

Much appreciated,

2 Jul 2009, 8:12 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

Have to ask how you are entering these products??

Zen-Venom Get Bitten

2 Jul 2009, 8:20 PM
#3
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Through Admin/Catalog/Category-Product... I would think - I didn't add these products - the client did.

The thing is, I can view the products in admin, everything is there and showing images, etc...

Thanks so much for the speedy reply!

2 Jul 2009, 8:56 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

I asked because I can not see adding that many without checking to see if they are there manually and suspect this was a faulty upload of some file to populate

Zen-Venom Get Bitten

2 Jul 2009, 9:01 PM
#5
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Welllll..... I moved ZenCart into the main directory (did not delete any files), even downloaded the running version and uploaded from there (except config files). :blush:

However, I cannot believe that nobody eles has ever encountered this and there must be a fairly simple answer to this. All the products are there. If I do a search I certainly get products. There are there...

Thanks,

2 Jul 2009, 9:24 PM
#7
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Nope, I uploaded new compressed file (all of it) and extracted on the server... not an upload issue. Next idea? LOL

2 Jul 2009, 11:49 PM
#8
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Hmmmm... This may be a db error?

I did a fresh install... as long as I connect to the newly created db, everything seems to be working fine. As soon as I change my config to connect to the existing db (with 2500 products), I get the blank page with duplicate #of items listings....

Any insight, anyone?

3 Jul 2009, 3:39 PM
#9
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

Nope, I uploaded new compressed file (all of it) and extracted on the server... not an upload issue.
You seem to only have read part - what are the results from the Debug Error-Logging Utility

Zen-Venom Get Bitten

3 Jul 2009, 4:04 PM
#10
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Ok... had to go the /includes/local/ route...

Errors:

Notice: Use of undefined constant DOWN_FOR_MAINTENANCE_TYPE - assumed 'DOWN_FOR_MAINTENANCE_TYPE' in /home4/giftsgal/public_html/includes/init_includes/init_customer_auth.php on line 25

Notice: Undefined index: customer_id in /home4/giftsgal/public_html/includes/init_includes/init_customer_auth.php on line 37

Notice: Undefined variable: var_linksList in /home4/giftsgal/public_html/includes/templates/template_default/templates/tpl_ezpages_bar_header.php on line 19

3 Jul 2009, 4:15 PM
#11
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

Start with the first error/file as this most likely spawns the rest

Zen-Venom Get Bitten

6 Jul 2009, 5:01 PM
#12
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Unfortunately, I don't know HOW to go about fixing the first error.

Line 25 of init_customer_auth.php looks fine, I believe

if (!defined('DOWN_FOR_MAINTENANCE_TYPE')) define(DOWN_FOR_MAINTENANCE_TYPE, 'relaxed');

I'm really at my wit's end here... any help is greatly appreciated.

6 Jul 2009, 6:13 PM
#13
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

Unfortunately, I don't know HOW to go about fixing the first error.
Replace/ upload a clean copy of that file

Zen-Venom Get Bitten

6 Jul 2009, 6:52 PM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Categories Issue

define(DOWN_FOR_MAINTENANCE_TYPE, 'relaxed');

should be

define('DOWN_FOR_MAINTENANCE_TYPE', 'relaxed');

Both arguments need to be quoted strings, as DOWN_FOR_MAINTENANCE_TYPE is not yet a defined constant.

6 Jul 2009, 7:22 PM
#15
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Great! Thanks so much, gjh! Now, btw... this was a brand new set of files downloaded last week :(

Ok, then... on to the next few issues...

Please have a look at http://giftsgalore.ca/index.php - Notices right now read:

Notice: Undefined index: customer_id in /xxxx/xxxx/public_html/includes/init_includes/init_customer_auth.php on line 37

Notice: Undefined variable: var_linksList in /xxxx/xxxx/public_html/includes/templates/template_default/templates/tpl_ezpages_bar_header.php on line 19

Notice: Undefined offset: 0 in /xxxx/xxxx/public_html/includes/classes/category_tree.php on line 131

I guess, I just don't understand why a brand new install would product so many errors?

Thanks a ton for the help, though!

9 Jul 2009, 6:32 PM
#16
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Ok, folks, I could REALLY use a hand or 3 here. We have 2500 products; I don't particularly want to have to redo all of them. What are my options here... Please? Anyone?

9 Jul 2009, 6:42 PM
#17
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

ginageick:

Ok, folks, I could REALLY use a hand or 3 here. We have 2500 products; I don't particularly want to have to redo all of them. What are my options here... Please? Anyone?
You are hijacking a thread that is dealing with "why the products aren't showing"
What is it you are asking about???

Zen-Venom Get Bitten

9 Jul 2009, 6:50 PM
#18
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

I'm hijacking my own thread? :huh:

It started out with my categories not showing and with error reporting enabled, there are TONS of errors...

Without the expertise of people who are familiar with Zen Cart, I cannot seem to get a handle on these issues.

So, I'm here asking for your help. With ALL of the issues.

9 Jul 2009, 6:56 PM
#19
kobra avatar

kobra

Black Belt

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

Re: Categories Issue

Opps I see:oops:

I didn't add these products - the client did.
Never asked - did this ever work?
If so, when did it stop working and start with these errors?

Zen-Venom Get Bitten

9 Jul 2009, 7:15 PM
#20
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Ok, let's try and go back to the beginning...

New client - using Zen Cart - has added 2500 products herself but doesn't know how to get it to a point to go 'live'. Dummy me, after having had a look or two years ago at Zen Cart, said: Ahhh.. can't be that bad... yep, I'll work with ya.

So, first order of business was to move the cart to the main directory. Shouldn't be any issue whatsoever. Move files, change path in 2 config files - bingo. Not so. It is THEN that I realize, when clicking on categories, no products show, only a duplicate row of 'showing x of y products'.

After fiddle farting around with that for a while I came here.

Another thing I did, was to download a fresh copy of 1.37 and go through the install myself. Then, connected back to the existing db.

I now have debugging on and there are tons and tons of errors. With the fresh install.

I also re-instated the original sub directory... guess what? Not working there anymore either. I have not deleted any files, modified anything (other than through admin) and yet, the whole thing has gone south.

Now, where do I start?

The 2 URLs are http://giftsgalore.ca/index.php

and http://giftsgalore.ca/galore/index.php

Thanks a bunch, Kobra.