Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Do you know what type of server your script is running on?

The "can't cd to" message seems to indicate that your script is running as a user that doesn't have the proper permissions to either run the script or more probably browse the directory structure the modules are is...

You might want to move the code that creates the CGI object and prints the headers and start of the table before you're scanning for-loop. That way you'll at least know if *any* part of your script is running.

Update: In fact, the error you're describing seems to be generated by File::Find. which is used by ExtUtils::Installed to traverse the module directories. So it indeed seems that your script is running, but the webserver-user (as which your script runs) doesn't have permissions to traverse the directories where perl modules are stored on your system.

Actually, if the error doesn't specify what directory it can't search that's probably because it doesn't even know where to search. This information is obtained by ExtUtils::Installed from the module Config. So you may want to check if your webuser can properly access Config.


In reply to Re: Why is the Browser Not printing CGI -Output by Gilimanjaro
in thread Why is the Browser Not printing CGI -Output by msk_0984

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-25 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found