Zen Cart Logo
Forums / Upgrading to 1.5.x / Re: Attribute Required for Text flag not working

Re: Attribute Required for Text flag not working

Views: 1,833

Results 1 to 3 of 3
15 Aug 2011, 04:34
#1
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Attribute Required for Text flag not working

swguy,
I've loaded the beta twice since seeing this and neither time created a configuration with an id of 0 nor a configuration_group of 0

Did I miss something?

One of the items I have been working on updating is Fual Slimbox and it works fine with the second example and does not remove any items that I can see.:dontgetit

15 Aug 2011, 06:24
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Re: Attribute Required for Text flag not working

The default data contains a configuration group of 0. If you change this, you won't see this problem. The problem only occurs if you in fact have a configuration group of 0 and you do something that clobbers that group (like the examples I posted).

You can verify whether or not you have a configuration group of 0 using SQL :

SELECT * FROM configuration WHERE configuration_group_id =0

If you have three rows returned by this query, and you do NOT have Fual installed, then you run the Fual Config, you'll have zero rows. That's the problem.

If you have zero rows returned by this query, Fual Config won't affect config group 0.
If you have Fual installed so that the config group select returns a non-zero value, running Fual config again won't affect config group 0.

15 Aug 2011, 12:45
#3
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Re: Attribute Required for Text flag not working

swguy:

You can verify whether or not you have a configuration group of 0 using SQL :

SELECT * FROM configuration WHERE configuration_group_id =0
Another easy way to check for such a configuration group is to go to your admin > Configuration > My Store and then edit the last part of the url from /configuration.php?gID=1 to /configuration.php?gID=0 and hit enter
(the same as visiting this url: domain.com/yourzcadmin/configuration.php?gID=0)

On 1.5.0BETA-0808201 this returns:

Product option type Select 0
Upload prefix upload_ Info
Text prefix txt_