Syntax error in pages.pl
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');
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@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@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
hi, check here here http://smoumie.blogspot.in/2013/09/add-internal-page-to-koha.html ----- Nikumbh A Maratha Library Pune, Maharashtra - 411 062 -- View this message in context: http://koha.1045719.n5.nabble.com/Syntax-error-in-pages-pl-tp5777216p5780401... Sent from the Koha-general mailing list archive at Nabble.com.
participants (3)
-
Arnold -
Nikumbh A -
Tomas Cohen Arazi