For some reason I can’t get avatars working for some reason? The avatars folder is set to 777 but it still doesn’t seem to work?
Is there an error message? Need some more info to go on
Sorry no error messages just a broken image placeholder in the pilot center, and no uploaded image?
What’s the path?
In the lib/avatars folder, did it write anything?
What kind of image did you try? Can you try a different type?
What’s the path?
In the lib/avatars folder, did it write anything?
What kind of image did you try? Can you try a different type?
If I remember rightly the broken image pointed to the avatars folder, I was trying jpgs and no file was written to the folder, I’m at work at the moment, will be finished in an hour and a half so will try anouther format when I get home.
Ok i have tried the following formats:
.bmp - obviously didn’t work
.jpg - no upload
.gif - again no upload
and for all types no files were to be found in the Avatars folder?
the url the image placeholder in the pilot center is pointing to:
http://ge.dth-scripts.com/OpsCenter/lib/avatars/GLE0011.png
OpsCenter being the base folder of PHPVMS
Try using .png format
Was it working in the past?
It’s not worked since i installed, I’ve tried it on 3 different installation and it doesn’t work on any.
.png - no upload.
Interesting. And th efolder you said is 777?
I’ll take a look..
yep, if you like i can give you FTP access and login details for the site?
You can PM them but I might not get to it for a few days… well , maybe tomorrow
I had no success either the first few times until I resized it to 80x80 pixels and saved it in png format. I think the auto-resize was not working.
Chuck
CYXU
I had no success either the first few times until I resized it to 80x80 pixels and saved it in png format. I think the auto-resize was not working.
Chuck
CYXU
Hhhm think I’ll try uploading an 80x80 later when I get home, so far all the images I try are larger than that.
Is error reporting on? What’s your error level in the local.config?
Try using just E_ALL then uploading an image, might give a clue
I’ll try it when I get home got 2 1/2 hours left at work
Is error reporting on? What’s your error level in the local.config?
Try using just E_ALL then uploading an image, might give a clue
its set to: Config::Set(‘ERROR_LEVEL’, E_ALL ^ E_NOTICE);
no error messages show on the page at all.
if i resize the image to 80x80 then upload it works just as wrenchca mentioned which would suggest its a problem with the image resizing.
What’s the size of the one you’re using now?
Might have to replace that code with something else I’ve been using
i used an 80x80 and it worked, probly because it didn’t need to resize it?
ive tried 160x160 and it did upload, and i’ve tried 90x90, and 90x89 and it uploads them all :S
what i can’t understand is it wont upload and resize: 1030x784?
The image size is probably too large, your apache has a setting for maximum file size. I think my limit is 400k or so, because of the memory it uses