Results 1 to 9 of 9

Thread: Missing required parameter: folder_id

  1. #1
    bixyo is offline Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Default Missing required parameter: folder_id

    Hi everybody

    I've installed iNETDocs Module under SUGARCRM Version 6.0.2 (Build 4217) and KNOWLEDGETree 3.7.0.2 (Community Edition) and followed the instructions written in the txt file.
    I have created the DB structure and within the tables inetdocs_view and intetdocs_lists I can see the same records and the same folder_id values.
    On the first row of inetdocs_lists_folder Table where the the "name" field is like "Root Folder" the 'full_path' value is "NULL"...
    Maybe this is uncorrect value? Could Server Permissions represent a problem for iNETDocs module?
    Did anybody has the same problem? How could I fix it?

    Kind Regard!
    Last edited by bixyo; 2010-11-03 at 04:34 PM.

  2. #2
    bixyo is offline Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Default Re: Missing required parameter: folder_id

    Problem fixed!

    Thanks anyway

  3. #3
    zeccag is offline Junior Member
    Join Date
    May 2008
    Posts
    1

    Default Re: Missing required parameter: folder_id

    I have the same problem, can you tell me how you solved it?

    Best Regards

  4. #4
    martijnburger is offline Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Missing required parameter: folder_id

    I have the same problem. Can anyone post the solution??

  5. #5
    jsagar's Avatar
    jsagar is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    Ahmedabad,India
    Posts
    242

    Default Re: Missing required parameter: folder_id

    Hi,

    Please reinstall latest version from sugarforge.
    Let us know if problem persist.
    Best Regards
    ---------------------------------------
    Jaydeepsinh Sagar

  6. #6
    rishavraj's Avatar
    rishavraj is offline Sugar Community Member
    Join Date
    Sep 2010
    Posts
    135

    Default Re: Missing required parameter: folder_id

    How can i get the current logged user id in javascript. i am using custom accounts.

  7. #7
    martijnburger is offline Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Missing required parameter: folder_id

    Hi Jay,

    thanks for the reply, I reinstalled but the problem still persists.

    I am doing a clean install on an Ubuntu Server 8.04 with KnowledgeTree 3.7.02 and SugarCRM 6.03 (both Community Editions) and iNETDocs 2.2. Installation of the KT webservice and the Sugar Module works. I am using the admin account for both applications. When I login using the iNETDocs module in Sugar using the KT admin username and password I get:

    Missing required parameter: folder_id
    When I click browse documents I do get the documents in KT, not the folders but just a list of the documents (in differtent folders) When I try to download the documents I get an insufficient rights error.

    I think the folder details are not transferred from the KT iNETDocs webservice to the Sugar module... Any thoughts?

    BR,

    Martijn

  8. #8
    martijnburger is offline Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Missing required parameter: folder_id

    Okay.. I reinstalled again but now over two servers, easier to capture the tcp stream.

    1. After loading the database scripts from Sugar I can see that the database views in the knowledgetree DB are created.
    2. When I click browse documents I capture the following TCP stream between the sugar and the kt server:

    GET /knowledgetree/ktwebservice/webservice_iNETDocs/rest.php?session_id=lv0soji30t6m2srlmq1ifeoem1&met hod=get_folder_contents&folder_id=1&depth=1&what=D FS HTTP/1.1

    Host: 192.168.2.13:10080

    Accept: */*



    HTTP/1.1 200 OK

    Date: Tue, 16 Nov 2010 23:03:05 GMT

    Server: Apache/2.2.8 (Ubuntu) PHP/5.2.14

    X-Powered-By: PHP/5.2.14 ZendServer/5.0

    Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/

    Set-Cookie: PHPSESSID=jejh76fuvnehup40th5au20hm4; path=/

    Expires: Thu, 19 Nov 1981 08:52:00 GMT

    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

    Pragma: no-cache

    Content-Length: 2470

    Content-Type: text/xml




    <response>
    <status_code>0</status_code><message></message><results><folder_id>1</folder_id><folder_name>Root Folder</folder_name><full_path>/</full_path><items><item><id>2</id><item_type>F</item_type><custom_document_no>n/a</custom_document_no><oem_document_no>n/a</oem_document_no><title>DroppedDocuments</title><document_type>n/a</document_type><filename>DroppedDocuments</filename><filesize>n/a</filesize><full_path>DroppedDocuments</full_path><created_by>Administrator</created_by><created_date>n/a</created_date><checked_out_by>n/a</checked_out_by><checked_out_date>n/a</checked_out_date><modified_by>n/a</modified_by><modified_date>n/a</modified_date><owned_by>n/a</owned_by><version>n/a</version><is_immutable>n/a</is_immutable><permissions>RWAFND</permissions><workflow>n/a</workflow><workflow_state>n/a</workflow_state><mime_type>folder</mime_type><mime_icon_path>folder</mime_icon_path><mime_display>Folder</mime_display><storage_path>n/a</storage_path><linked_folder_id></linked_folder_id><breadcrumbs><item><url>http://192.168.2.13:10080/knowledgetree/ktwebservice/webservice_iNETDocs/rest.php?fFolderId=1</url><name>Folders</name></item><item><name>DroppedDocuments</name></item></breadcrumbs><items></items></item><item><id>4</id><item_type>F</item_type><custom_document_no>n/a</custom_document_no><oem_document_no>n/a</oem_document_no><title>Folder 1</title><document_type>n/a</document_type><filename>Folder 1</filename><filesize>n/a</filesize><full_path>Folder 1</full_path><created_by>Administrator</created_by><created_date>n/a</created_date><checked_out_by>n/a</checked_out_by><checked_out_date>n/a</checked_out_date><modified_by>n/a</modified_by><modified_date>n/a</modified_date><owned_by>n/a</owned_by><version>n/a</version><is_immutable>n/a</is_immutable><permissions>RWAFND</permissions><workflow>n/a</workflow><workflow_state>n/a</workflow_state><mime_type>folder</mime_type><mime_icon_path>folder</mime_icon_path><mime_display>Folder</mime_display><storage_path>n/a</storage_path><linked_folder_id></linked_folder_id><breadcrumbs><item><url>http://192.168.2.13:10080/knowledgetree/ktwebservice/webservice_iNETDocs/rest.php?fFolderId=1</url><name>Folders</name></item><item><name>Folder 1</name></item></breadcrumbs><items></items></item></items><full_path_for_id><item><url>http://192.168.2.13:10080/knowledgetree/ktwebservice/webservice_iNETDocs/rest.php?fFolderId=1</url><name>Folders</name></item></full_path_for_id></results></response>


    3. After that an error is presented in Sugar: Invalid folder or iNETDocs Database Tables are not properly configured.

    Hope this helps...

  9. #9
    princepradip's Avatar
    princepradip is offline Junior Member
    Join Date
    Mar 2010
    Posts
    1

    Default Re: Missing required parameter: folder_id

    Hi,

    I just sent you private message, so please read and reply for the same on my given email ID. Its easier for us to solve issue on your instant.


    With Best Regards,

    Patel Pradip R.
    General Manager,
    iNET Process.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to pass a parameter in URL
    By yuri.gelman in forum Developer Help
    Replies: 0
    Last Post: 2010-06-24, 11:03 AM
  2. Parameter in ZuckerReport
    By fbrites in forum Help
    Replies: 1
    Last Post: 2008-06-23, 10:21 AM
  3. Replies: 2
    Last Post: 2008-03-18, 11:35 AM
  4. Replies: 1
    Last Post: 2006-04-04, 04:04 AM
  5. Replies: 1
    Last Post: 2005-09-13, 12:24 PM

Bookmarks

Posting Permissions

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