Forums / Templates, Stylesheets, Page Layout / option Value Manager problem i can`t set to appear and i receive error mesage

option Value Manager problem i can`t set to appear and i receive error mesage

Views: 1,841

Results 1 to 20 of 26
26 Nov 2012, 9:57 PM
#1
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

option Value Manager problem i can`t set to appear and i receive error mesage

WARNING: An Error occurred, please refresh the page and try again.

This is the message what i received every time when i try to add some values to my product :( Please help me some way ...i have a tailoring site and i need to add 10 value (text) for my customers to let them fill whit they measurments the 10 value boxes .But...I can`t add them :(

26 Nov 2012, 10:03 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: option Value Manager problem i can`t set to appear and i receive error mesage

  1. You haven't answered any of the questions from the "Posting Tips" that showed when you wrote your post ... such as your Zen Cart version, your addons, etc. That's important information.

  2. Without more information from you, I'm guessing that perhaps this is what you're seeking: http://www.zen-cart.com/showthread.php?200688-Known-Bugs-%28and-fixes%29-with-v1-5-1&p=1154025#post1154025 ... but only if you're using v1.5.1 of Zen Cart.

.
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.

26 Nov 2012, 10:11 PM
#3
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

i am on v1.5.0 :( i dont have addons .... i just modifie the banners and thats it i put 3 product categori and 1 product in...and try to set atribute but i cant :( http://stilmasculin.com/Shop/index.php?main_page= take a look maybe you understand more

26 Nov 2012, 10:19 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

Could you go to phpMyAdmin in your Control Panel for your site and browse the table:
products_options_values

and see if you have a record for:
products_options_values_name

that is set to TEXT

How many records do you have in that table?

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!]
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!

26 Nov 2012, 10:22 PM
#5
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

just 2, and 1 of them are text

26 Nov 2012, 10:26 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

On the record where the products_options_values_name
is set to TEXT

what are the values for each field?

If you browse the table:
products_options_types

What records do you see?

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!]
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!

26 Nov 2012, 10:29 PM
#7
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

for the first value(the text one) products_options_values_id =0 language_id =1 products_options_values_name =text products_options_values_sort_order =0

the second one products_options_values_id=1 language_id =1 products_options_values_name = it`s empty products_options_values_sort_order =0

26 Nov 2012, 10:34 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

On the first one is doe products_options_values_name read text or TEXT ... make sure it reads TEXT

If you browse the table:
products_attributes

how many records are in there ... and if you have some, what do they read?

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!]
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!

26 Nov 2012, 10:42 PM
#9
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

it` TEXT,
and in the product_attributes i find 2 records:

first one:
products_attributes_id =1 products_id =1 options_id =0 options_values_id =0 options_values_price= 0.0000 price_prefix =+ products_options_sort_order =0

i need to write the whole options of the first entri or it`s enought?

26 Nov 2012, 10:45 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

That is good enough for now ...

If you go to browse the table:
products_options

what do you see ...

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!]
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!

26 Nov 2012, 10:48 PM
#11
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

i see al my 10 name value what i set

26 Nov 2012, 10:53 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

magnum17:

i see al my 10 name value what i set

I am not quite sure what you mean by that ... can you be more specific?

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!]
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!

26 Nov 2012, 11:00 PM
#14
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

i upload a print screen

26 Nov 2012, 11:12 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

It sounds like some of your database tables are damaged or out of sync ...

The best way I can think to fix them is to start over on your creation of attributes by cleaning out everything and beginning again ...

You can do this by backing up your database then running the following in your Zen Cart Admin in the Tools ... Install SQL Patches ...

#
# Table structure for table 'products_attributes'
#

DROP TABLE IF EXISTS products_attributes;
CREATE TABLE products_attributes (
  products_attributes_id int(11) NOT NULL auto_increment,
  products_id int(11) NOT NULL default '0',
  options_id int(11) NOT NULL default '0',
  options_values_id int(11) NOT NULL default '0',
  options_values_price decimal(15,4) NOT NULL default '0.0000',
  price_prefix char(1) NOT NULL default '',
  products_options_sort_order int(11) NOT NULL default '0',
  product_attribute_is_free tinyint(1) NOT NULL default '0',
  products_attributes_weight float NOT NULL default '0',
  products_attributes_weight_prefix char(1) NOT NULL default '',
  attributes_display_only tinyint(1) NOT NULL default '0',
  attributes_default tinyint(1) NOT NULL default '0',
  attributes_discounted tinyint(1) NOT NULL default '1',
  attributes_image varchar(64) default NULL,
  attributes_price_base_included tinyint(1) NOT NULL default '1',
  attributes_price_onetime decimal(15,4) NOT NULL default '0.0000',
  attributes_price_factor decimal(15,4) NOT NULL default '0.0000',
  attributes_price_factor_offset decimal(15,4) NOT NULL default '0.0000',
  attributes_price_factor_onetime decimal(15,4) NOT NULL default '0.0000',
  attributes_price_factor_onetime_offset decimal(15,4) NOT NULL default '0.0000',
  attributes_qty_prices text,
  attributes_qty_prices_onetime text,
  attributes_price_words decimal(15,4) NOT NULL default '0.0000',
  attributes_price_words_free int(4) NOT NULL default '0',
  attributes_price_letters decimal(15,4) NOT NULL default '0.0000',
  attributes_price_letters_free int(4) NOT NULL default '0',
  attributes_required tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (products_attributes_id),
  KEY idx_id_options_id_values_zen (products_id,options_id,options_values_id),
  KEY idx_opt_sort_order_zen (products_options_sort_order)
) ENGINE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table 'products_attributes_download'
#

DROP TABLE IF EXISTS products_attributes_download;
CREATE TABLE products_attributes_download (
  products_attributes_id int(11) NOT NULL default '0',
  products_attributes_filename varchar(255) NOT NULL default '',
  products_attributes_maxdays int(2) default '0',
  products_attributes_maxcount int(2) default '0',
  PRIMARY KEY  (products_attributes_id)
) ENGINE=MyISAM;

#
# Table structure for table 'products_options'
#

DROP TABLE IF EXISTS products_options;
CREATE TABLE products_options (
  products_options_id int(11) NOT NULL default '0',
  language_id int(11) NOT NULL default '1',
  products_options_name varchar(32) NOT NULL default '',
  products_options_sort_order int(11) NOT NULL default '0',
  products_options_type int(5) NOT NULL default '0',
  products_options_length smallint(2) NOT NULL default '32',
  products_options_comment varchar(64) default NULL,
  products_options_size smallint(2) NOT NULL default '32',
  products_options_images_per_row int(2) default '5',
  products_options_images_style int(1) default '0',
  products_options_rows smallint(2) NOT NULL default '1',
  PRIMARY KEY  (products_options_id,language_id),
  KEY idx_lang_id_zen (language_id),
  KEY idx_products_options_sort_order_zen (products_options_sort_order),
  KEY idx_products_options_name_zen (products_options_name)
) ENGINE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table 'products_options_types'
#

DROP TABLE IF EXISTS products_options_types;
CREATE TABLE products_options_types (
  products_options_types_id int(11) NOT NULL default '0',
  products_options_types_name varchar(32) default NULL,
  PRIMARY KEY  (products_options_types_id)
) ENGINE=MyISAM COMMENT='Track products_options_types';

# --------------------------------------------------------

#
# Table structure for table 'products_options_values'
#

DROP TABLE IF EXISTS products_options_values;
CREATE TABLE products_options_values (
  products_options_values_id int(11) NOT NULL default '0',
  language_id int(11) NOT NULL default '1',
  products_options_values_name varchar(64) NOT NULL default '',
  products_options_values_sort_order int(11) NOT NULL default '0',
  PRIMARY KEY (products_options_values_id,language_id),
  KEY idx_products_options_values_name_zen (products_options_values_name),
  KEY idx_products_options_values_sort_order_zen (products_options_values_sort_order)
) ENGINE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table 'products_options_values_to_products_options'
#

DROP TABLE IF EXISTS products_options_values_to_products_options;
CREATE TABLE products_options_values_to_products_options (
  products_options_values_to_products_options_id int(11) NOT NULL auto_increment,
  products_options_id int(11) NOT NULL default '0',
  products_options_values_id int(11) NOT NULL default '0',
  PRIMARY KEY  (products_options_values_to_products_options_id),
  KEY idx_products_options_id_zen (products_options_id),
  KEY idx_products_options_values_id_zen (products_options_values_id)
) ENGINE=MyISAM;

INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (0, 'Dropdown');
INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (1, 'Text');
INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (2, 'Radio');
INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (3, 'Checkbox');
INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (4, 'File');
INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (5, 'Read Only');

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');

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!]
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!

26 Nov 2012, 11:29 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

Those images appear to confirm the issue that there are problems with all the tables related to attributes ...

Try to run the SQL statements that I posted in your Tools ... Install SQL Patches ... and see if that allows you to start over ...

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!]
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!

26 Nov 2012, 11:35 PM
#18
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

No, the same situation :( don`t appear in value manager nothing from what i insert now in name manager , of course ..after run in tools-SQL the code what you give

26 Nov 2012, 11:59 PM
#19
magnum17 avatar

magnum17

New Zenner

Join Date:
Nov 2012
Posts:
35
Plugin Contributions:
0

Re: option Value Manager problem i can`t set to appear and i receive error mesage

Any other idea about my problem ? :(

27 Nov 2012, 12:27 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: option Value Manager problem i can`t set to appear and i receive error mesage

You started with bad data in the tables ... what I gave you should clean things out ... so the Options Manager and Options Values will be empty ...

Now add your Option Name for one of your dropdowns ...

Then, go add the Option Values for it ...

Do the pages start to look "more complete"?

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!]
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!