next day →
last day (88 days later) »
Sean Dunwoody
14:16
Hello?
CarComp
Hi
sorry i was on a remote desktop!
Sean Dunwoody
that's fine
CarComp
:)
did you get your problem worked out?
Sean Dunwoody
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")
CarComp
thats pretty lame
Sean Dunwoody
14:27
yeah I know
any their support is dreadful, I really don't want to pay them to fix this
CarComp
are you pretty well versed in magento mvc functionality? can i assume that?
Sean Dunwoody
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
CarComp
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.
Sean Dunwoody
no worries
CarComp
14:46
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
Sean Dunwoody
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…
CarComp
20:44
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.
next day →
last day (88 days later) »
all rooms
Transcript for
Jan '13
10
Jan
16
Magento
Help with magento PHP problems. Not Admin issues
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile