I'm using the FocusLab Master Config set up which may be relevant. I haven't had any issues previously like this however.

I'm in the middle of migrating from Dev to a new live server and 90% of images on the site are not displaying due to incorrect urls being output.

For example:

<img src="//chrootuploads/slider/bagtoearth-reroof.jpg" width="1090" height="435" alt="" draggable="false">

should be

<img src="/uploads/slider/bagtoearth-reroof.jpg" width="1090" height="435" alt="" draggable="false">

When I check the file upload settings in the CP the path and url are correct, but on the front end the url is incorrect.

I can't figure out why /uploads is being replaced by //chrootuploads Of the five slides only one is being output correctly and resized with CE_image. Eveything else is doing this weird behavior and only on the live server (php 5.3.24).

Any ideas?

also interestingly random pages do not load - not even the 404 page, just a blank white screen

1 Answer 1


The image problem is usually caused by the setup at your hosting provider (Nexcess?).

I believe you can fix this by setting the correct base path for CE Image, as described here.

EDIT: And this is an example of how to set it at Nexcess:

$env_config['ce_image_document_root'] = '/chroot/home/account/domain/html';
  • So I would add this to config.prod.php correct?
    – CreateSean
    Feb 4, 2015 at 16:58
  • 1
    Yes, or put it in config.master.php and use a conditional: if (ENV=='prod') { $env_config['ce_image_document_root'] = '/chroot/home/account/domain/html'; }
    – aelvan
    Feb 4, 2015 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.