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.
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.
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.
06/01/2014 at 9:29 pm #292697
We just did a manual move of our wordpress site. And now the images are not worrking on the directory — they seem to be loading on the backend but we cannot get them to load on the front end. Here is an example page…. http://22.214.171.124/~pmgphysi/for-patients/find-a-provider/
I have tried creating a new entry with a new image… and that doesn’t work either.
here it is.. working fine on our staging site… http://clients.ca-design.net/PMG/for-patients/find-a-provider/
Ideas?06/02/2014 at 9:35 am #292711
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.phpfile found here:
This is what you need to add, make sure to change the doc root accordingly:
define ( 'LOCAL_FILE_BASE_DIRECTORY', '/my/doc/root/' );
/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 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.06/04/2014 at 5:47 pm #293017
That worked GREAT!!! thank you….
now I have a new problem! LOL
I get this message on one of the pages at the bottom
Warning: Division by zero in /home2/pmgphysi/public_html/wp-content/plugins/connections/includes/template/class.template-parts.php on line 1381
only on this page
http://126.96.36.199/~pmgphysi/for-patients/find-a-provider/06/04/2014 at 6:06 pm #293019
What is the exact shortcode you are using?06/04/2014 at 8:38 pm #293024
I just moved this from one server to another… This is the shortcode
[connections category='4,10,1,12,5,2,3,6,7' enable_category_by_root_parent=true show_alphaindex='true' page_limit=0 enable_search=false name_format='%first% %middle% %last%, %suffix%' str_bio_head=""]
It seemed to appear when I fixed the image issue…. I tried putting in the previous timthumb-config.php to see if that effected it… but it did not.
Same set up here — but no code error….
I’m thinking I might need to replace a file???
-C06/05/2014 at 9:49 am #293070
page_limit=0option is causing the divide by zero error. Remove it and it’ll go away. The likely reason for the error being shown on one server and not the other is the way PHP is configured to report errors.06/05/2014 at 10:07 am #293072
Thanks! That did it… feeling stupid! But thank you for the help!!!!!06/05/2014 at 11:07 am #293075
Great to hear that fixed the issue. I added an extra check to ensure a zero value can never cause this error again.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
You cannot reply to this support topic. Please open your own support topic.