10390 Posts in 2201 Topics by 1712 members
| Go to End | Next > | |
| Author | Topic: | 737 Views |
-
Can't add pages after installing module subsites

29 September 2012 at 12:00am
Hoi Everyone,
I have installed the module Subsites but now I'm not able to add any pages not to my subsite and also not to
my main site. After deleting the module I will be able to do this but I need to have different subsites.
I have done /dev/build?flush=all several times and even rebooted my intire system. What can I do?I have added the module.
Thank you,
suzanne
-
Re: Can't add pages after installing module subsites

29 September 2012 at 12:08am
I get also the following errors:
404 error page could not be created at /var/www/ss/assets/error-404-http://subsites.10.1.8.180/ss/.html. Please check permissions
500 error page could not be created at /var/www/ss/assets/error-500-http://subsites.10.1.8.180/ss/.html. Please check permissions -
Re: Can't add pages after installing module subsites

1 October 2012 at 8:57am Last edited: 1 October 2012 9:25am
I just migrated from Silverstripe 2.4 to 3.0. and use also the subsites module (silverstripe-subsites-master-1.0-beta1).
I have the same problem an cannot add new pages. I get no error message, but the sitetree stays unchanged.P.S.
I can add a page when i use the context menü (right mouse button -> "Add new page here").
But I cannot add a page when i use the green button "Add new". -
Re: Can't add pages after installing module subsites

2 October 2012 at 8:43pm
I can also add new page with right mouse button->"add new page here" but then I get an page not found error when wanting to preview it or when I go to the url.
Anyone?
-
Re: Can't add pages after installing module subsites

4 October 2012 at 5:03am
I have the same problem, I hope anyone can help us to fix this issue.
-
Re: Can't add pages after installing module subsites

26 October 2012 at 5:29pm
I have this issue as well, can add a menu item by right clicking but not in a new subsite.
Any ideas anyone?
-
Re: Can't add pages after installing module subsites

20 November 2012 at 10:42pm
Hi all,
There's a git repository that solves these issues, I had the same problem.
https://github.com/silverstripe/silverstripe-subsitesThere's an error in the subsitesTreeDropDown.js file though where it uses $$ rather than $.
*nb, not my work, just thought it'd help.
-
Re: Can't add pages after installing module subsites

3 January 2013 at 7:00am
Hi, i can't get Subsites (2.4-compat) working on SS 2.4.9.
$this->owner->Subsite() does not return an Object anymore? Can anybody help?
Greetings, Carsten.
ERROR [Notice]: Trying to get property of non-object
IN POST /admin/getitem?ID=30&locale=de_DE&ajax=1
Line 95 in /home/www/22/42/cwflade787/subsites/code/SiteTreeSubsites.phpSource
======
86:
87: parent::onBeforeWrite();
88: }
89:
90: function updateCMSFields(&$fields) {
91: if($this->owner->MasterPageID) $fields->insertFirst(new HeaderField('This page\'s content is
copied from a master page: ' . $this->owner->MasterPage()->Title, 2));
92:
93: // replace readonly link prefix
94: $subsite = $this->owner->Subsite();
* 95: if($subsite && $subsite->ID) {
96: $baseUrl = 'http://' . $subsite->domain() . '/';
97: $fields->removeByName('BaseUrlLabel');
98: $fields->addFieldToTab(
99: 'Root.Content.Metadata',
100: new LabelField('BaseUrlLabel',$baseUrl),
101: 'URLSegment'
| 737 Views | ||
| Go to Top | Next > |




