In FireFox 1.5 (but not Safari) under Mac OS 10.3.9. While playing with a theme modified from B7 I encountered the following odd problem:

When I went to submit or edit a node, the title and body would get updated, but uploaded files would not be attached (see: http://drupal.org/node/64627 ).

This was especially odd, since the files seemed to attach fine- file browser opens, upload bar goes, file appears in list, etc.

After much frustration, I discovered that the problem was the fact that I had unchecked the "Use the default shortcut icon." box, but had not supplied an alternative file. Even though the displayed page looks fine (and includes the page title at the top of the window), the page source showed this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <title>Access denied | Test Site</title>
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="all">@import "/misc/drupal.css";</style><link rel="shortcut icon" href="" type="image/x-icon" />
  <style type="text/css" media="all">@import "/themes/test-theme/style.css";</style></head>

Seems like there needs to be a check that the file name is valid if the "use default" is unchecked? Can someone explain how this happens?

Comments

pwolanin’s picture

Component: base system » theme system
Status: Active » Closed (duplicate)

Duplicate issue here: http://drupal.org/node/65153