Groups, Aisles, Rows Problems : LUSENET : S-Mart Shopping Cart : One Thread

How many groups are allowed? This is the problem I'm having. When I list 3 or 4 groups, everything is fine. When I add 15 groups I find I get a "Server Closed" error when I try to go to both the admin page or smart.cgi. When I add the "#" sign in front of "%groups" to hide it, everything works fine with the script.

Remove the "#" sign from in front of "%groups" and the problems return. What do I need to do to be able to have more groups?

-- Leonard Foster (, July 01, 1999



There should be no limit on groups. Check to see if you have all your quote marks and commas. Then if you have any inside your group names that could cause an error. Try your 15 groups and remove one at a time till your program works the try to add them back in a different order. If you came to the end of the line and hit enter instead of letting the line wrap that will cause an error. The groups should look like this.

%groups = ('supply', 'Supplies', 'service', 'Services');

If you still have problems send me the line with your groups in it and I will try to find what is wrong.


-- James L. Farmer (, July 01, 1999.

Moderation questions? read the FAQ