PDA

View Full Version : Bad Type - File is of the Wrong MIME Type


wobbly
01-21-2007, 10:22 AM
Sorry to bother you and thanks for a great site.

I moved hosts and upgraded to 3.6.4 at the same time and havent been able to get photoplog running again.

I have safe mode disabled and GD running and checking the phpinfo is states

safe_mode off

upload_tmp_dir no value ?????

and

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


Can't upload as wrong MIME type displayed no matter what I do.

Any ideas?

Morgan
01-21-2007, 02:51 PM
The PhotoPlog images directory and all the directories within the PhotoPlog images directory need to have 777 permissions. This means the images directory, the userid directories within the images directory, and the small, medium, and large directories within the userid directories within the images directory. On a *nix server, to set 777 permissions in one go via hell, cd to your PhotoPlog images directory, and then type the following:
Content visible to registered users only.

wobbly
01-21-2007, 04:19 PM
thank you morgan for your prompt reply.

Will that set all new directories made to 777 as well?

wobbly
01-21-2007, 04:55 PM
Many thnaks, that solved my problem.

Morgan
01-21-2007, 08:17 PM
PhotoPlog will 777 new directories automatically. Your directories lost their 777 when you moved hosts is all.