> On Sat, Jan 27, 2007 at 01:17:53PM -0800, Michael Erdmann wrote:
>
>> I found a small bug in TemplateToolkit.pm. After I enabled the
>> Template-Toolkit settings in swish.cgi, my webservers error.log told me:
>> ----------------------------------------------
>> [Thu Jan 25 21:37:17 2007] [error] [client 127.0.0.1] Global symbol
>> "%map_index" requires explicit package name at
>> C:\\SWISH-E\\lib\\swish-e\\perl/SWISH/TemplateToolkit.pm line 140.,
>> referer: http://localhost/cgi-bin/swish.cgi...
>> [Thu Jan 25 21:37:17 2007] [error] [client 127.0.0.1] Global symbol
>> "%map_index" requires explicit package name at
>> C:\\SWISH-E\\lib\\swish-e\\perl/SWISH/TemplateToolkit.pm line 140.,
>> referer: http://localhost/cgi-bin/swish.cgi...
>> [Thu Jan 25 21:37:18 2007] [error] [client 127.0.0.1] Compilation failed
>> in require at C:/Programme/xampp/cgi-bin/swish.cgi line 850., referer:
>> http://localhost/cgi-bin/swish.cgi...
>> ----------------------------------------------
>>
>> So I modified line 134 in
>> \SWISH-E\lib\swish-e\perl\SWISH\TemplateToolkit.pm like this to fix it:
>> my (%map, %map_index); => my (%map, %map_index);
>>
>
> You changes the first line to the second line?
>
> my (%map, %map_index);
> my (%map, %map_index);
>
> Huh?
>
.. sorry, copy & paste problem.
I changed: my (%map, $map_index);
to: my (%map, %map_index);
Received on Sat Jan 27 17:18:52 2007