We've been trying to install Kaliko with oracle since last
friday, no luck.
Yesterday we started to debug from kaliko core to find a solution
<add name="KalikoCMS" connectionString="Password=xxx;Persist Security Info=True;User ID=xxx;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xxx)))" providerName="Oracle.ManagedDataAccess.Client" />
I'll Try To Install this
I forgot to tell before, I'm working with Oracle 11g
<package id="Telerik.DataAccess.Core" version="2016.2.822.1" targetFramework="net45" />
<package id="Oracle.ManagedDataAccess" version="12.2.1100" targetFramework="net452" />
My config
<connectionStrings>
<add name="KalikoCMS" connectionString="data source=xxx.xx.xx.xxx:1521/EXXXX.590453502.oraclecloud.internal;persist security info=True;user id=XXXXXXXXXX;password=XXXXX" providerName="Oracle.ManagedDataAccess.Client" />
</connectionStrings>
Thanks again
I've tried to make the connection that way, but it doesnt work, The application cant reach the db
I've only installed these
https://www.nuget.org/packages/KalikoCMS.Core/1.2.4-beta3
https://www.nuget.org/packages/Oracle.ManagedDataAccess/12.2.1100
It Worked
I'm on admin page, but theres no users. Do you have the sript to create users? The project doesn't have the setupadmin page
Any help you need with kaliko, you can ask me
I foud out today that if you upload an pg file with tranparency, the cached image is created without tranparency, but with a black background instead
Thanks again and again
Its my first time with oracle too, I'm used to MSSQL. I can say with all my heart "I hate Oracle", too much time wasted for something that I don't even need to worry when I'm om MSSQL, but oracle was a client need
About the first script, I ran itin pieces, a table at a time
The triggers gave some trouble, they were created but with error, there was an extra ; at the end of the script. I erase it in the trigger and ran it, then everything goes smooth
Create a nuget package for every DB will be a great thing, It will help a lot
I'm still learnning about Kaliko yet, I'm used to Umbraco (ten years already), so things are very different, I'm having difficult to get field values from nodes below my homepage. I could only list the types, but not the name or even the id
var children = PageFactory.GetChildrenForPage(currentPage.PageId);
foreach (CmsPage child in children) { bool hasProperty; var property = child.Property.GetPropertyValue("Headline", out hasProperty);
if (hasProperty) { var value = ((StringProperty)property).Value; // ... } } public class StartPageController : PageController<StartPage> { public override ActionResult Index(StartPage currentPage) {
// sample code here
} } var children = PageFactory.GetChildrenForPage(KalikoCMS.Configuration.SiteSettings.Instance.StartPageId);
// ...I've figure it out. I forgot to change the web.config
<authorization>
<allow roles="WebAdmin" />
<deny users="*" />
</authorization>
It was commented
But as I've said before, I deleted the trigger part
CREATE TRIGGER "Trg_AspNetVersion_Id" BEFORE INSERT ON "AspNetVersion" FOR EACH ROW BEGIN SELECT "Seq_AspNetVersion_Id".nextval INTO :NEW."Id" FROM dual; END;
I've let the application create it and everything went fine
The site is almost ready
Thanks Fredrik, without your help it wouldn't be possible