|
Attention: Last reply in this thread was more than 18 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
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. Last edited by Taco John; 06-18-2006 at 06:50 PM.. |
#4
|
||||
|
||||
There is an upload_tmp_dir option in the php.ini file that'll allow you to change the temporary directory.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
If you have access to *nix hell, type locate php.ini and it should tell you where the file is located.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#7
|
|||
|
|||
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." |
#8
|
||||
|
||||
What happens when you cd /etc and then ls in the /etc directory?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bad Type - File is of the Wrong MIME Type | Roadster1981 | Troubleshooting & Problems | 1 | 03-14-2009 01:33 PM |
photoplog error- Bad Type - File is of the Wrong MIME Type | weedheaven | Troubleshooting & Problems | 10 | 02-20-2007 05:21 PM |