Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 0.7.9.5, DOCUMENT_ROOT, htaccess, LOCAL_FILE_BASE_DIRECTORY, timthumb
- This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by
Steven Zahm.
-
AuthorPosts
-
03/12/2014 at 11:57 am #282003
Timothy
ParticipantHi
I am struggling to debug a problem with a site I’m working on.
Connections Excerpt Plus – Template Version 1.0.2
Connections – Version 0.7.9.5
WP – 3.8.1A few weeks ago I added images for all the Connections entries and they all showed up in both Admin area and on site. Now I just see the loading anim.
If I use Firebug I can see a series of “400 (Bad Request)” errors one for each image it can’t find.
If I follow the entire URL directly I get a TimThumb error message (but this may be normal) “A TimThumb error has occured
The following error(s) occured:
Could not find the internal image you specified.
Query String : src=/wp-content/connection_images/DG_box_logo_original.jpg&h=100&w=158&zc=1
TimThumb version : 2.8.11”If I look in the /wp-content/connection_images/ folder the original images are there. If I try and upload a new one I get all green lights in the Debug messages.
I’m sure there must be a simple explanation.
If you want to look at the site you will need to use this link:
http://dewargreen.co.uk/~bethersd?wpjf3_mr_temp_access_key=mE55ndZh6UZmmqVQ9IYhThanks
03/13/2014 at 9:50 am #282092Steven Zahm
Keymaster@ Timothy
I suspect once the site goes live, the issue would resolve itself.
My best guess is one of following…
One, 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.phpfile 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/rootwill 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 namedCN_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.Two, some server setting is preventing the script from reading the images and if that is the case, I do not know what that could be. Maybe a rule in the .htaccess file or something your webhost has configured. If you have any security related plugins installed, perhaps they’re blocking content.
I hope that helps point you in the right direction.
03/13/2014 at 11:03 am #282096Timothy
ParticipantThank you updating the DOCUMENT_ROOT manually fixed the problem.
I really appreciated your prompt support.
03/13/2014 at 12:47 pm #282106Steven Zahm
Keymaster@ Timothy
Great to hear!
If you have a moment, I would truly appreciate a review as they do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
