From: Ken Y. C. <kc...@cs...> - 2003-06-18 23:32:18
|
On Wed, 18 Jun 2003, Shu Li wrote: > hi Ken, > how are you? I'm great! How are you? > I installed cmap-0.07, and tried to make it work for sybase 12.5. > looks good. but I had three problems: > 1. on the bottom of some of the pages, it shows: > HTTP/1.1 200 OK Date: Wed, 18 Jun 2003 23:10:39 GMT Server: > Apache/1.3.27 (Unix) mod_perl/1.27 Set-Cookie: > CMAP_USER_PREF=highlight%3d%3bimage_size%3dsmall%3bfont_s- > ize%3dsmall%3bimage_typ e%3dpng%3blabel_features%3dall%3bdata_source%- > 3d%3bcollapse_features%3d; path=/; expires=Thu, 17-Jun-2004 23:10:39 > GMT Set-Cookie: CMAP_USER_PREF=highlight%3d%3bimage_size%3dsmall%3bfo- > nt_size%3dsmall%3bimage_typ e%3dpng%3blabel_features%3dall%3bdata_sou- > rce%3d%3bcollapse_features%3d; path=/; expires=Thu, 17-Jun-2004 > 23:10:39 GMT Connection: close Content-Type: text/html Hmm, it's printing out the cookie information, it seems, which may mean that an extra header is getting sent somewhere. Can you tell me precisely which pages it's doing this on? And is it consistent? > 2. it shows:Admin Error No cache dir; Using '/tmp/cmap_cache > but i had Alias /cmap/images /home/sl/cmap_img in httpd.conf But CMap apparently doesn't know to use "/home/sl/cmap_img." Be sure to set "cache_dir" in cmap.conf and let me know if it works for you. > 3. when i click view map set i got: Expression '7' and '8' in the ORDER BY > list are same. Expressions in the ORDER BY list must be unique Is this in the admin tool? Can you tell me exactly which link on which page triggers this error? I just need the part of the URL starting with "/cmap/..." to know where to look in the code. If a field is duplicated in an ORDER BY clause, I guess Sybase is pickier about that, because Oracle, MySQL and PostgreSQL haven't complained! HTH, ky |