06/02/2014 at 9:35 am
#292711
Keymaster
@ cheryl
In short, the issue should correct itself after you site goes live with a domain name. But if you’d like to fix it, here’s how:
The document root can not be determined automatically. So you have to manually set the DOCUMENT_ROOT here’s how:
Add the following to the timthumb-config.php file found here:
../wp-content/plugins/connections/includes/libraries/timthumb/
This is what you need to add, make sure to change the doc root accordingly:
define ( 'LOCAL_FILE_BASE_DIRECTORY', '/my/doc/root/' );
What /my/doc/root will be will depend entirely on the server setup. If you go to the the Connections : Dashboard admin page and look at the the System widget; there will be a constant named CN_PATH. The doc root should be the beginning portion of that path. What I can tell you is that from the wp-content and on will NOT be part of the doc root.
Hope that helps.
