Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(shockme) Re: Re: Command Line Output Different from Output to Browser

by shockme (Chaplain)
on Mar 26, 2002 at 01:58 UTC ( [id://154299]=note: print w/replies, xml ) Need Help??


in reply to Re: Command Line Output Different from Output to Browser
in thread Command Line Output Different from Output to Browser

I thought the same. The scripts are in ./ - but just to be sure, I tested with the full path name to the scripts (i.e., require("/www/htdocs/cgi-bin/......"). The result is the same.

If I remove the require statements and cut-and-paste the contents of the require'd scripts into the main script, it works fine. There seems to be something peculiar about printing from the require'd script that's escaping me.

If things get any worse, I'll have to ask you to stop helping me.

  • Comment on (shockme) Re: Re: Command Line Output Different from Output to Browser

Replies are listed 'Best First'.
Re: Re: Re: Command Line Output Different from Output to Browser
by IlyaM (Parson) on Mar 26, 2002 at 10:52 UTC
    It could be permission problem. When CGI is run it often runs with another UID. Check permissions of required files.

    --
    Ilya Martynov (http://martynov.org/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://154299]
help
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-19 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found