Project:jUpload for Imagefield
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I'm getting a 404 Error when an upload finishes. Click submit to see if any images are there, nothing. Double checked the file directory, and nothing there either. Checked the logs, and don't see anything of note.

Comments

#1

What operating system? There are some problems with mamp.

#2

same issue here, xp xampp
any suggestions?


00:50:29.750 [DEBUG] ======= Parameters managed by PictureUploadPolicy
00:50:29.750 [DEBUG] fileChooserImagePreview: true
00:50:29.750 [DEBUG] highQualityPreview : false
00:50:29.750 [DEBUG] pictureCompressionQuality : 0.8
00:50:29.750 [DEBUG] pictureTransmitMetadata : true
00:50:29.750 [DEBUG] storeBufferedImage : false
00:50:29.750 [DEBUG] targetPictureFormat : null
00:50:29.750 [DEBUG]
00:50:42.015 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 404 Not Found (Received HTTP status 404 Not Found)
00:50:42.031 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 404 Not Found
00:50:42.031 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:554)
00:50:42.031 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
00:50:42.031 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:496)
00:50:42.031 [DEBUG] FileUploadThread: within run().finally
00:50:42.046 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
00:50:42.078 [DEBUG] PicturePanel.paint(): offscreenImage is null
00:53:14.203 [DEBUG] PicturePanel.paint(): offscreenImage is null
00:53:14.234 [DEBUG] PicturePanel.paint(): offscreenImage is null
00:53:14.250 [DEBUG] PicturePanel.paint(): offscreenImage is null
00:53:15.343 [DEBUG] PicturePanel.paint(): offscreenImage is null
00:53:15.390 [DEBUG] PicturePanel.paint(): offscreenImage is null

#3

Are you running drupal in a subdirectory?

#4

yes right, in a double subdirectory inside htdocs, can I mod somehow something? do I have to make changes to apache conf or create .htaccess files? just moving it to the root of htdocs isn't the best idea.. thanks for pointing this

#5

workaround

copy drupal's directory .htaccess file
to htdocs root

@line 97 uncomment RewriteBase /drupal
and change it like this (your drupal directory is ...htdocs/subdir1/subdir2...)
RewriteBase /subdir1/subdir2 etc.

#6

I will try to fix this in the next week. Currently on vacation.

#7

Status:active» fixed

This is fixed in the next dev packaging.

@jannalexx you'll probably have to undo your custom .htaccess file.

#8

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here