homer09001 Posted May 29, 2009 Report Share Posted May 29, 2009 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 29, 2009 Administrators Report Share Posted May 29, 2009 Is there an error message? Need some more info to go on Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 29, 2009 Author Report Share Posted May 29, 2009 Sorry no error messages just a broken image placeholder in the pilot center, and no uploaded image? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 29, 2009 Administrators Report Share Posted May 29, 2009 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? Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 29, 2009 Author Report Share Posted May 29, 2009 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. Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 29, 2009 Author Report Share Posted May 29, 2009 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 Quote Link to comment Share on other sites More sharing options...
roboa Posted May 29, 2009 Report Share Posted May 29, 2009 Try using .png format Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 29, 2009 Administrators Report Share Posted May 29, 2009 Was it working in the past? Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 29, 2009 Author Report Share Posted May 29, 2009 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 30, 2009 Administrators Report Share Posted May 30, 2009 Interesting. And th efolder you said is 777? I'll take a look.. Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 30, 2009 Author Report Share Posted May 30, 2009 yep, if you like i can give you FTP access and login details for the site? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 30, 2009 Administrators Report Share Posted May 30, 2009 You can PM them but I might not get to it for a few days... well , maybe tomorrow Quote Link to comment Share on other sites More sharing options...
wrenchca Posted May 30, 2009 Report Share Posted May 30, 2009 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 Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 30, 2009 Author Report Share Posted May 30, 2009 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 30, 2009 Administrators Report Share Posted May 30, 2009 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 Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 30, 2009 Author Report Share Posted May 30, 2009 I'll try it when I get home got 2 1/2 hours left at work Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 30, 2009 Author Report Share Posted May 30, 2009 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 30, 2009 Administrators Report Share Posted May 30, 2009 What's the size of the one you're using now? Might have to replace that code with something else I've been using Quote Link to comment Share on other sites More sharing options...
homer09001 Posted May 30, 2009 Author Report Share Posted May 30, 2009 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 30, 2009 Administrators Report Share Posted May 30, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.