[Chameleon] LocateByAttribute problem
Julien-Samuel Lacroix
jlacroix at mapgears.com
Mon Mar 13 17:08:02 EST 2006
Hi,
Did you named the directory "LocateByAttribute" by respecting the case?
The case on linux is important. Other than that, I would try to
copy/paste the path to make sure the widget file exist at the right
place. Try:
$ ls
/var/www/html/maps/chameleon/htdocs/widgets/LocateByAttribute/LocateByAttribute.widget.php
Julien
PS: Prior to 1.99 (don't remember when exactly), the widget files where
not separated by directory, I suppose it's not the case in your version.
Matthew Edmondson wrote:
> After obtaining the LocateByAttribute widget i copied the files into
> the proper directory (which was already there, but empty) on my ms4w
> install and it worked great.
>
> I copied the files to a server install (running red hat enterprise)
> which didn't have a directory already in place for the
> LocateByAttribute widget, so I had to make it. The widget is not
> working and gives the following error.
>
> <!-- ERRORS
> /var/www/html/maps/chameleon/htdocs/widgets
> ERROR: Widget Definition for class 'LocateByAttribute' not found (tag
> is <cwc2 type="LocateByAttribute"
> searchall="true" pointzoombuffer="500"
> height="90" width="400" highlight="true"
> allowdownload="true" popup="true"
> linktext="Locate By Atts" VISIBLE="TRUE"/>).
> -->
>
> I suspect it may be that the server is running an older version of
> Chameleon ( I thought 2.0, and according the chameleon.php (major 1,
> minor 99, point 0, state beta 3), or that the server needs to be
> reset, but I'm not sure. Any ideas would be helpful.
>
> Thanks,
>
> Matt
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
More information about the Chameleon
mailing list