PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Bad Type - File is of the Wrong MIME Type (http://www.photoplog.com/forum/showthread.php?t=916)

wobbly 01-21-2007 10:22 AM

Bad Type - File is of the Wrong MIME Type
 
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:
Code:

find YOUR_PHOTOPLOG_IMAGES_DIR -type d | xargs chmod 777

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.


All times are GMT. The time now is 09:46 PM.

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