[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Online editing of Templates ?



On Sun, Mar 11, 2012 at 7:17 PM, Robert James Clay <..hidden..> wrote:
> On Sun, 2012-03-11 at 21:01 -0400, Chris Travers wrote:
>> On Sun, Mar 11, 2012 at 5:52 PM, Robert James Clay <..hidden..> wrote:
>> >     I'm making progress with the LedgerSMB Debian package but I think
>> > there's something wrong with how it's currently installing because the
>> > online editing of Styleheets and Templates isn't working.  (Testing is
>> > on a current Debian Wheezy installation, with Perl v5.14 and PostgresSQL
>> > v9.1.)
>> >  In my current test install (1.3.12-1~2, r433 at [1]);  I was checking
>> > the menu items & found that although they're available, attempting to
>> > use them results in the following error page:
>> > --------------------------------------------------------
>> > Error!
>> >
>> > Template not found.
>> > Perhaps you meant to edit the default template instead?
>> > --------------------------------------------------------
>>
>> This is a standard tarball install?
>
>  Well, no;  as noted above the installation is by the debian packaging.
> Is the default assumption of the app, that everything is available in or
> off of the main installation directory?  The package is installing most
> everything to /usr/share/ledgersmb, except:  The css directory is going
> to /var/lib/ledgersmb/css, & the templates directory is going
> to /etc/ledgersmb (left over from pre 1.3, IIRC, but installing the
> current empty directories).  I thought I had those referenced in the
> configuration for where they're installed but I'm wondering if that's
> actually true and all that is needed for it.

I think you will trigger directory transversal checks in this case,
but at least it tells us what the problem is.

Please file a bug for this one too.

Best Wishes,
Chris Travers