Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Help!: Adding Categories and Products Yield Blanks

    I have installed zencart, and everything seems to be working fine accept the following. When I go to add a product, I enter all of the data and hit preview. The preview yields blanks for everything. $0.00, no image, etc. Also, when I add a category, it adds the category, but the name and description are blank, no matter what I enter for them. All that gets picked up is the sort number, and an id is properly assigned to it. The missing data is not being entered into the database either. Any suggestions?

    zencart: v1.3.0.1
    mysql: v4.1.1
    php: v4.3.1

    I have not altered any files accept the http(s)_server variables in the two primary configure.php files. I have tried from multiple browsers/browser versions/pcs.

  2. #2
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    To make matters more interesting, I put the same code on a different server and it ran perfectly, so I know it is not the code. Any suggestions anyone?

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help!: Adding Categories and Products Yield Blanks

    I would think that you have answered your own question with:
    I put the same code on a different server and it ran perfectly, so I know it is not the code
    If it is not he actual code, it may be that during your upload some files were corrupted in some manner. Difficult to analyze as you seem not to be receiving any error MSG's.

    You could attempt a re-install after first re-uploading the files.

    Your server php & MySQL appear to be adequate
    Zen-Venom Get Bitten

  4. #4
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    I have installed it multiple times with the same results. And as I said, I put the same files on a different server and it ran fine.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help!: Adding Categories and Products Yield Blanks

    Blank page or missing data?

    You say $0.00 and broken image ...

    Is the product description there?

    What is the Product Type that you are using?

    What is the URL text when you hit New Product? Example:
    /product.php?x=62&y=14&product_type=1&cPath=65&action=new_product
    What is the URL text when you hit Preview? Example:
    product.php?cPath=65&product_type=1&action=new_product_preview
    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: v1.5.5]
    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!

  6. #6
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    The product type is general.

    new product url:
    /admin/product.php?product_type=1&cPath=1&action=new_product&
    x=26&y=11&zenAdminID=***

    site preview url:
    admin/product.php?cPath=1&product_type=1&action=new_product_preview&
    zenAdminID=***



    Once on the site preview, the only information that is retained is te price. After inserint, the only thing not retained is the description and product name.

  7. #7
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    I did an echo on the $_POST variable, and the data being typed into the field is not being posted.

    I used:

    foreach ($_POST as $k => $d) echo("<br>".$k." => ".$d."<br>");

    I get the following:

    categories_name =>
    categories_description =>
    img_dir =>
    sort_order => aaa
    x => 32
    y => 10

    Does this point to apache being the problem? any suggestions anyone?

  8. #8
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    For anyone else who encounters this problem, I have found a workaround. You can change all of the form post methods to get methods. This requires that you also add hidden values for the admin id, action type, etc.

    For everyone else, I would like to be able to get it working with post, as it makes no sense why it is not working. Any suggestions are appreciated.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Help!: Adding Categories and Products Yield Blanks

    Quote Originally Posted by troyji
    I have installed it multiple times with the same results. And as I said, I put the same files on a different server and it ran fine.
    methinks your need is not to adjust the Zen Cart code, but rather to fix your server's configuration so that data is passed properly.

    If "this" problem is happening, I shudder to think what "else" will also be wrong on your server. I WOULD NOT depend on that server to sell things online...
    .

    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.

  10. #10
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help!: Adding Categories and Products Yield Blanks

    In the end, it all had to do with the way I was accessing the server. As I would access the subdomain over the net, it would somehow loose some of the post data. When I used the server DNS as my DNS server, it all worked fine. Hopefully this will help if someone else encounters the same problem. I have seen others ask it, though it is rare. Thanks for the replies guys. Thats a wrap.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h How to make new products show first on categories and sub categories...HELP!
    By amandavz in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 29 Jul 2013, 01:52 AM
  2. API for adding categories and products?
    By ddev in forum General Questions
    Replies: 1
    Last Post: 26 Aug 2009, 10:28 AM
  3. Adding Sub Categories and Products
    By koolkabin in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 8 Mar 2009, 06:44 PM
  4. Adding categories and products problem
    By globalmemory in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Feb 2009, 10:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR