apsinghbrar / cxc-templates

Automatically exported from code.google.com/p/cxc-templates
0 stars 0 forks source link

Change between v0.6 and v1.0 is causing tmp directory path issues on multi-sites #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hey Doc

I've had a chance to try out v1.0 today.

The tmp path is causing me issues.

Everything works in v0.6  but in v1.0 I am getting errors that it can't create 
the directories, etc. etc.

Again - this is a multi-site issue.  

There is a writable "tmp" directory in the textpattern folder, but the plugin 
can't seem to find it. No have I been able to successfully redirect it there by 
editing the plugin

There's also a tmp directory in sites/website_name/public/ for each individual 
site.  However I don't seem to be successful in redirecting the plugin to use 
it (I'm assuming that is because it HAS to be the textpattern directory?) 

Even if successful, I'm wondering if having more than one site using the same 
tmp file would create some sort of conflict?

Thanks

Mike

Original issue reported on code.google.com by tecumseh...@gmail.com on 24 Feb 2011 at 9:57

GoogleCodeExporter commented 8 years ago
v0.0.6 did not use the 'tmp' directory and created its own directory in the 
site root.

I've started working on a fix for this but it needs more testing to make sure 
it works.

http://cxc-templates.googlecode.com/svn/wiki/assets/cxc_templates_v0.1.0b.txt
http://cxc-templates.googlecode.com/svn/wiki/assets/cxc_templates_v0.1.0b_zip.tx
t

... if you have time to test. I was only able to test one of the multi-site 
setups and it was unfortunately not the one you use :(

Sorry for the delays Mike, I have had health issues lately :(

Doc

Original comment by chaosXonline@gmail.com on 26 Feb 2011 at 5:56

GoogleCodeExporter commented 8 years ago
Thanks!

When I get a couple of moments, I'll give it a go and let you know.

No probably on the delay -  I've had an extended period of health issues myself 
not so long ago. It has a way of keeping us otherwise occupied. May you regain 
your health soon.

Original comment by tecumseh...@gmail.com on 26 Feb 2011 at 2:22

GoogleCodeExporter commented 8 years ago
fwiw - The multi-site setup I'm primarily using has a couple of situations.

Most are using the standard install - textpattern/sites/domain1.com/admin

textpattern/sites/domain1.com/admin
textpattern/sites/domain1.com/private
textpattern/sites/domain1.com/public
textpattern/textpattern

As I'm getting more familiar with using multi-sites, I'm taking inspiration 
from a couple of others on the forum and have set up a couple of sites running 
off of the common textpattern install, but with a structure like this:

admin.domain.com
domain.com
textpattern/textpattern

(thus the current structure is a hybrid of the two. Most domains in the sites 
folders, a couple of experiments outside of it. So far the experiment with 
moving the domains out of the sites folder seems to function the same as in it. 
 So when I get time, I think I'll move the rest).

My goal is to eventually flatten the set the rest of the way:

admin.domain.com/
domain.com/
textpattern/

in case this helps

Original comment by tecumseh...@gmail.com on 26 Feb 2011 at 2:32