![]() |
Bad Type - File is of the Wrong MIME Type
Hello,
I'm running into this error: Bad Type - File is of the Wrong MIME Type I don't quite understand why. I seem to be able to load images via the vBulletin Upload feature just fine. The file size seems to be ok. I can't even get it to work on the smallest of images. Any idea what I might be doing wrong? Here is my PhotoPlog: http://www.orangemane.com/photoplog Here is my main board: http://www.orangemane.com/BB/index.php (note, photoplog is not linked here yet) Any assistance you can give is appreciated. |
PhotoPlog isn't able to check the file, probably because PhotoPlog cannot access the file, either from the /tmp or /images directory. Check permissions for both the /tmp and /images directories to see whether PhotoPlog is allowed access.
|
Hmmm... My /tmp file, which is outside of my /httpdocs file (where my site resides) is set to 776, and it says "operation not permitted" when I try to change it. Is there a way I can create a new /tmp folder inside my /httpdocs folder and direct the code to use it instead?
My /images folder inside the /photoplog directory is set at 777. |
There is an upload_tmp_dir option in the php.ini file that'll allow you to change the temporary directory.
|
I just don't have the skills to even do that. Once someone says that I need to start jerking with the php.ini file, I know I have to find a different solution. I've looked and I can't even find my php.ini file.
Thanks anyway. |
If you have access to *nix hell, type locate php.ini and it should tell you where the file is located.
|
I did that, and it says that it's in the /etc folder.
The only problem is, when I get to that folder, and type ll, it's not listed there. When I FTP to that folder, the only programs listed there are "Group" "passwd" and "termcap." |
What happens when you cd /etc and then ls in the /etc directory?
|
All times are GMT. The time now is 04:26 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.