UBB.Dev
I keep getting a CGI open of tmpfile: Permission denied error when trying to upload a file. I thought it may have something to do with XP-Pro. I am the server admin, so I gave the uploads folder full control and tried everything. A quick search of usenet suggest this may acually have something to do with the user's PC, not the server. Thanks in advance!

I'm lost! help
You running on a *nix or NT box?
quote:
Originally posted by BassTeQ:
You running on a *nix or NT box?

The server is running Windows 2000 Server, I have Windows XP Pro locally.
Hmm strange, I doubt it would have anything to do with the clients PC, more like a server issue. Is the the file read only? Does the user EVERONE have full access to this tmp directory where the tmp files are being created?
quote:
Originally posted by BassTeQ:
Hmm strange, I doubt it would have anything to do with the clients PC, more like a server issue. Is the the file read only? Does the user EVERONE have full access to this tmp directory where the tmp files are being created?

Where are tmp files stored on the web server?
Here is the exact message, I added "everyone" with read/write to the temp directory and it didn't work.

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

CGI open of tmpfile: Permission denied
Im not very familiar with this hack, but did you set it up correctly? Is there a config area where u define the path that points where this temp file will be stored??
quote:
Originally posted by BassTeQ:
Im not very familiar with this hack, but did you set it up correctly? Is there a config area where u define the path that points where this temp file will be stored??

I am sure it is all set up correctly because you can click on the View/Delete files and it created a folder for the specified user in the "uploads directory" that is part of the setup. However there is no configuration for a temp directory. I know the paths are correct because I am the server admin too.

$ubbNonCGIPath = "/usr/home/dpstele.com/htdocs/ubb"; ## COPY: $NonCGIPath
$ubbMembersPath = "/usr/home/dpstele.com/htdocs/cgi-bin/Members"; ## COPY: $MembersPath
$ubbCGIURL = "http://www.dpstele.com/cgi-bin/ubb"; ## COPY: $CGIURL
$ubbNonCGIURL = "http://www.dpstele.com/ubb"; ## COPY: $NonCGIURL

$UploadDir = "uploads";
Sorry I cant really be of much more help, as I mainly deal with UBB on *nix servers not NT.
I know this hack does work on *nix servers so it may be a server bassed issue rather then a coding based one.
Sorry, I'm not familiar with NT setups either. You've probably done this but just in case... did you add those paths to UltBB.setup?
For the record, this has been solved here:

http://www.movabletype.org/support/index.php?act=ST&f=10&t=9869

Two years late, I know. wink
heheh, that's dedication wink
© UBB.Developers