Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: XLSX tmp file error

by bitingduck (Chaplain)
on Mar 02, 2012 at 15:29 UTC ( [id://957500]=note: print w/replies, xml ) Need Help??


in reply to XLSX tmp file error

You should look in your error logs to see if it tells you why you can't open the file, but my first guess would be a permissions problem. When you do it from the command line you're doing it in a directory that you created, so you have read/write permission. When the browser is doing it through CGI it's running as another user (probably www or something similar) and for (hopefully obvious) security reasons the www user is limited in what directories it can read/write.

Try creating either a subdirectory in your cgi directory, or one somewhere in below the DocumentRoot for the webserver, and make sure it has the permissions set so the server can write to it

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found