+ Reply to Thread
Results 1 to 6 of 6

Thread: Error when adding an Extension

  1. #1

    Default Error when adding an Extension

    I am trying to add an extension and a PHP script to the Control Panel. I have a XML file that is successfully added, but the PHP script keeps failing when trying to start the extension. I am not sure what to add at the SID or the Preferences. My current SID is the path to the .php file. http://domain/@api/dekiwiki/skins/*.php.
    Is this correct? I'm sure there is something I am doing incorrectly.
    Here's the error when trying to restart.
    Array
    (
    [title] => 500 Error
    [message] =>
    [response] => Request URI:

    Server response:
    Array
    (
    [exception] => Array
    (
    [coroutine] => Array
    (
    [frame] => Array
    (
    [0] => Array
    (
    [@method] => MindTouch.Dream.DreamService.CreateService_Helper( String path, String sid, XDoc config, Result`1 result)
    )

    [1] => Array
    (
    [@method] => MindTouch.Deki.DekiWikiService.PostServiceIdStart( DreamContext context, DreamMessage request, Result`1 response)
    )

    )

    )

    [message] => unable to initialize service (blueprint not found)
    [source] => mindtouch.dream
    [stacktrace] => Array
    (
    [frame] => Array
    (
    [0] => MindTouch.Dream.DreamService+<CreateService_Helper >d__19.MoveNext () [0x00000]
    [1] => MindTouch.Tasking.Coroutine.Continue () [0x00000]
    )

    )

    [type] => System.Exception
    )

    )

    )

    Many thanks!!

  2. #2
    Join Date
    Oct 2007
    Location
    San Diego, CA
    Posts
    1,237

    Default

    You need to configure your extension as a REMOTE service.

  3. #3

    Default

    Quote Originally Posted by Guerric View Post
    You need to configure your extension as a REMOTE service.
    Guerric, thank you for replying. I have configured it as remote, but still no luck. title] => Not Found (404)
    [message] => resource not found
    [response] => Request URI:

    Where is it trying to reference the Title? No matter what I add in the Title field, I get an error. Is my path/uri correct?
    https://www.domain/@api/dekiwiki/skins/php_ext.php

    Thanks again!

  4. #4
    Join Date
    Oct 2007
    Location
    San Diego, CA
    Posts
    1,237

    Default

    The correct URI should be:
    https://www.domain.com/skins/php_ext.php

    * Assuming you put your extension in the skins folder. I recommend the web/deki/ folder instead.

  5. #5

    Default

    Yes, it's in the skins directory (web/deki/ not available?). I changed the url path and this error occurs.
    Array
    (
    [title] => 500 Error
    [message] =>
    [response] => Request URI:
    http://localhost:8081/deki/site/serv...eam.in.origin=

    Server response:

    )

    What does the title and other preferences need to reference? I'm sure I'm not configuring this correctly.
    Thanks for your help.

  6. #6
    Join Date
    Oct 2007
    Location
    San Diego, CA
    Posts
    1,237

    Default

    There isn't an error message in what you pasted. Can you provide a more verbose error message? Check the deki-api.log. It's located in /var/log/dekiwiki/deki-api.log

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts