I applied commit 01b6aca0 "Fix PHP warnings when user avatar crop
controls aren'tn touched."

Working much better now, thanks.

I also noticed 0.7.1 supports configs in /etc/laconica -- excellent!  I
will be upgrading to that full version soon.

Thanks for the great progress and support,

Jeremy


Mr. Meitar Moscovitz wrote:
> On Feb 11, 2009, at 3:22 PM, Jeremy Slade wrote:
> 
>> The directory permissions are a+w, and the initial image is stored
>> there.  It is the crop step that is having problems.
>>
>> I have not tried with IE7/8.  I had tried previously with FF2 on
>> linux, that was failing.  I just tried on FF3/windows, and it
>> apparently worked, but only if I actually moved the crop box (even
>> back to the original location).
>>
>> So, here's a summary of my experience:
>> * FF2/linux - no cropbox visible, javascript error - crop fails
>> * FF3/winxp - worked after moving cropbox
>> * IE6 - cropbox visible, but not responsive to mouse events - crop fails
>>
>> Jeremy
> 
> I've noticed that on Safari in some circumstances the crop control
> bounding box fails to show, too, but as it's just been a couple times
> and a reload fixed it I figured it was some other kind of error. Maybe
> it's worth taking a closer look at that….
> 
> Also, possibly related, there was a bug[0] in which even when the crop
> controls do show up, if they aren't touched then the JavaScript doesn't
> send appropriate values to the server. This was a bug fixed in 0.7.1, so
> you may want to update to your Laconica install to that (latest stable)
> release and see if your issue is resolved.
> 
> Hope this helps,
> -Meitar Moscovitz
> Personal: http://maymay.net
> Professional: http://MeitarMoscovitz.com
> 
> EXTERNAL REFERENCES
> 
> [0] http://laconi.ca/trac/ticket/1058
> 
>> Frédérick Lebel wrote:
>>> Which version of FireFox are you using ? Have you tried it with IE7
>>> IE8 ? Are your chmod ok ? Maybe with the update they just change?
>>> Those are simple toughts. Will take a look at the page you are
>>> telling us.
>>> Best Regards,
>>> Frederick
>>> On Tue, Feb 10, 2009 at 6:33 PM, Jeremy Slade <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>    Users of my laconica instance can not update their avator.  I
>>>    believe this has been failing since I moved to 0.7.0, worked fine
>>>    before.
>>>    The initial upload is fine, and it saves the image in
>>>    avatar/<id>-original-tmp*.jpeg
>>>    The failure is on the crop step.  firebug reports a javascript error:
>>>    uncaught exception: An invalid or illegal string was specified
>>>    (NS_ERROR_DOM_SYNTAX_ERR)
>>>    [Break on this error] container.innerHTML = html;
>>>    That's on line 4095 of jquery.js (I replaced jquery.min.js
>>>    w/jquery.js just in case there was an error there).  The crop
>>>    handles are not displayed in firefox.  In IE6, it does show the
>>>    handles but I can't move them.
>>>    When the crop button is clicked, the cropAvatar function in
>>>    action/avatarsettings.php is called, and it generates this output in
>>>    the log:
>>>    2009-02-10 23:26:28 LOG_DEBUG: W = , H = , X = , Y =
>>>    Obviously the crop params are not getting passed through (are they
>>>    even being sent from the browser in the first place)?  Any ideas how
>>>    to fix this?
>>>    Thanks,
>>>    Jeremy
>>>    _______________________________________________
>>>    Laconica-dev mailing list
>>>    [email protected] <mailto:[email protected]>
>>>    http://mail.laconi.ca/mailman/listinfo/laconica-dev
>>> -- 
>>> Frédérick Lebel
>>> Technicien/Programmeur, Servlinks Communication
>>> Tel : (418) 862-2828
>>> Email : [email protected]
>>> <mailto:[email protected]>
>>> WWW : http://www.servlinks.net
>>> 175 Fraser suite 104, Rivière-du-Loup, Québec, G5R 1E2
>>
>> _______________________________________________
>> Laconica-dev mailing list
>> [email protected]
>> http://mail.laconi.ca/mailman/listinfo/laconica-dev
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to