When I temporarily altered the die message at the bottom to add in the value of $@, I got the following:
Could not load Locale::Maketext::Lexicon: Cannot read D:\WAMP\Apache\A +pache2\htdocs\TopTable\Test\TopTable\root\locale\en_GB (called by Top +Table::Maketext): Permission denied at D:/WAMP/Perl/perl/site/lib/Cat +alyst/ScriptRunner.pm line 50.
I'm at a loss as to why this message is stopping it; the perl process is running under my logged in session and I can access the directory and the files in it without an issue; I've also (temporarily) given 'Everyone' modify access to the directory (although I'm sure it should only need to read) and that hasn't had any effect.

I would assume that the user that your Apache server runs as does not have read access to that directory. Maybe you want to investigate the groups that user is in and whether D: is a network mounted device and/or the Apache user account is a system account.

Also, from the appearance of htdocs in the path, it seems to me as if Apache might serve the contents of D:\WAMP\Apache\Apache2\htdocs\ and lower to the outside world. This strikes me as ill thought through.


In reply to Re: Locale::Maketext::Lexicon not loading (Windows): permission denied by Corion
in thread Locale::Maketext::Lexicon not loading (Windows): permission denied by mkchris

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.