Drupal 4.7.6
PHP 5.2.1
GD 2.0.28
Modules installed: bueditor, front, imce, inline, menu_per_role, simple_access, systeminfo
Site customization: vbDrupal (only touches user-related tables so far as I know)

All seems well here, until after I have uploaded an image. The file is sitting on the server and I can see it in the Image Browser popup, and clicking the image name reveals the image itself in the Image Browser, but when I click the "add" link to the right, the image simply stops displaying in the Image Browser (but is still listed), and nothing further happens. I can toggle its display on and off in this way, but the add function appears to be where something is breaking.

The $closure variable is in the theme file and my permissions are all set correctly, so I am unclear on where to troubleshoot.

Comments

silurius’s picture

Forgot to mention:

1. This particular behavior is the same in FF 2.0.0.3 and IE 7.0.5730.11.
2. It seems worse in IE, because although I can browse to an image on the local machine, clicking "Upload" takes me to a Page Not Found page in the Image Browser and the image does not upload.
3. Behavior does not change when I uninstall the inline module.
4. Found a clue where writing out an image tag (allowed in input format) to that image, I get:
Validation error, please try again. If this error persists, please contact the site administrator.
5. Permissions on /mysite/forum/files directory are 775, and permissions on the individual files in the user subdir are all 664.
6. I'm seeing an error in my admin logs:

Type	page not found
Date	Friday, April 20, 2007 - 20:26
User	uberpedantic
Location	http://www.mysite.com/imce/upload
Referrer	http://www.mysite.com/imce/browse
Message	imce/upload not found.
Severity	warning
Hostname	(my ip)

(note that the path here is invalid in two ways: (1) there is no "imce" folder inside the root of my site and (2) there is no "upload" or "browse" subfolder inside my imce folder.

ufku’s picture

imce/browse and imce/upload are drupal paths and are valid. Besides that, they shouldnt give page not found error if IMCE is enabled and working.
I cant figure out what's wrong with your installation. You may try enabling/disabling/reinstalling modules or create a test site(first installing imce, then others) to compare it with your current site.

will kirchheimer’s picture

Make sure your input type is set to non filtered html. PHP and filtered won't show the file

ufku’s picture

Status: Active » Closed (won't fix)