last day (88 days later) » 

2:16 PM
Hello?
 
Hi
sorry i was on a remote desktop!
 
that's fine
 
:)
did you get your problem worked out?
 
no, still not there yet, it's a bit strange
this magento plugin is really annoying ... it seems to returning an error when it's trying to upload an image
except uploading an image isn't what you'd expect
because instead of the images uploading onto my server, the images are sent to their server and hosted there
for some reason the response from their api seems to be "error" and I'm not sure why (it literally just responds with "error")
 
thats pretty lame
 
2:27 PM
yeah I know
any their support is dreadful, I really don't want to pay them to fix this
 
are you pretty well versed in magento mvc functionality? can i assume that?
 
not too much no, I've spent some time with magento and know a few things about it
I know what MVC means, and how one works
but I haven't really looked into the magento MVC much
 
ok. i apologize but my boss needs some info from me. i post to stackoverflow b/c magento info is pretty sparse. i'll be back in a moment.
 
no worries
 
2:46 PM
can you use Firebug and break on the function that throws the error and use the watch box to check out what $td is set to
 
I don't think that part is the problem
guid was being passed to that part of the code an null
and I figured out why
they're doing an ajax request
and they had this code:
if (response() == 'Error') {
$spinner.hide();

alert(uploading_image_error_text);

return;
}
except they didn't have the () on response (I just added those in) so it was:
if (response == 'Error') {
$spinner.hide();

alert(uploading_image_error_text);

return;
}
except response appears to be a function not a variable, so the above was returning response as:
response { [native code] }
added the parenthes so it was response() = means it now returns:
Error
Which means that the guid was null becuase it couldn't figure out the response was null
which to me seems like a pretty glaring error in their code
anyway, after changing that I simply get an alert saying "Error was occurred while uploading image"
which isn't very helpful ... I can't see how to debug further
 
 
6 hours later…
8:44 PM
wow I suck at being responsive
the only help i can offer is to try to get the plugin to work outside of magento, then make sure all of your settings are right and if magento kills it, look into converting $ into jQuery() calls.
 

  last day (88 days later) »