PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #1  
Old 06-18-2006, 02:44 AM
Taco John Taco John is offline
Green Plog
 
Join Date: Jun 2006
Posts: 4
Gallery: 0
Comments: 0
Default 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.
Reply With Quote
  #2  
Old 06-18-2006, 11:57 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

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
Reply With Quote
  #3  
Old 06-18-2006, 05:47 PM
Taco John Taco John is offline
Green Plog
 
Join Date: Jun 2006
Posts: 4
Gallery: 0
Comments: 0
Default

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 05:50 PM..
Reply With Quote
  #4  
Old 06-18-2006, 06:42 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

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
Reply With Quote
  #5  
Old 06-19-2006, 04:31 AM
Taco John Taco John is offline
Green Plog
 
Join Date: Jun 2006
Posts: 4
Gallery: 0
Comments: 0
Default

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.
Reply With Quote
  #6  
Old 06-19-2006, 07:03 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

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
Reply With Quote
  #7  
Old 06-19-2006, 09:14 PM
Taco John Taco John is offline
Green Plog
 
Join Date: Jun 2006
Posts: 4
Gallery: 0
Comments: 0
Default

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."
Reply With Quote
  #8  
Old 06-22-2006, 02:34 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

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
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 12:33 PM
photoplog error- Bad Type - File is of the Wrong MIME Type weedheaven Troubleshooting & Problems 10 02-20-2007 04:21 PM


All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.