llsastre wrote:I've tried it as you say but doesn't work either. It says "Unable to open 'tmp/' for writing: No such file or directory in C:\xampp\htdocs\web\grava_compr.php on line 87"
This folder 'tmp' is in 'web' folder and I've applied write permissions to all, but it doens't work.
I don't know what more can I do.
Paste here the relevant part of the script you have changed.
You can try this:
Create your temp folder in
C:\xampp\htdocs\web
So the path is:
C:\xampp\htdocs\web\temp
In your script where it asks for the path to the Temp folder type the above path like this:
"C:/xampp/htdocs/web/temp/thumbtemp"
I have had a look at the script you are trying to install and perhaps the relevant part you have to change looks like this:
- Code: Select all
# Nombre del archivo temporal del thumbnail
define("NAMETHUMB", "/tmp/thumbtemp"); //Esto en servidores Linux, en Windows podría ser:
// define("NAMETHUMB", "c:/windows/temp/thumbtemp"); y te olvidas de los problemas de permisos
The comments roughly translated:
- Code: Select all
# Name of the temporary file of the thumbnail
define("NAMETHUMB","/tmp/thumbtemp"); //This for Linux servers, in Windows it could be:
// define("NAMETHUMB","c:/windows/temp/thumbtemp"); You forget the problems of permissions
So if you create the temp folder in the above suggested path then this is what the NAMETHUMB entry could look like.
- Code: Select all
define("NAMETHUMB","C:/xampp/htdocs/web/temp/thumbtemp");
...and as the comment tells you "Forget changing the permissions to (777) on Windows". The permissions required are usually already in place.