Results 1 to 9 of 9

Thread: MODULE: ZuckerDocs 2 (Beta)

  1. #1
    ftreml's Avatar
    ftreml is offline Sugar Community Member
    Join Date
    May 2005
    Location
    Vienna, Austria
    Posts
    399

    Default MODULE: ZuckerDocs 2 (Beta)

    The beta release for ZuckerDocs 2.0 is available at SugarForge. No new features, but much better integration with KnowledgeTree by using the new Webservices-Layer for KnowledgeTree.

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Hi,

    I'm running ktdms 3.5 (OSS DEV.3.5.2007-09-07-111536). Did you check with this one too?. I don't mind installing a stable version but it would be easier if I could do it on the one that I'm using already.

    I'll test it as soon as I hear back from you!

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  3. #3
    roastedbean's Avatar
    roastedbean is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Gilbert, AZ
    Posts
    11

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Are we good to go with KT 3.5?

    Thanks

  4. #4
    lvangool is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Near Rotterdam, Holland
    Posts
    280

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Is there fulltext search?

  5. #5
    ftreml's Avatar
    ftreml is offline Sugar Community Member
    Join Date
    May 2005
    Location
    Vienna, Austria
    Posts
    399

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Quote Originally Posted by lvangool
    Is there fulltext search?
    yes, there is.

  6. #6
    jcampbell101 is offline Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    I noticed an issue with the mydocuments. At first i thought that when i added a user to the ktdms web interface then the my documents link would break in the zuckerdocs module and would not display the users folder.

    here is the error I get "Invalid function call. Argument type is not correct for KT_Folder::getFolderById().."

    but after wiping out the dms db and recreating it, the first time i go to access the my documents section it works fine. But after that i try to go back then i get the above error. so i am not sure as to what is going on here.

    I am using sugar 4.5.1e, ktdms 3.5.1, zd 2.0d

    Does adding users to the back end of the ktdms have any affect on the sugar side of things.

    let me know,

    John
    Last edited by jcampbell101; 2007-11-01 at 11:08 PM.

  7. #7
    jcampbell101 is offline Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    I am also experiencing an issue with downloading documents from within the zucker docs module.
    I get this message when I try to download a document.

    /knowledgeTree/ktwebservice/download.php?code=b95db63f8d09f1fd68302ccdfa9685cc 3e05e1f7&d=2&u=0e3k1ru6v28gmni27qlm9rlq46

    Any reason why this is happening?

    Sugar 4.5.1e, ktdms 3.5.1, zd 2.0d

    John

  8. #8
    modeerf is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    35

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Quote Originally Posted by jcampbell101
    I am also experiencing an issue with downloading documents from within the zucker docs module.
    I get this message when I try to download a document.

    /knowledgeTree/ktwebservice/download.php?code=b95db63f8d09f1fd68302ccdfa9685cc 3e05e1f7&d=2&u=0e3k1ru6v28gmni27qlm9rlq46

    Any reason why this is happening?

    Sugar 4.5.1e, ktdms 3.5.1, zd 2.0d

    John
    The solution is in the help forums on SugarForge. It's because of the download.php. Zucker's replacement for it has some issues. copy the zucker version of download.php to zdownload.php. Replace all references to download.php with zdownload.php in <sugarroot>/modules/ZuckerDocs. Restore the appropriate sugar version of download.php.

  9. #9
    tpine is offline Sugar Community Member
    Join Date
    Feb 2007
    Location
    CA, US
    Posts
    37

    Default Re: MODULE: ZuckerDocs 2 (Beta)

    Quote Originally Posted by modeerf
    The solution is in the help forums on SugarForge. It's because of the download.php. Zucker's replacement for it has some issues. copy the zucker version of download.php to zdownload.php. Replace all references to download.php with zdownload.php in <sugarroot>/modules/ZuckerDocs. Restore the appropriate sugar version of download.php.
    The latest distribution of ZD 2.0d has the zdownload.php file. But the same problem still exists.
    My Firefox opens a new window and showed
    /ktwebservice/download.php?code=afa433e27e14263b5588ed99bcb2e889 19ac1e54&d=8&u=965dc9c643e690ab495018ea6c60bdca

    Looks like a session mismatch problem in KT??

    SugarOS4.5.1e
    KT3.4.3

    Edit:
    Modified the <sugarroot>/modules/ZuckerDocs/dms/ktwsapi/vendor/ktwsapi.inc.php
    so the previously uploaded document can be downloaded.
    Look for the download() function around line 781.

    Here's the revised version:

    Code:
    	/**
    	 * Download a version of the document
    	 *
    	 * @param string $version
    	 * @param string $localpath
    	 * @return true
    	 */
    	function download($version=null, $localpath=null)
    	{		
    		if (is_null($localpath))
    		{
    			$localpath = $this->ktapi->get_download_path();
    		}
    		
    		if (!is_dir($localpath))
    		{
    			return new PEAR_Error('local path does not exist');
    		}
    		if (!is_writable($localpath))
    		{
    			return new PEAR_Error('local path is not writable');
    		}
    		
    		$kt_response = $this->ktapi->soapclient->download_document($this->ktapi->session, $this->document_id);
    		if (SOAP_Client::isError($kt_response))
    		{
    			return $kt_response;
    		}
    
    		if ($kt_response->status_code != 0)
    		{
    			return new PEAR_Error($kt_response->message);
    		}
    		
    $url = KT_URL;
    		$url .= $kt_response->message;
    		
    		$response = $this->_download_file($url, $localpath, $this->filename);
    		if (PEAR::isError($response))
    		{
    			return new PEAR_Error($kt_response->message);
    		}    	
    		
    		return true;  
    	}
    Last edited by tpine; 2008-07-10 at 06:15 PM. Reason: Solution found

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 14
    Last Post: 2010-07-28, 07:24 AM
  2. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  3. ZuckerDocs module installation error
    By gesuina in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2006-12-18, 09:55 AM
  4. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  5. Module: ZuckerDocs - Import Emails&Notes
    By ftreml in forum Downloads
    Replies: 1
    Last Post: 2006-07-01, 01:04 AM

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
  •