Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ kim879
Looks like you got yourself a relatively old version of WordPress and Connections installed, yes? What versions?
It is probably best to turn off the display PHP error reporting and log i instead… it is best practice to do that on a public site. Add this to your
wp-configfile:define('WP_DEBUG', false); @ini_set('log_errors',1); @ini_set('display_errors',0); @ini_set('error_log','phperrors.log'); // path to server-writable log fileSince it is only a warning that is being generated, that should do the trick.
Hope this helps!
Steven Zahm
Keymaster@ Margaret
Use this:
[connections lock='true' template='names']This will use the Names templates instead.
Steven Zahm
KeymasterActually IE 11 is a darned decent browser… It’s all those that still have to suffer with IE8 in the corporate world.
The issue is CSS. Line 12 in this file:
http://mainelakeschamber.com/wp-content/themes/natural/style.cssThis specifically:
div{border:0;position:relative;text-align:left;overflow:visible;background-color:transparent;}Change it to:
div{border:0;overflow:visible;background-color:transparent;}Now there this:
<!-- Custom Styling --> <style type="text/css"> #cn-cmap div {position: initial;margin:0;padding:0;border:0;outline:0;}input,textarea,button,select,option{font-family:'Open Sans',"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px}.toptext h1 {font-size: 30px;margin-bottom: 2px;color: #0e0087;font-weight: 600;}.abtn {background-color: #4d4dff;border-radius: 6px;border: 1px solid #0e0087;display: inline-block;color: #FFF;font-size: 16px;font-weight: bold;padding: 6px 24px;text-decoration: none;}h1, h2, h3, h4, h5, h6 {color: #EE7923;}div#intro_wrapper{z-index:1}div#intro{padding:20px 0;position:inherit}#sf_widget_constantcontact-2 label{color:#fff} </style>The
position: initial;is invalid , just remove that completely. That should fix it in IE. At least it does for me in IE11.If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Linda
No problem!
If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Nader
Just thought of something, the term fragment cache does mean the same thing as W3TC, however, the details are different. Try just deactivating the Object Cache option in W3TC. The WordPress Transient API, which Connections uses for its fragments, uses it the Object Cache if it is available.
Steven Zahm
Keymaster@ Neijah
The issue then has to be memory related. What value to you increase it to? try 128MB. Likely the web host does not support increasing the memory via the
wp-config.phpfile. You may have to try thephp.inifile or the.htaccessfile methods. If neither of those work, you’ll have to contact your web host as suggested in the blog post I link to.Steven Zahm
Keymaster@ Linda
That makes perfect sense … but is the
[connections]on this page?
http://www.cclgroup.org/jgpt/jgpt-directory-results/As best I can tell, it is a completely blank page. Can you attached a screenshot showing the page contents while editing the page in the admin.
Steven Zahm
KeymasterSorry no … this cache in only updated when the entry is edited in the admin.
Steven Zahm
KeymasterMy best guess is you manually updated the
*_connections_addressestable, yes? The problem is the address data is also cached in the*_connectionstable. That cached data is what is used for display. This is done to ensure as few db queries as possible. The actual*_connections_addressestable is only used when editing the entry and searches. Unfortunately there is no way to bulk update this cache.What could be done, is disable the use of the address cache but that does mean an extra db query per entry shown on the page. Depending on the host this time is actually fairly minute probably in the realm of .005 seconds.
To disable the cache, install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_disable_output_cache( $cached ) { return FALSE; } function cn_enable_output_cache() { remove_filter( 'cn_address_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_phone_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_email_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_messenger_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_social_network_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_link_cached', 'cn_disable_output_cache' ); //remove_filter( 'cn_date_cached', 'cn_disable_output_cache' ); } add_filter( 'cn_address_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_phone_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_email_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_messenger_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_social_network_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_link_cached', 'cn_disable_output_cache' ); //add_filter( 'cn_date_cached', 'cn_disable_output_cache' ); add_action( 'cn_update-entry', 'cn_enable_output_cache'); add_action( 'cn_save-entry', 'cn_enable_output_cache');Save and activate the new snippet.
If you need to to disable any other caches, just uncomment the related filters.
Hope that helps!
Steven Zahm
KeymasterWhen I visit the page, I see this:
Please login to view the directory.This tells me that the the option to require login is active on the Connection : Settings admin page.
If you can give me a temp admin login, I’ll log in and take a look.
Those widget error message do not seem to be related to Connections at all. Can you please try, temporarily, deactivating all other plugin and switch to the TwentyTwelve theme?
-
AuthorPosts
