Zen Cart Logo
Forums / General Questions / Not sure where to post this....problems with adding an item

Not sure where to post this....problems with adding an item

Views: 1,417

Results 1 to 9 of 9
8 Mar 2011, 2:21 AM
#1
pumpkinpatch avatar

pumpkinpatch

New Zenner

Join Date:
Feb 2011
Posts:
9
Plugin Contributions:
0

Not sure where to post this....problems with adding an item

hi there,
i have over 300 items already listed on my ZC store all was fine. I went to add more items today and had a MySQL error of some sort. They said to wait an hour for mysql to reset so i did and then went to add an item again and i can get as far as inserting the item then i get a blank screen.

when i copy and paste the URL to another tab i get the message "ERROR: The data you submitted was found to be empty. YOUR CHANGES HAVE NOT BEEN SAVED. You may have a problem with your browser or your internet connection."
also when i go into the sub category there are only 37 items but if i go to the category there are 52. the difference of 15 is the times that i have tried to enter a new item.

can anyone help me please

thanks
lisa

8 Mar 2011, 2:24 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Not sure where to post this....problems with adding an item

Hope you or your host has a backup

If there has been no file changes it would appear that your host has changed something

8 Mar 2011, 4:09 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Not sure where to post this....problems with adding an item

pumpkinpatch:

i can get as far as inserting the item then i get a blank screen.
https://www.zen-cart.com/tutorials/index.php?article=82

9 Mar 2011, 7:12 PM
#4
pumpkinpatch avatar

pumpkinpatch

New Zenner

Join Date:
Feb 2011
Posts:
9
Plugin Contributions:
0

Re: Not sure where to post this....problems with adding an item

Thank you Dr Byte

I looked in my Debug log in the cache file and this is what was listed :
[09-Mar-2011 11:54:05] PHP Warning: include_once(facebook/facebook.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /hermes/bosweb/web200/b2005/ipg.thepumpkinpatchca/store/admin/includes/modules/update_product.php on line 107
[09-Mar-2011 11:54:05] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'facebook/facebook.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb/web200/b2005/ipg.thepumpkinpatchca/store/admin/includes/modules/update_product.php on line 107
[09-Mar-2011 11:54:05] PHP Fatal error: Class 'Facebook' not found in /hermes/bosweb/web200/b2005/ipg.thepumpkinpatchca/store/admin/includes/modules/update_product.php on line 109

i am not sure what to do from here. I am basically have step 4 complete.
Do i delete the debug files?
sorry i am such a computer loser i am trying to learn as much as i can!
Lisa

9 Mar 2011, 10:58 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Not sure where to post this....problems with adding an item

pumpkinpatch:

[09-Mar-2011 11:54:05] PHP Warning: include_once(facebook/facebook.php) [function.include-once]: failed to open stream: No such file or directory in /hermes/bosweb/web200/b2005/ipg.thepumpkinpatchca/store/admin/includes/modules/update_product.php on line 107
In your admin folder, you've got some sort of addon that fires when you're updating products, which is looking for an /admin/facebook/facebook.php file, but the file can't be found, ie: doesn't exist.
The other messages are merely knock-on results of the missing file.

So, either remove the changes you made (either by you or by an addon you put in) to the update_product.php file, or fix the missing-file problem for the facebook files.

9 Mar 2011, 11:55 PM
#6
pumpkinpatch avatar

pumpkinpatch

New Zenner

Join Date:
Feb 2011
Posts:
9
Plugin Contributions:
0

Re: Not sure where to post this....problems with adding an item

THANK YOU SO MUCH!!! I really appreciate it! I removed the addon and I can now add product.

My only question now is how do I make my category match what is acutally in stock?
Again Thank you so much!

10 Mar 2011, 12:03 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Not sure where to post this....problems with adding an item

I'm not sure I understand your question.
You can update each product's quantity by editing each one and setting the amount.

10 Mar 2011, 12:49 AM
#8
pumpkinpatch avatar

pumpkinpatch

New Zenner

Join Date:
Feb 2011
Posts:
9
Plugin Contributions:
0

Re: Not sure where to post this....problems with adding an item

It is ok I just made a new category and moved the products.

What was wrong was every time I tried to add a new product nothing would show up in the category I was adding it to but when i went back a level it would add a product. So I had 31 products that were not actually listed.
Thanks again for your help I really appreciate it a lot!

10 Mar 2011, 1:38 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Not sure where to post this....problems with adding an item

Sounds like you've got several "pages" of products, but you're only looking at the first page of them. There's a small pulldown with next-page >> indicators at the bottom of the list. Or you can change the Max value of products per page in admin via the Max Values configuration menu.