Content plug-ing: Fied type Image error

51 views
Skip to first unread message

hervais mefoo

unread,
Nov 30, 2015, 8:11:44 AM11/30/15
to QuickApps CMS
 
 hi every body!
i have an error when i try to add an image into my image filed type. i had specify the max resolution to 8600x4200  and my image had 1600x1200

this error apear

2015-11-29 23:15:39 Error: [Cake\Routing\Exception\MissingControllerException] Controller class Img could not be found.
Exception Attributes: array (
 
'class' => 'Img',
 
'plugin' => 'Field',
 
'prefix' => NULL,
 
'_ext' => NULL,
)
Request URL: /en_US/field/img/file-icons/
Stack Trace:
#0 C:\Users\USER_NAME\APP_NAME\webroot\index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#1 {main}




Chris

unread,
Nov 30, 2015, 8:22:56 AM11/30/15
to QuickApps CMS
Could you please check if these both URLs fails?:

- /en_US/field/img/file-icons/image-x-generic.png
- /field/img/file-icons/image-x-generic.png

I think that something have changed in CakepPHP 3.1 that may be causing this problem.

hervais mefoo

unread,
Nov 30, 2015, 8:41:41 AM11/30/15
to QuickApps CMS
I have the same probleme with all images
/field/img/file-icons/image-x-generic.png
/field/img/file-icons/package-x-generic.png

what can i do to resolve the proble? my application need  images.

Christopher Castro

unread,
Nov 30, 2015, 8:56:02 AM11/30/15
to quicka...@googlegroups.com

Seems to be some problem with Cake's Routing.
Try to update cakephp core and see if that solves the problem:

Change this line to require 3.1.5:
https://github.com/quickapps/website/blob/master/composer.json#L11

And run composer update

--
You received this message because you are subscribed to the Google Groups "QuickApps CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickapps-cm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

hervais mefoo

unread,
Nov 30, 2015, 9:25:16 AM11/30/15
to QuickApps CMS

with cakePhp 3.1.5 the same error but diffrent message in logs file

2015-11-30 14:11:32 Error: [Cake\Network\Exception\NotFoundException] Invalid file name.
Request URL: /en_US/field/image-handler/thumbnail/service-image?size=medium&file=
Stack Trace:
#0 [internal function]: Field\Controller\ImageHandlerController->thumbnail('service-image')
#1 C:\Users\user_name\application_name\vendor\cakephp\cakephp\src\Controller\Controller.php(429): call_user_func_array(Array, Array)
#2 C:\Users\user_name\application_name\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
#3 C:\Users\user_name\application_name\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(Field\Controller\ImageHandlerController))
#4 C:\Users\user_name\application_name\webroot\index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#5 {main}



 

and
Something went wrong, please check your information.


in web message nofication
i have chose juste max resolution 16000x14000 and min 16x14
no ratio
the thumbnail preview


Le lundi 30 novembre 2015 14:11:44 UTC+1, hervais mefoo a écrit :

Chris

unread,
Dec 4, 2015, 6:07:59 AM12/4/15
to QuickApps CMS
I was totally unable to reproduce the issue,
I've used the same configuration as you described.


Which browser are you using?
Can you please check you're not getting any JavaScript error?
When does it fails? after upload completes?

hervais mefoo

unread,
Dec 4, 2015, 9:24:08 AM12/4/15
to QuickApps CMS
i have Mozila firefox
and i did'nt modify anay thing in core QACMS,
i have the wed development tools for mozilla and i don't have js error.
i had install via composer before update. the new instance produice the same error

can i have the link of your version please? where you has upload the image.


Le lundi 30 novembre 2015 14:11:44 UTC+1, hervais mefoo a écrit :

hervais mefoo

unread,
Dec 10, 2015, 7:59:54 AM12/10/15
to QuickApps CMS
The probleme is resolve with googlechrome but not with mozilla firefox.



Le lundi 30 novembre 2015 14:11:44 UTC+1, hervais mefoo a écrit :
Reply all
Reply to author
Forward
0 new messages