I have looked and looked and can not find a solution that can answer this issue for me.

Everything was working fine until recently. All of the sudden I am getting this as I am uploading images
{ "status": true, "data": "Complete. " }
As the images try to get uploaded.

No Image get's uploaded at all.

I checked the error messages both on the server and drupal logs but nothing shows.

I have uninstalled and reinstalled the program twice now.

Please help!!!!!!!!!!!!!!!!!!!!!!!

Comments

grandcat’s picture

Category: bug » support
Priority: Critical » Normal

Please think about what could have changed? Theme, server settings, etc.

leavellwd’s picture

Title: { "status": true, "data": "Complete. " } When a node is saved » { "status": true, "data": "Complete. " }
Version: 6.x-3.x-dev » 6.x-3.0-rc2
Category: bug » support
Priority: Critical » Normal
Status: Needs review » Active

Thanks to the reply,

I have tried to think of everything possible. The only thing I can think of that may have caused this is when the server hit the "allocated memory limit" something got screwed up somewhere.

I had my server company take a look at things and they can't find anything wrong with it.

I have been racking my brain over this for 3 days and have tried multiple things but nothing seems to work.

I am setting up another test site to see if it works on there to be sure it's not a server issue. (i'll keep you posted)

leavellwd’s picture

I just setup a subdomain under the same host account on the same server as the other site.

I uploaded a test and everything works fine on the test site.

This tells me that it is not a server issue and that something is broken within the site or database.

leavellwd’s picture

Latest Development:

I have uninstalled and reinstalled all image modules

Still Nothing!

leavellwd’s picture

Status: Active » Closed (fixed)

FIXED.

I Deleted several "not needed" Modules including two or three javascript modules.

This fixed the problem.

I do not specifically know which module caused this error, since I deleted several of them, but my gut is telling me it was one of the java script modules.

Thanks for your help Grandcat your quick reply means a ton to me.

killua99’s picture

Any idea what module should be?

killua99’s picture

Title: { "status": true, "data": "Complete. " } » { "status": true, "data": "Complete. " } When a node is saved
Version: 6.x-3.0-rc2 » 6.x-3.x-dev
Category: support » bug
Priority: Normal » Critical
Status: Closed (fixed) » Active

That solution is unacceptable. This bug will need a better battery test.

When a node is created -- path /node/add/page -- and you select the images, in the upload process it return that message.

{"status":true,"data":"Complete. "}

leavellwd’s picture

After a year, you are still having this problem? Unfortunately I do not know enough about the imageFUpload module (as of now) to help find a solution, and have only recently begun to understand the process behind module development.

I haven't used this module for a while, so I am unsure of what "other" modules I had that may allow me to look at the code and find the conflict. I'm sure one of these days I will run into the issue again, but I hope someone figures it out before I do.

killua99’s picture

Thanks for the reply dude!.

I need to figure out what happen with this module.

killua99’s picture

I make an upgrade for the module "image" ... and this error stopped appearing.

Realy weird ... :/

eme’s picture

Same issue here with cck. Will try to dig into this..

eme’s picture

Must say I'm astounded. After creating a module to try desactivating some js, I found out it was no js issue, but a .module file that was not in UTF-8 (without BOM)...

killua99’s picture

o.O I'm gonna see all my files. Thanks for see that ;)

cremers’s picture

subscribing, same issue here.

pilu30000’s picture

Status: Active » Needs work

Hi,

Had some luck by doing the following modification:

in swfupload/handlers.js , line 116
replaced the Drupal json parsing with JSON.parse(severData)

This will break compatibility with older browsers.. but at least it works on some.

pilu30000’s picture

Status: Needs work » Needs review

By including the json2.js parser found below, compatibility with older browsers is maintained.
https://github.com/douglascrockford/JSON-js

cremers’s picture

Doing the fix seems to work. But the result is the following:
- All files seem to be successfully uploaded.
- A js file suddenly wants to be downloaded which contains a jq status.
- I get the following issue http://drupal.org/node/924156 "Please wait until all images...".
Used IE, adding the line of pilu30000 didn't fix it.
Best regards,
Daniel

cremers’s picture

And: The node is created with around 3 imgs of 6... found them on the frontside...

pilu30000’s picture

Hi again,

Could you give more details? I've found several bugs within the image upload module.
The corrections I've posted (I'm adding another one today) have brought this module
from unusable to working on my setup.
However, I have NOT used the image_fupload_imagefield , only image_fupload_image.
This means that you might still have to track down some bugs within imagefield.
Also, please make sure you also apply the correction I'll be posting in a few minutes
in a new issue.

gstout’s picture

I solved this problem for myself and thought I'd toss up the answer in case anyone else was affected in the same way. We at GlobalPost.com have used imageFupload for along time but suddenly it stopped working and we got the same message.

{"status":true,"data":"Complete. "}

Turns out an unrelated module had been added to the system for a new feature and the "newfeature.module" file had
an improper closing "?>" at the end of the file. Removing the "?>" in the unrelated module kicked ImageFupload into working again.

Your millage will vary but this worked for us. Rock on.

leavellwd’s picture

Title: { "status": true, "data": "Complete. " } » { "status": true, "data": "Complete. " } When a node is saved
Version: 6.x-3.0-rc2 » 6.x-3.x-dev
Category: support » bug
Priority: Normal » Critical
Status: Active » Needs review

Thanks GStout.

Though I am not currently using it, it is nice to see the community work together to help out others.

Drupal = puzzle pieces that make puzzle pieces that make puzzle pieces........ that make a puzzle (or website/program)

musa.thomas’s picture

I don't if it can be help, but we got site in french with some module wich must be in utf8 (without BOM ) for the accent, and if it's not, this error appear.
And we got again this probleme with one module wich had one space in the begining just before the "<?php"

borys’s picture

Maybe incorrect file encoding and spaces in php files are issues, and they combined to incorrect data output.
So i have solved this issue in simplier way, just trimming response before parsing.
Solution:
Open handlers.js file, and go to around 116 line.
before this line:
var response = Drupal.parseJson(serverData); // parse server response
add:
serverData = $.trim(serverData);

This solved problem for me.

killua99’s picture

I'll try this.