All posts in the topic Enabling network spawning after install (Short link)
Summary
- There are 2 posts — by 2 authors — in this topic.
- Latest post made by Phillip Pearson at 2007 Oct 09 21:59 UTC
Can you describe the steps that I would need to take to enable spawning if PA was initially set up with it disabled. When I installed PA I did not have wild card domains enabled. Since then I have enabled them and would like to allow meta-networks on the original install. Right now in my local_config.php I have the base url set to "http://j.sub.dev.domain.com" and I then changed $domain_suffix = FALSE; to $domain_suffix = "sub.dev.domain.com". Once I do this I get the error whenever I visit a page. : Your $base_url variable needs to include the text %network_name% or spawning will not work. Changing it back to FALSE allows the pages to render, but without the ability to create networks. I have noticed that on line 276 of config.inc there is the following condition: // Check that $base_url includes %network_name if (strpos($base_url, "%network_name%") === FALSE) { local_config_error("<p>Your <code>\$base_url</code> variable needs to include the text <code>%network_name%</code> or spawning will not work.</p>"); } Is there a specific set of steps I need to run through to get this working? Any help is much appreciated.
Hi, Not much further to go :-) Try "http://%network_name%.sub.dev.domain.com" as the $base_url. That should bring it to life! Cheers, Phil jerry palmisano wrote: > Can you describe the steps that I would need to take to enable spawning if PA > was initially set up with it disabled. When I installed PA I did not have wild > card domains enabled. Since then I have enabled them and would like to allow > meta-networks on the original install. > > Right now in my local_config.php I have the base url set to > "http://j.sub.dev.domain.com" and I then changed $domain_suffix = FALSE; to > $domain_suffix = "sub.dev.domain.com". Once I do this I get the error whenever > I visit a page. : > > Your $base_url variable needs to include the text %network_name% or spawning > will not work. > > Changing it back to FALSE allows the pages to render, but without the ability > to create networks. I have noticed that on line 276 of config.inc there is the