[ic] search error: Limit subroutine creation

Joachim Leidinger interchange-users@interchange.redhat.com
Mon Nov 26 06:04:01 2001


"Stefan Hornburg (Racke)" wrote:
> 
> Joachim Leidinger <jojo@blackpoint.de> writes:
> 
> > "Stefan Hornburg (Racke)" wrote:
> > >
> > > Joachim Leidinger <jojo@blackpoint.de> writes:
> > >
> > > > Hi List,
> > > >
> > > > I've trouble to try out the reason of the following error messages:
> > > >
> > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100]
> > > > intos
> > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI
> > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit
> > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI
> > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator
> > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/:
> > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1.
> > > > >
> > >
> > > Try
> > >
> > > [area href=scan arg="va=Se..
> > > sp=kresults_esay
> > > ..."]
....
> Look at the URL IC generates from the code above and write a function
> in your script which creates the same URL. You need to use sth like
> URI::Escape for spaces etc. in the search specs.

I've trieb both! 
First with:

<A HREF="[area href=scan arg="va=katalogseite=66
va=group=Festplattenwechselrahmen
va=subgroup=SCSI III (UW & U2W) Festplattenwechselrahmen
va=Selektionskz=0
sp=kresults_easy2G
tf=RN:n
co=yes
sf=Gruppe
se=Festplattenwechselrahmen
su=yes
sf=Untergruppe
se=SCSI III (UW & U2W) Festplattenwechselrahmen
su=yes
"]">TEST  </A>

http://www.bpa.leidinger.local/cgi-bin/intos/scan/va=katalogseite%3d66/va=group%3dFestplattenwechselrahmen/va=subgroup%3dSCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/va=Selektionskz%3d0/sp=kresults_easy2G/tf=RN%3an/co=yes/sf=Gruppe/se=Festplattenwechselrahmen/su=yes/sf=Untergruppe/se=SCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/su=yes.html

I get an emtpy field! 

---- snip --------
Katalogseite 66

                                Gruppe: 
                                     Festplattenwechselrahmen
                           Untergruppe: 
                                     SCSI III (UW & U2W)
Festplattenwechselrahmen
the rest is empty
---- snip --------

But with

http://www.bpa.leidinger.local/cgi-bin/intos/scan/va=katalogseite%3d66/va=group%3dFestplattenwechselrahmen/va=subgroup%3dSCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/va=Selektionskz%3d0/sp=kresults_easy2G/tf=RN%3an/co=yes/sf=Gruppe/se=Festplattenwechselrahmen/su=yes/sf=Untergruppe/se=SCSI
III (UW & U2W) Festplattenwechselrahmen/su=yes.html

I get the whole right page. It seems to me, the first error is in my
perl script, because ein char "&" is using into my variable and i get an
empty group name. I've tried 

    $urlgroup = uri_escape($group);
    $urlsubgroup = uri_escape($subgroup);

with the exact same URL as the above area codes and get the same empty
page. It seems to me, IC did not use a uri_unescape($anyvar) to find the
right items. Or did IC it?

Thank you a lot for more helps, suggestions and tips.

Joachim


-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de