|
Attention: Last reply in this thread was more than 17 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
Bad Type - File is of the Wrong MIME Type
I am working with the Plesk control panel.
The root tmp file is writable. Still having this error message. Sorry, Buck: Bad Type - File is of the Wrong MIME Type |
#2
|
||||
|
||||
Did you try the code from post nine or post eleven in this thread?
__________________
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
|
|||
|
|||
Still not working
I just updated the 2 files with the patches and it is still not working. Same error message. Thanks for your quick response.
|
#4
|
||||
|
||||
Undo those changes, as I see now that you are getting bad type and not bad file. Instead, look for the following line in the PhotoPlog upload.php file (appears in two spots) and before the first spot add echo 'A'; exit; and before the second spot add echo 'B'; exit; and see what letter appears on screen when you go to upload a file:
Code:
Content visible to registered users only.
__________________
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
|
|||
|
|||
Code:
Content visible to registered users only. |
#6
|
||||
|
||||
The first spot is:
Code:
Content visible to registered users only. Code:
Content visible to registered users only. Code:
Content visible to registered users only. Code:
Content visible to registered users only.
__________________
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
|
|||
|
|||
Got it now
OK, I get the letter B
|
#8
|
||||
|
||||
Okay, undo those changes and then find:
Code:
Content visible to registered users only. Code:
Content visible to registered users only.
__________________
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 |
#9
|
|||
|
|||
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 10004 is not allowed to access /var/www/vhosts/huntingne.com/httpdocs/forum/photoplog/images/1 owned by uid 48 in /photoplog/upload.php on line 174
Warning: getimagesize() [function.getimagesize]: Unable to access /var/www/vhosts/huntingne.com/httpdocs/forum/photoplog/images/1/1_Fishing_4-2007_003.jpg in /photoplog/upload.php on line 176 Warning: getimagesize(/var/www/vhosts/huntingne.com/httpdocs/forum/photoplog/images/1/1_Fishing_4-2007_003.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /photoplog/upload.php on line 176 |
#10
|
||||
|
||||
Okay, you can undo those changes as well.
PhotoPlog requires safe mode to be off. As currently listed in the vBorg release post... Code:
Content visible to registered users only.
__________________
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 |