Bug#869994: work around solution

2018-06-29 Thread Robert J. Clay
On 18 May 2018, Reto Schoch  wrote:
> Your suggested workaround made me once again have a glimpse on the
> developer's website and there I found at the top of the FAQ that he
> meanwhile has a respond to this issue, namely:
> perl 5.26 @INC error If you get something like this instead of the login
> screen

  I also can now see that the author added that information, as well
as the reference URL for the issue, to the SQL-Ledger FAQ. Since I'm
having to patch it anyway for the Debian package and it's being
installed to a known directory, I'm using the example given in that
reference for "Script Authors".

  And it does seems to work, although I'm only able to get as far as
the 'Create Dataset' page because a template selection is required and
that directory is missing any contents in the distribution archive.



-- 
Robert J. Clay
rjc...@gmail.com
j...@rocasa.us



Bug#869994: work around solution

2018-05-13 Thread Reto Schoch
Your suggested workaround made me once again have a glimpse on the
developer's website and there I found at the top of the FAQ that he
meanwhile has a respond to this issue, namely:
perl 5.26 @INC error If you get something like this instead of the login
screen

Can't locate bin/mozilla/login.pl in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
/var/www/html/sql-ledger/login.pl line 119.

add the code below at the beginning of am.pl and login.pl if you have
symlinks to the other files in the root directory, otherwise add it to all
the scripts in the sql-ledger root directory

 BEGIN {
 push @INC, '.';
 }

Also the link inluded in message #10 is there. Unfortunately nothing is
said about the security implictions of his solution.

Am Sa., 12. Mai 2018 um 21:35 Uhr schrieb Tom Higgins :

> I ran into this problem myself and found myself reading this thread.
>
> In message #10 Gregor Herrmann posted a link about the removal of the
> current
> directory in perl-5.26.
>
> The solution to get it back is to add the following directive to the sql-
> ledger-httpd.conf file
>
> SetEnv PERL5LIB "."
>
>
> cheers,
>
> Tom Higgins
>
> --
> To unsubscribe, send mail to 869994-unsubscr...@bugs.debian.org.
>


Bug#869994: work around solution

2018-05-12 Thread Tom Higgins
I ran into this problem myself and found myself reading this thread.  

In message #10 Gregor Herrmann posted a link about the removal of the current 
directory in perl-5.26.

The solution to get it back is to add the following directive to the sql-
ledger-httpd.conf file

SetEnv PERL5LIB "." 


cheers,

Tom Higgins