Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Category Page lost when adding Products

    Hi

    I am trying to set up a site for somebody, and thought I had it all going well until I tried adding in Products.

    When I add in the Category, it all works fine.

    Once I add in the Product, the Category page disappears altogether.

    I was wondering if anybody had experienced this, as I have trawled through the code, but not been able to find what I have done wrong.

    The url is http://drainingthekeg.brinkster.net/Serena/

    Thanks in advance

  2. #2
    Join Date
    Jul 2008
    Location
    India
    Posts
    46
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Quote Originally Posted by toltec7 View Post
    Hi

    I am trying to set up a site for somebody, and thought I had it all going well until I tried adding in Products.

    When I add in the Category, it all works fine.

    Once I add in the Product, the Category page disappears altogether.

    I was wondering if anybody had experienced this, as I have trawled through the code, but not been able to find what I have done wrong.

    The url is http://drainingthekeg.brinkster.net/Serena/

    Thanks in advance
    Disable your category infobox and try adding products if it's done then there may be some errors in the leftcolumn or categories box files.

  3. #3
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Thanks for that, it has got me going

    I have found that if I click on the url, I get sent to the page http://drainingthekeg.brinkster.net/...=index&cPath=6

    which displays nothing, but if I add in _11 (the product id) to the end, I get the page, so for some reason, the code is not appending the product id to the url

    If anyone could perhaps point me to where this is located in the files, it would be a great help, as php is a new language to me, and I am not up on it.

    Thanks ofr the help so far Amit001, it at least pointed me in the right direction

    cheers

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Category Page lost when adding Products

    The product id is not supposed to be included in the cPath for the listing (category) page. What you are getting is a notice that there are no products in subcategory 6_11.

    The problem is probably not in left column or sidebox files, but something more fundamental, since there is no output whatsoever on the problem page.

  5. #5
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    This is getting weirder all the time.

    I have chacked the permissions, and the help at Brinkster have done the same

    I have checked the database, and the products_to_categories table shows the correct linking between the category and the product, so I am almost certain it must be in the code where the linking happens at run time.

    If anybody is aware of where this is, could they please let me know.

    I have looked, but as I said php is still a learning language for me, so it is a kind of futile search at the moment.

    I have also done a 'Beyond Compare' on the original code (the downloaded zen-cart-v1.3.8a-full-fileset-12112007 version) and my code, and there is no difference that I can see.

  6. #6
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Also have just noticed that, while the table products_to_categories looks to be set OK, I do not have any records in the table product_types_to_category

    I do not know if this is required, but I would have been assuming that it would be.

  7. #7
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    I am having the exact same problem and have been banging my head against the wall for hours trying to figure it out. Everything is fine until I add a product. Then, POOF! Blank category page. I've searched through every admin option, all the related php files, and the forum extensively to try and find an answer or help. Until I found your post I thought I was losing it. I hope someone has an answer. My gut tells me its probably something simple. Let me know if you find an answer and if I do I'll post it here.

  8. #8
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    I have raised a ticket with Brinkster about this issue, as I had basically given up, and tried installing zen cart again under another folder, with new database alias's etc.

    I found that this one failed to install. I got to the page where you choose to add phpBB, chose not to, and when I clicked to save the data, I received the same completely blank page.

    Hopefully, the tech guys at Brinkster will be able to locate the problem. I must admit, up to now, their support has been quite good. So hopefully I will have an answer soon.

    I will definitely post it up here if they do locate the problem. Stay tooned

  9. #9
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    seems like it might have something to do with category id# as you suspect. I can see from the "count" that there is a product in a certain category and if I click thumbnail for specific product in 'what's new' box I get taken to the individual product page where every thing is fine. But, if I click the category. Nothing.
    Also, if I go into admin and set it to open with that category that says it contains products on the hompage (by inserting the appropriate category ID#) nothing happens. Somewhere, it seems, the category id# is being lost/whatever when a product is added.

  10. #10
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    HI,
    Just found the problem (as it related to my cart at least).
    I had been adding 1 sample product to a catagory to test display etc but I had not disabled the configuration/layout settings option to "skip 1-prod Categories". So when I clicked the category it apparently got confused. Still, it should have defaulted to the individual product page but it did not. That may still be a problem further down the line, though I don't envision having categories with only 1 product. For now, this seems to be doing the trick.
    I hope this helps.
    Feo

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Page loads blank when adding products to cart
    By ashjones86 in forum General Questions
    Replies: 1
    Last Post: 25 Mar 2011, 09:16 PM
  2. Adding image landing page when selecting CATEGORY
    By techiegirl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Apr 2010, 02:27 AM
  3. Problem with Products Page when Adding New Items
    By Tatter in forum General Questions
    Replies: 9
    Last Post: 24 Jun 2008, 06:55 PM
  4. Slow page load times when listing products in a sub-category
    By gluckfs in forum General Questions
    Replies: 9
    Last Post: 26 Feb 2007, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg