I have "Upload Error: 406", but mod_security is off and images directory have 775. What is it?

Comments

Daniel A. Beilinson’s picture

Error_log:
[Mon Jan 12 16:24:52 2009] [error] [client 91.76.211.165] File does not exist: /var/www/apache2/html/fupload
[Mon Jan 12 16:30:04 2009] [error] [client 91.76.211.165] no acceptable variant: /var/www/apache2/html/index

grandcat’s picture

Status: Active » Postponed (maintainer needs more info)

Mod_Rewrite seems to be misconfigured. Disable "Clean URLs" and try again.

Daniel A. Beilinson’s picture

Mod_rewrite and clean urls are disabled.

Daniel A. Beilinson’s picture

Sorry, mod_rewrite is on, but clean urls is off.

grandcat’s picture

Open /node/add/image and post the source code, please.

Daniel A. Beilinson’s picture

grandcat’s picture

The source code seems to be fine, give some more detail error logs.

Daniel A. Beilinson’s picture

I try to update another image and get this error: [Tue Jan 20 13:08:51 2009] [error] [client 85.140.106.178] no acceptable variant: /var/www/apache2/html/index
and nothing else.
I can give you account for this site, what do you think?

grandcat’s picture

Perhaps this will help.
Have a look at these 2 other issuses which are fixed now:

grandcat’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No response for so long, I will close this issue.

Daniel A. Beilinson’s picture

Version: 6.x-3.x-dev » 6.x-3.0-rc2
Category: support » bug
Status: Closed (fixed) » Active

Hello! Sorry for the delay. I found this error again.
My settings: clean urls - disable, mod_security - disable.
I have filefield 3.0, imagefield 3.0, image_fupload 6-3.0-rc2 and cck 2.2. I also tried cck 2.x-dev.
When i try to upload image i have "upload error: 406" and when i pressed button "save" i have wsod. Php log shows this message: "PHP Fatal error: Cannot unset string offsets in /var/www/apache2/html/sites/all/modules/cck/cck/content.module on line 1242, referer: http://example.com/?q=node/6/edit"
What can i do?

grandcat’s picture

Category: bug » support
Status: Active » Closed (fixed)

Not a bug of FUpload. There's a conflict with CCK which you have to solve firstly.

Daniel A. Beilinson’s picture

Project: Image FUpload » Content Construction Kit (CCK)
Version: 6.x-3.0-rc2 » 6.x-2.3
Component: Miscellaneous » content.module
Category: support » bug
Status: Closed (fixed) » Active

Hi! What can you say about problem from #11?

karens’s picture

Status: Active » Closed (won't fix)

The CCK maintainers do not have time to debug every other module that uses CCK. If the module maintainer thinks they have found a bug in CCK they can report exactly what it is with enough information to do something about it.

Daniel A. Beilinson’s picture

Thanx. I'm not mantainer, but i'm user who want to use cck and that module. I think this problem came from php settings, because only i reacived this error.
Maybe you know something about this error and server settings?

Daniel A. Beilinson’s picture

Project: Content Construction Kit (CCK) » Image FUpload
Version: 6.x-2.3 » 6.x-3.0-rc2
Component: content.module » Miscellaneous
Status: Closed (won't fix) » Active

There isn't cck bug. I receive this content error after fupload's 406 error. So i think this's normal.

grandcat’s picture

If there's a 406, of course, there will be also other error messages. But this has nothing to do with the original topic.