My server no longer allows for a temp directory to be used so i can't get the upload script or the inline script to talk to each other because it can't get past the upload part in the tmp directory to later be moved to the more permanent directory when the node is submitted.

system/files?file=digg.JPG is an example of where files are being saved temporarily. That doesn't work. I need it to save somewhere else.

Comments

LukeLast’s picture

I'm not exactly sure what your question is.
Here is the temp upload setting for PHP as found in php.ini

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:\php\temp

And the drupal temp directory is defined under settings->File system settings.

Zethris1’s picture

Ok changed that, I will try it.

What is weird is that it sometimes works, and then sometimes it doesn't. powweb just must have recently changed some things, but whatever it is, I need it to pull from a directory, and not from a strange url.

One thing I did notice is that pictures that are uploaded already will show now with the inline module as I want them to, and all I did was turn off the private download. So obviously that is a directly related conflict. Maybe inline should bypass that somehow?

ANyways, I will try right now to upload a test story with a picture to see if it works now. ...Bingo! that works and I can upload again. There seems to be a conflict somewhere in combination with the server limitations that powweb does and conflicting with the upload script and the inline viewer when it's in private mode.

THanks for the help,
Zethris

Visit http://www.thinkingpost.net to add your thoughts and ideas to the community.

Zethris1’s picture

go here and you will see my problem:

http://thinkingpost.net/system/files/?file=digg.JPG

Visit http://www.thinkingpost.net to add your thoughts and ideas to the community.