projects / org / ezproject2010 / novenimagecropper / forum / issues / not a valid ezjscserverrout...
Find the Exponential Software extensions you want
You need to be logged in to post messages in the forums. New users may register here.
![]() Member since: Posts: 21 |
Tuesday 06 October 2009 11:24:28 am Hi,
i just tried with the new ez 4.2 release (which has ezjscore bundled and activated). Whenever i try to crop or upload an image, i get this message "Not a valid ezjscServerRouter argument: novimgcrop:ImageReference:somenumbershere" instead of the image. When i disable the extension, uploading and resizing images does work fine, so I don't think, its a permission thing. ez Revision: 19785 , PHP 5.2.6 with GD |
|
![]() Member since: Posts: 77 |
Tuesday 06 October 2009 11:51:32 am Hi Marco
This error seems to mean that the server functions of Noven Image Cropper are not registered in ezjscore... Have you tried to purge the caches and to regenerate the autoloads ? If you have ezjscore with 4.2, I guess you installed it with ezwebin, didn't you ? Do you try to use novenimagecropper via front or backoffice editing ? My Blog (french) : http://www.lolart.net |
|
![]() Member since: Posts: 21 |
Tuesday 06 October 2009 1:16:41 pm Solved...
I forgot to regenerate the autoloads. Now, this works better. Unfortunately, i now have some other problems: a) Admin siteaccess: After i made my selection of the crop area, and click on "Preview", i get a new message: Handler class "ezcImageImageMagickHandler" not found. ImageMagick not installed or not available in PATH variable. That may be true: We don't use Imagemagick, only GD... Is ImageMagick really required? b) User siteaccess (plain ezwebin 1.5 from ezP 4.2): The popup dialog for doing the crop selection opens and i can see the label and the dropdown for the Aspect ration selection... But there is no picture... and no warning :( No entries in the error.log when i do this. So, i cannot use the extension yet ;) But i see, that i must change some translations for german anyway ;) |
|
![]() Member since: Posts: 77 |
Tuesday 06 October 2009 2:56:14 pm Hi Marco
a) I guess you have ImageMagick enabled in one of your image.ini overrides (it's enabled by default with a plain ezwebin install) b) This sometimes happens because of jCrop slowness. When it happens, try to reload the current page with your browser (do not cancel the draft). Does it work ? My Blog (french) : http://www.lolart.net |
|
![]() Member since: Posts: 21 |
Tuesday 06 October 2009 3:22:36 pm Hi,
sorry, but a) No, ImageMagick was enabled nowhere. In settings/override.ini, i had
|
|
![]() Member since: Posts: 77 |
Tuesday 06 October 2009 3:41:51 pm Indeed, if ImageMagick is totally out of the system, I manage to reproduce your problem. I'm gonna check in the ezcomponents doc :)
My Blog (french) : http://www.lolart.net |
|
![]() Member since: Posts: 77 |
Wednesday 07 October 2009 5:47:34 am Hi
a) fixed in trunk (rev 33) b) I'll check this one later Please note that I have added a new error message in translation file. Could you translate it in german please ? :-p My Blog (french) : http://www.lolart.net |
|
![]() Member since: Posts: 77 |
Thursday 08 October 2009 10:19:53 am Hi
I checked the problem with ezwebin frontend editing. In fact this is a problem dealing with declared image aliases in image.ini. reference alias is not declared by default in ezwebin frontend siteaccess. So all you have to do is to activate it in your image.ini frontend siteaccess override :
My Blog (french) : http://www.lolart.net |
|
![]() Member since: Posts: 21 |
Thursday 08 October 2009 11:30:55 am Thanks, that works great!
I think, the "reference" alias definition actually is "removed" by the install wizard, which sets up the different siteaccesses. In each language siteaccess, the list of ImageAliases as cleared and re-defined in the image.ini.append file, but without the "reference" alias. The only exception seems to be ezwebin_site_admin siteaccess (luckyly) What worked for me: create an image.ini.append.php in the settings directory of the novenimagecropper extention with this content:
|
|
![]() Member since: Posts: 77 |
Friday 09 October 2009 1:27:02 am Hi Marco
You're absolutely right ! So I replaced reference image alias by a new one : novenimagecropper_reference. Implemented in trunk, rev 41. Can you please confirm it's OK for you ? Thanks :) My Blog (french) : http://www.lolart.net |
You need to be logged in to post messages in the forums. New users may register here.