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.
Tagged: 0.7.6.4, template installation
- This topic has 8 replies, 3 voices, and was last updated 10 years, 1 month ago by Steven Zahm.
04/15/2013 at 6:29 pm #257116
I migrated my clients site over and it shows this on my directory page! Any ideas – Mike
Warning: include_once(/home/MYSITE/public_html/CLIENTSITE/wp-content/connections_templates/cmap/functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/21/10915521/html/wp-content/plugins/connections/includes/class.template.php on line 405
Warning: include_once() [function.include]: Failed opening ‘/home/MYSITE/public_html/CLIENTSITE/wp-content/connections_templates/cmap/functions.php’ for inclusion (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/21/10915521/html/wp-content/plugins/connections/includes/class.template.php on line 40504/15/2013 at 6:53 pm #257133
I got it figured out, I activated another template then reactivated cMap.04/15/2013 at 7:42 pm #257138
Good to hear you have this sorted. Which version of Connections are you running?04/15/2013 at 7:49 pm #257141
Version 0.7.6.404/18/2013 at 5:13 am #257404George PlumleyGuest
Thanks for solving this issue. Been working on this for several hours.
I too moved a site to a new server and I could see in the error message that the plugin was looking for the template in a path from the old server. I did a search and replace on the database to update any hard-coded paths, but while it found some from other plugins (in the Options table) the replacement didn’t affect Connections. I did a search on the plugin folder to see if it was being written to a file somewhere, but found nothing.
Obviously this switching of templates is causing the system to refresh that path – why is it hard-coding that path and where is it storing it???04/18/2013 at 12:41 pm #257438
It’s actually not hard coded. The info is stored in a temporary transient to prevent unnecessary hits to the file system. So this would actually resolve itself.
What’s interesting, I could have sworn I didn’t store the file path just the file name in the transient when creating the new templating API. That is how WordPress handles plugins. I’m going to have to take a close look at the code.04/18/2013 at 3:07 pm #257445George PlumleyGuest
Ok, that’s interesting to know, Steve. I had done a search and replace on serialized data in the options table (is that where the transient’s stored?) and it said it replaced two instances of old path references, but evidently not this one.
I don’t know anything about transients and their TTL but I was working with the site for several hours and the path did not “update” itself – only through the deactivate template and reactivate (I guess that’s a manual updating :-) )
Thanks for the helpful clarifications.04/18/2013 at 3:32 pm #257446
I do believe transient are stored in the options table. Honestly, I’d have took again. The TTL is defined on create and I believe I set it to 24 hours. But I make sure to flush the transient on activate and deleting a template.04/18/2013 at 9:23 pm #257457
One last question, which version of cMap are you running?
You cannot reply to this support topic. Please open your own support topic.