Customer Portal

Get Involved. Join the Conversation.

Topic

    JJ
    Attempt to write a readonly database
    Topic posted July 20, 2018 by JJ Bronze Crown: 15,000+ Points 
    70 Views, 3 Comments
    Title:
    Attempt to write a readonly database
    Content:

    Firstly - please can someone amend http://documentation.custhelp.com/euf/assets/devdocs/cloud18b/Connect_PHP/Content/Connect%20for%20PHP%20API/Connect%20PHP%20API/Operational%20Behavior/Bulk%20Delete.htm?SearchType=Stem&Highlight=bulk as the code example is all sorts of wrong

    Secondly, when I do the code below I get the error: "Attempt to write a readonly database" despite the documentation saying I can do it on custom objects

    Any advice?

    Code Snippet:

    Comment

     

    • SJ

      JJ,

      Are you using Connect 1.4? 

      Did you try replacing $ConnectAPI with ConnectAPI?

       

      Thanks,

      SJ

    • JJ

      Sorry for delay - yes I did.

      I am using 1.3

    • JJ

      If I use 1.4, I get:

      Uncaught exception 'Exception' with message 'ApplicationContext is not set for the request : ROQL query'