21310 Posts in 5739 Topics by 2604 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 453 Views |
-
error saving page

22 August 2011 at 10:32pm
Hi!
I install Silverstipe on Aruba Server with linux. Here I have the following problem: when I save a page (for example Page or News Page) I have the following error:500//There has been an error
console.error(fullMessage);}If I try to save a second time the error disappear and I can save my page.
With server windows this doesn't happen..
Any idea? -
Re: error saving page

23 August 2011 at 12:11am
try adding...
SS_Log::add_writer(new SS_LogFileWriter('sserrors.txt', SS_Log::ERR);
to your config and then looking at the file produced in sapphire folderor search your (apache?) error logs
-
Re: error saving page

23 August 2011 at 6:47pm Last edited: 23 August 2011 6:59pm
The message is this:
Error at sapphire/core/model/MySQLDatabase.php line 536: Couldn't run query:
INSERT INTO "SiteTree_versions" ("ShowInMenus", "ShowInSearch", "ProvideComments", "Status", "MenuTitle", "MetaTitle", "MetaKeywords", "MetaDescription", "Priority", "HomepageForDomain", "ToDo", "LastEdited", "ClassName", "Created", "URLSegment", "Title", "Content", "ExtraMeta", "HomePageForDomain", "Sort", "HasBrokenFile", "HasBrokenLink", "ReportClass", "CanViewType", "CanEditType", "Version", "ParentID", "RecordID", "AuthorID") VALUES ('1', '1', '0', 'Saved (new)', null, null, null, null, '0.9', null, null, '2011-08-23 08:43:31', 'Page', '2011-08-23 08:43:25', 'new-page', 'New Page', null, null, null, '6', '0', '0', null, 'Inherit', 'Inherit', 2, '5', 94, 1)Column 'HomePageForDomain' specified twice (http://mysito/admin/EditForm)
any ideas? I'm on linux so I table start with initial capital letters. For example: SiteTree_Live, SiteConfig but SiteTree_versions
-
Re: error saving page

24 August 2011 at 6:51am
Looks like for some reason the field "HomePageForDomain" is found twice in the CMS form. That shouldn't be the case... Does this happen on a fresh install?
| 453 Views | ||
|
Page:
1
|
Go to Top |


