[Koha] Dealing with error 500

Arnold danielagaba at yahoo.co.uk
Mon Nov 4 23:22:14 NZDT 2013


> 
> Does your new pages.pl have the same permissions as the 
> /usr/share/koha/opac/cgi-bin/opac/opac-main.pl that you copied from?
> 
> P.

Hi, 

Thanks for the help, the permissions were not the same for both files.
Though now when i try to display a page, it displays 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'); 





More information about the Koha mailing list