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.3, DOCUMENT_ROOT, LOCAL_FILE_BASE_DIRECTORY, timthumb
- This topic has 5 replies, 2 voices, and was last updated 6 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
12/23/2013 at 12:18 pm #275893
Smk Webtech
ParticipantHi Steven I am using RT-17 Theme from themeforest,
when I add a photo to any entry I recieve ok mesagges, and I can see the photos in connecitos uploads directory but I see a turning wheel without stoping insted of the photo on the tumbnail box.
How can I make the photos appear.
thank youAttachments:
You must be logged in to view attached files.12/23/2013 at 3:12 pm #275906Steven Zahm
Keymaster@ Smk
Could be one of the following…
1. A fatal JavaScript error in the theme or another plugin causing JavaScript to stop running.
2. A folder permissions issue on the server.
You would have to share a link to you directory for me to offer my exact advice.
3. The doc root of your server can not be found automatically.
To check if there is a JavaScript error, load the page in Chrome, hit the F12 key and then click the Console tab. All the page render errors will be listed here.
To eliminate a possible folder permissions error. Change the permissions of the following file and folder to 767:
../wp-content/plugins/connections/cache
../wp-content/plugins/connections/cache/index.html
If it is a doc root issue:
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 namedCN_PATH
. The doc root should be the beginning portion of that path. What I can tell you is that from the wp-content on will NOT be part of the doc root. So that should help limit which part is the correct path.Hope that helps.
12/24/2013 at 3:10 am #275932Smk Webtech
ParticipantHi steven, thank you for the feedback,
I tried all the tricks you add for me including cache and root. I start to see the photos in dashboard member management page but not in the web site.
the root in dashboard is:
CN_PATH: /var/www/vhosts/rotary2440.org/httpdocs/wp-content/plugins/connections/I add this line to the timthumb-config.php :
define(‘LOCAL_FILE_BASE_DIRECTORY’,’/var/www/vhosts/rotary2440.org/httpdocs/’);I attached 2 of the final screenshot of f12, console.
the error in second line belongs to this file:
http://rotary2440.org/wp-content/themes/rttheme17/js/script.js?ver=3.5.2I couldn’t understand the mistake in the 3rd line,
How can we solve the problem according to that info.
Thank you.Attachments:
You must be logged in to view attached files.12/24/2013 at 9:28 am #275935Steven Zahm
Keymaster@ Smk
If you can see the images in the dashboard, then the issue is not permissions or the doc root.
The error seems to be definitely being caused the theme. The theme or possible another plugin is loading jQuery from the Google CDN rather than the version bundled with WordPress. This really isn’t bad, but usually it is because it is mostly done in a way that will break jQuery for plugins and themes. The specific issue is that jQuery Migrate is not being loaded and it needs to be loaded because the theme is trying to use the
.browser()
method which has been removed from the core jQuery and no longer officially supported. This is why jQuery Migrate is required which something WordPress would load by default.There is a feature I built in to Connections that attempts to fix that. Go to the Connections : Settings admin page and check the jQuery Fixer option under the Compatibility section and then click Save Changes button.
Hope that fixes it. Make sure you have no other plugins installed that alters which version of jQuery is loaded. If not, the theme author will have to fix their theme.
As an aside, the theme is loading two older versions of the jQuery Form plugin rather that the version bundled with WordPress. I know for sure it is the theme in this case because both are being loaded from the theme’s folder.
I hope that helps!
03/17/2014 at 10:15 am #282545Smk Webtech
ParticipantHi Steven,
I am in deep truble and need your help, I tried to update the plug in but the update pocess stopped with a massege that it can not remove the old version. Now the plug in lost all the photos and I can not add or remove any contacts.
you can see the screen shots attached how I can fix the plugin.
thank youAttachments:
You must be logged in to view attached files.03/17/2014 at 10:51 am #282553Steven Zahm
Keymaster@ Smk
Login to your site with FTP and delete the
connections
folder within theplugins
folder. You can then reinstall Connections. You data and images are safe. After you update, visit the Connections : Templates admin page. You do not need to do anything, just visit the page.Hope that helps.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.