osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

URGENT: Can't add products - They disappear????

This is a discussion on URGENT: Can't add products - They disappear???? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello, Firstly I need to say that I'm learning as I go along. Before I started with osCommerce I'd never ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-06-2004, 08:38 AM
rogerj30's Avatar
New Member
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rogerj30
Default URGENT: Can't add products - They disappear????

Hello,

Firstly I need to say that I'm learning as I go along. Before I started with osCommerce I'd never used PHP or SQL before.

After playing around and building most of the basic site I felt like it was time to create a test product. So I went into the catalog/admin, clicked on catagories/products, went into the first catagory (all the catagories and subcatagories were already made), then into the subcatagory. Next I clicked on 'Add product'. The new product form appeared. I filled in the necessary fields. At the bottom two buttons were visible, namely 'Preview' and 'Cancel'. As I evidently didn't want to cancel the action I pressed 'Preview'. A listing appeared in preview mode and at the top of the screen - in green - it said: " Success: File upload saved successfully."

At the bottom of this screen are three buttons: 'Back', 'Insert' and 'Cancel'. I tried both 'Back' and 'Insert' over time, it makes no difference. The product does not appear in the product list. Not in admin and not on the site. However, when I look at the site the catagory does state it's got 1 product in it, even though when you look into the catagory it will tell you there are no products to display. The testproduct also turned up in the 'what's new' box in the left column, complete with image and price, but when you click on it, it doesn't take you to the product description as it doesn't excist.

For illustration purposes I'll include this screenshot:



As you can see:
* The catagory on the left side says 1 product
* The product listing of that catagory states there are no products
* The 'What's New' box displays the image and price of the added product, but the product itself is nowhere to be found.

Oh and to make things even worse:

When I try to add the product again - it's not in the list at the end of the day I get the following error message:

Quote:
1062 - Duplicate entry '0' for key 1

insert into products (products_quantity, products_ship_price, products_model, products_price, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_image, products_date_added) values ('', '7.00', '100-10106', '49.99', null, '', '1', '0', '', '100-10106-600.jpg', now())

[TEP STOP]
Stuck between a rock and a hard place. I't not showing the products, but it's there somewhere, because it's protecting against duplicate entries....

ANd to make it more of a challange. When I create a completely new item, with never before used info it still moans about duplicate entries:

Quote:
1062 - Duplicate entry '0' for key 1

insert into products (products_quantity, products_ship_price, products_model, products_price, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_image, products_date_added) values ('', '7.00', 'Test01', '19.99', null, '', '1', '0', '', 'autocare-headerimage.gif', now())

[TEP STOP]
Did anybody have this problem before, or does anybody recognise this? I really need to know a solution for this, because obviously at the moment I can't add products to my shop.[/img][/quote]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-06-2004, 07:34 PM
rogerj30's Avatar
New Member
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rogerj30
Default

Problem has since been solved.
I'm still stumped on one thing though. After adding products via the admin screen and then looking on the site in the catagory the products are sorted descending on product name (alphabetical). I would like that to be done on model number. Where and how do I change that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
page_parse_time.log error on site Walter osCommerce 2.2 Modification Help 4 11-27-2005 03:14 AM
I messed up...FEATURED PRODUCTS MODULE *Urgent* lil-raskals osCommerce 2.2 Modification Help 1 01-14-2005 11:11 AM
Category index box contents disappear groone osCMax v1.7 Installation 1 08-04-2004 03:37 AM
URGENT - PLEASE HELP - PWA Problem ukgoods osCommerce 2.2 Modification Help 1 07-29-2004 11:31 AM


All times are GMT -8. The time now is 06:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax