Re: [Yams-discuss] yams 0.6.1 bug
Brought to you by:
modred
From: Garth S. <ga...@ap...> - 2000-03-17 17:55:23
|
On Fri, 17 Mar 2000, Derek Carr wrote: > Well, to tell you the truth I didn't even know that it had been > released. There wasn't any email sent to the announce list. But any > ways, I have been following the list and had made the previous changes > by adding CGI->header and got it working. However, I did just do the > upgrade and yes it fixed things. Thanks for checking. I am guessing > that the cgi script for the search feature is the same as the one that > was posted to the list previously, is this true? There was an announcement to both the discuss and announce lists. The cgi-script in the distribution is the same one that was posted tot he list. > > Now, the only thing that I still can't get working is the Revenue > Reports in the admin utility. It shows zeros for everything, and I do > have finished sales in there. I forget the exact term that is > specified, but they're there. I hate to ask this, but are you sure you are selecting the revenue report for the correct month? Do the orders have a status of either FULL OR PARTIAL SHIPMENT? Do the items have a status of SHIPPED? > > Oh, and one last thought, I just noticed the cron scripts in the new > release. What are these for, and when are the supposed to be scheduled? check_subs.pl can be used to warn your users of an expiration that is about to expire and remove.pl removes expired users from the appropriate tables once a subscription expires. They are designed to be run daily. Garth > > Didn't mean to overwhelm you with questions, sorry. > > Derek > > > pat eyler wrote: > > > > Derek, > > does 0.6.2 fix things for you? > > > > -pate > > > > >From: Derek Carr <der...@ma...> > > >To: Pat Eyler <pa...@gn...> > > >CC: yam...@li... > > >Subject: Re: [Yams-discuss] yams 0.6.1 bug > > >Date: Wed, 15 Mar 2000 16:03:13 -0500 > > > > > >I tried this and the drop-down lists still don't appear. Any thoughts? > > >I did implement the other fixes discussed for the search feature and > > >that worked. But, I still can't get these departments to show up. I > > >get the following error still: > > > > > >[Wed Mar 15 16:08:51 2000] [error] [client 192.168.3.1] unable to > > >include "/cgi\ > > >-bin/commerce/shop/toplevel.pl?type=department" in parsed file > > >/home/httpd/html\ > > >/commerce/shop/index.shtml > > >[Wed Mar 15 16:08:53 2000] toplevel.pl: Use of uninitialized value at > > >(eval 14)\ > > > line 27. > > >[Wed Mar 15 16:08:53 2000] [error] [client 192.168.3.1] malformed header > > >from s\ > > >cript. Bad header=<H2>Choose Category</H2><FORM : > > >/home/httpd/cgi-bin/commerce/\ > > >shop/toplevel.pl > > >[Wed Mar 15 16:08:53 2000] [error] [client 192.168.3.1] unable to > > >include "/cgi\ > > >-bin/commerce/shop/toplevel.pl?type=category" in parsed file > > >/home/httpd/html/c\ > > >ommerce/shop/index.shtml > > > > > > > > >Derek > > > > > > > > >Pat Eyler wrote: > > > > > > > > Derek, > > > > it should be modules/Yams/cart.pm that gets the fix. Below is the > > >needed > > > > patch , but it's also attached as a file called quickpatch. to use > > > > it do the following > > > > > > > > $ patch Cart.pm < quickpatch > > > > > > > > in the modules/Yams directory. > > > > > > > > -pate > > > > > > > > --- Cart.pm Fri Mar 10 14:02:53 2000 > > > > +++ newcart.pm Tue Mar 14 22:13:34 2000 > > > > @@ -981,7 +981,7 @@ > > > > } > > > > else > > > > { > > > > - $sql .= "ORDER BY sku"; > > > > + $sql .= " ORDER BY sku"; > > > > } > > > > } > > > > > > > > @@ -1135,7 +1135,7 @@ > > > > # Figure out sku to start the previous page on > > > > $sql = "SELECT sku FROM products WHERE department = > > > > $q_department AND sku $op $q_start"; > > > > $sql .= " AND subdepartment = $q_subdepartment" > > > > if(defined($subdepartment)); > > > > - $sql .= "ORDER BY sku DESC LIMIT $products_per_page"; > > > > + $sql .= " ORDER BY sku DESC LIMIT $products_per_page"; > > > > > > > > $sth = &dbsql($DBH, $sql); > > > > my($prev_sku, $temp); > > > > > > > > > > >------------------------------------------------------------------------ > > > > Name: quickpatch > > > > quickpatch Type: Plain Text (TEXT/PLAIN) > > > > Encoding: BASE64 > > > > > >_______________________________________________ > > >Yams-discuss mailing list > > >Yam...@li... > > >http://lists.sourceforge.net/mailman/listinfo/yams-discuss > > > > ______________________________________________________ > > Get Your Private, Free Email at http://www.hotmail.com > > > > _______________________________________________ > > Yams-discuss mailing list > > Yam...@li... > > http://lists.sourceforge.net/mailman/listinfo/yams-discuss > > _______________________________________________ > Yams-discuss mailing list > Yam...@li... > http://lists.sourceforge.net/mailman/listinfo/yams-discuss > |