Hello,

I am running Drupal with the following setup.

mySQL
PHP5
IIS 6.0

I have installed the addari theme and attempted to upload a custom logo. It fails every time with the following message:

* The selected file untitled.jpg could not be uploaded. Only JPEG, PNG and GIF images are allowed.
* The settings have not been saved because of the errors.

I have looked on the forums and tried every folder permissions fix listed just about. Including editing the php.ini file and adding the files/tmp directory to the drupal folder in inetpub. I have checked the file extensions and the images are valid. I am able to upload the image into the theme folder and rename, but I want people without access to the server to be able to change the logo. I installed the upload module and uploading images for posts works fine. Also, uploading for icons works too. The only part that does not work is the uploading of images for the logo portion. I have tried changing the global settings as well. No go. I have emptied my htaccess file as it is not used in IIS. Not sure if completely deleting it would help, but that's the one thing I have not tried.

Not sure what the issue is, but I have tried everything. Maybe there is a bug in 6.10. Maybe something IIS 6.0 related.

Thanks for the help in advanced.

Comments

JetBlackArt’s picture

Status: Active » Needs work
wretched sinner - saved by grace’s picture

Status: Needs work » Postponed (maintainer needs more info)

Hi there,

I have a few questions to ask to help locate the source of the problem:

  1. Is your image called untitled.jpg?
  2. Have you tried with a different file that you know works uploading within a post to confirm if it is an issue with the file or the theme upload?
  3. Can you try changing to the Garland theme, and check to see if you still have the problem also please.

Thanks

Jerome

JetBlackArt’s picture

Jerome,

Thanks for the help first and foremost. This issue has been causing me a headache for the past week. My image I used in that instance was called untitled, but I have used several different images. Even the ones that come default with windows xp (winter.jpg etc..). I have used the post upload and it works just fine. So does the icon upload. I changed the theme to Garland uploaded the logo fine. Does that mean this is a theme related issue? The theme is supposedly compatible with Drupal 6.

Thanks,

Joe

wretched sinner - saved by grace’s picture

Project: Drupal core » Addari
Version: 6.10 » 6.x-1.3
Component: theme system » Code
Status: Postponed (maintainer needs more info) » Active

If it works correctly in Garland, then yes I would say that it is an issue within the Addari theme. Reassigning to their queue so that they can have a look at it for you.

I have assigned it as v1.3 of Addari - please change if you are using a different version.

Also, have you tried with the -dev version of the theme? It could be that it has been fixed since then. I am not familiar with the theme, so cannot be more specific help, unfortunately.

Jerome

Anonymous’s picture

hi guys, i am new to drupal and am having the same problem except i get it with the garland theme as well, even on a fresh install. any ideas?

my setup is:

IIS 5.1
MySQL
PHP 5.2.9
Drupal 6.11

Regards

sakib000’s picture

Status: Active » Closed (fixed)