CE Image
ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3
Back to this add-on's main page
View Other Add-ons From Causing Effect
Images not showing at all since moving to Nexcess..
Support (Resolved)
Brian Coult
|
Posted: 31 March 2014 04:02 PM |
|
|
|
Hi there..
Have looked through the other comments with Nexcess issues, but none of that seems to help… this is on a SUBDOMAIN of a main site for testing and everything else within the site is working nicely… themes are showing and other add-ons are working..
But anything within the CE image tags is just not showing anything at all.. I’ve checked the MADE / REMOTE folders and they are in place, but again nothing is been created in them…
I’ve added the following to the config.php file but no luck with that either… so bit stuck
$config['ce_image_document_root'] = '/chroot/' . $_SERVER['DOCUMENT_ROOT'];
|
|
|
Brian Coult
|
Posted: 31 March 2014 04:18 PM |
# 1
|
|
|
Had a look in the debug and I’m getting the following…
(0.230188 / 10.41MB) *** CE Image debug: Base path: ‘/chroot/home/etheyaco/etheya.com/html/’
(0.230205 / 10.41MB) *** CE Image debug: Source image: ‘/assets/img/content/landscape-gallery/Mypatch_08.jpg’, Fallback image: ‘’
(0.230217 / 10.41MB) *** CE Image debug: Source image is not readable or does not exist: ‘/assets/img/content/landscape-gallery/Mypatch_08.jpg’.
(0.230226 / 10.41MB) *** CE Image debug: Fallback source image is not readable or does not exist: ‘’.
but if i go to the source url for the image it shows… so I’m a little confused… to say the least..
|
|
|
Brian Coult
|
Posted: 31 March 2014 04:38 PM |
# 2
|
|
|
Okay I’ve changed the part in the config.php file from
// $config['ce_image_document_root'] = '/chroot' . $_SERVER['DOCUMENT_ROOT'];
to
$config['ce_image_document_root'] = '/home/etheyaco/domain/html/subdomain' ;
and everything works… doesn’t seem to be a straight forward way of doing this each time tho…
|
|
|
Causing Effect - Aaron Waldon
|
Posted: 31 March 2014 04:44 PM |
# 3
|
|
Developer
|
Hi Brian!
Glad you got it sorted.
doesn’t seem to be a straight forward way of doing this each time tho…
This is not something you generally need to do, but the config override is very useful for overriding the default behavior. Your setup is in a subdomain, and the server’s document root is not pointing there as typically expected. If you know of a more straight forward way of getting PHP to guess where your subdomain’s document root is located, I’d be happy to implement it.
|
|
|
Brian Coult
|
Posted: 04 April 2014 07:58 AM |
# 4
|
|
|
its very up and down like with Nexcess… I’ve just dropped it in another site and I’ve actually had to do it this way on that one…
$config['ce_image_document_root'] = '/chroot/home/etheyaco/domain/html/subdomain' ;
Which is different again…
|
|
|
Causing Effect - Aaron Waldon
|
Posted: 30 April 2014 02:34 PM |
# 5
|
|
Developer
|
Interesting. This has always worked for me on Nexcess EE sites:
$config['ce_image_document_root'] = '/chroot' . $_SERVER['DOCUMENT_ROOT'];
|
|
|