[Koha] Syntax error in pages.pl
Tomas Cohen Arazi
tomascohen at gmail.com
Wed Nov 6 01:02:02 NZDT 2013
Replace the occurrences of $cgi for $input. Or whatever the name of a
variable is in a line that looks like this at the top:
my $input = new CGI;
Regards
To+
P.S. I'm not sure what version of Koha are you using.
On Tue, Nov 5, 2013 at 3:25 AM, Arnold <danielagaba at yahoo.co.uk> wrote:
>
> Hi,
>
> After following the steps to set up koha as a CMS, i followed the steps
> (creating pages.pl, etc) but on testing page i created, i get the
> following
> error;
>
> Global symbol "$cgi" requires explicit package name at
> /usr/share/koha/opac/cgi-bin/opac/pages.pl line 63
> syntax error at /usr/share/koha/opac/cgi-bin/opac/pages.pl line 68, near
> "){"
> Execution of /usr/share/koha/opac/cgi-bin/opac/pages.pl aborted due to
> compilation errors
>
> where line 63 is;
>
> my $page = "page_" . $cgi->param('p');
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
--
Tomás Cohen Arazi
Prosecretaría de Informática
Universidad Nacional de Córdoba
✆ +54 351 4333190 ext 13168
GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
More information about the Koha
mailing list