Skip to main content.
home | support | download

Back to List Archive

[swish-e] Swish-e.cgi Template config

From: Dan Lobo <dan.lobo(at)not-real.cot.co.uk>
Date: Thu Apr 24 2008 - 13:37:38 GMT
Following my previous post, I mentioned that I was getting the following errors:

[Thu Apr 24 08:21:36 2008] [error] [client 217.207.158.141] /var/www/vhosts/cot.org.uk/cgi-bin/swish.cgi Global symbol "%map_index" requires explicit package name at /usr/local/lib/swish-e/perl/SWISH/TemplateToolkit.pm line 138.

        $map_index{$indexes->[$_]} = $_;

[Thu Apr 24 08:21:36 2008] [error] [client 217.207.158.141] Global symbol "%map_index" requires explicit package name at /usr/local/lib/swish-e/perl/SWISH/TemplateToolkit.pm line 140.

    @default = map exists $map_index{$_} ? $map_index{$_} : 0, @default;

[Thu Apr 24 08:21:36 2008] [error] [client 217.207.158.141] Global symbol "%map_index" requires explicit package name at /usr/local/lib/swish-e/perl/SWISH/TemplateToolkit.pm line 140.

    @default = map exists $map_index{$_} ? $map_index{$_} : 0, @default;

[Thu Apr 24 08:21:36 2008] [error] [client 217.207.158.141] Compilation failed in require at /var/www/vhosts/cot.org.uk/cgi-bin/swish.cgi line 851.

    eval { require "$package.pm" };
When I did search on Google for:
Global symbol "%map_index" requires explicit package name at 
It came back with 
http://swish-e.org/archive/2007-01/11203.html
I then changed :
my (%map, $map_index);
to: my (%map, %map_index);

Now this problem seems to have disappeared and is replaced with:

[Thu Apr 24 08:31:22 2008] [error] [client 217.207.158.141] Template process failed for page 'swish.tt' file error - swish.tt: not found

I also get a blank screen!

Regards, 

Dan 








- ---------------------------------------------------------------
DISCLAIMER

This e-mail transmission, including any attachments, is strictly confidential and intended solely for the addressee. It may contain private and confidential information and, if you are not the intended recipient, any review, retransmission or other use of, or taking any action in reliance upon, this information is prohibited.
The views expressed in this e-mail are those of the originator and not necessarily the views of BAOT / COT
If you have received this e-mail in error, please contact the sender and delete the material from any computer.
BAOT / COT has taken steps to ensure that this e-mail and attachments are free from any virus. In keeping with good computing practice, the recipient should carry out their own virus checks.
Please note that this e-mail has been created in the knowledge that internet e-mail is not a 100% secure communication medium. We advise that you understand this lack of security and take any necessary measures when e-mailing us.
BAOT / COT reserves the right to read any e-mail or attachment entering or leaving its systems from any source without prior notice.


INFORMATION ABOUT BAOT / COT

BAOT:   The British Association of Occupational Therapists Limited is a company limited by guarantee and registered in England (Company number 392350).

COT:   The College of Occupational Therapists Limited is a company limited by shares and registered in England (Company number 1347374). The College is also a registered charity in England and Wales (Charity number 275119).

The registered office of both BAOT and COT is 106-114 Borough High Street, Southwark, London, SE1 1LB.

- ---------------------------------------------------------------

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Apr 24 09:36:29 2008