Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
Hi
Just tried to upload my first image and was met with this error:
'Missing a temporary folder'

I assume Couch looks for a tmp folder.

My host has put a tmp folder before the root directory. e.g.
Root directory = /home/1-web/18/3c/mywebsite.com.au/public/www
tmp directory = /home/1-web/18/3c/mywebsite.com.au/tmp

I don't have access to the php.ini so I can't change this.

Does anyone know a workaround?

Simon66
Hi Simon,

I don't have access to the php.ini
Unfortunately, it would require making changes to php.ini and also creating a tmp folder with the proper permissions.

I suggest you please contact your host and ask him to set this issue right.
Hi KK thanks for the reply,
The tmp folder I indicated above has the proper permissions. This is the line from phpinfo:
Code: Select all
upload_tmp_dir - /home/ec/eco/mywebsite.com.au/tmp/


It works as the tmp folder with other CMSs on the same host.

Is there any way I can manually set the path to the tmp folder in Couch?

Simon66
Couch doesn't work directly at that level, Simon.
The error is being returned by KCFinder (or the other fileuploader) while trying to temporarily save an uploaded image - the error being originally raised by PHP's file moving functions.

Not sure how I can help you with this issue. If you wish you can allow me access to your setup and I'll try to see if we can do anything about it.
Thanks KK
I tried Couch on a different hosting package and the upload worked perfectly.

I have a reseller account and hosting packages get set up automatically when I purchase a domain name.
By some bizarre cosmic coincidence the hosting package I put my first copy of Couch on had an error in the upload_tmp_dir path.

So all fixed now.

Thanks again for the help, and sorry to have wasted your time.

Simon66
Not a problem at all, Simon :) I'm glad the problem is resolved.
6 posts Page 1 of 1