Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#31) Old
Racked Hosting Offline
Member
 
Posts: 345
Join Date: Mar 2006
Location: Manipal
30-10-2006, 06:40 PM

I hope I got the topic right

The new version of firefox (2.0) has a automated spell checking system based on the dictionaries (freely available).
   
Reply With Quote
  (#32) Old
jon Offline
New Member
 
Posts: 14
Join Date: Nov 2005
18-01-2007, 04:18 AM

What happened to the toggle option? I'm looking at the latest cvs build and unable to find this feature, where is it?
   
Reply With Quote
  (#33) Old
elephant Offline
New Member
 
Posts: 20
Join Date: Apr 2005
18-01-2007, 02:50 PM

Quote:
Originally Posted by Varun Shoor
I will see if we can add a toggle to switch to Aspell extension available with PHP (On most systems atleast) on Monday.

If not, Then it might not make into the .98 stable build.

Regards,

Varun Shoor
Varun,

We just installed the latest CVS, is this something we can toggle now. This would be a huge help! Thanks!!! Hope all is well.
   
Reply With Quote
  (#34) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,651
Join Date: May 2003
18-01-2007, 07:11 PM

Yes, It automatically tries to use the Aspell extension and if it fails to load it then it tries to load the aspell binary.

Hope that helps.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#35) Old
elephant Offline
New Member
 
Posts: 20
Join Date: Apr 2005
19-01-2007, 03:28 AM

Quote:
Originally Posted by Varun Shoor
Yes, It automatically tries to use the Aspell extension and if it fails to load it then it tries to load the aspell binary.
Code:
<?php

$spell = pspell_new("en");

if (pspell_check($spell,"orange")){
   echo "Word spelt correctly!\n";
} else {
   echo "Bad spelling\n";
}
?>
Ok, I got the above code working at the root of the site.

But, now when I run the spellchecker in kayako, I get this in the source:

Quote:
<b>Warning</b>: pspell_new() [<a href='function.pspell-new'>function.pspell-new</a>]: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language &quot;en&quot;. in
If I look at the code, in spellchecker.php:

Code:
		$int = pspell_new("en");

This is the line it failing on. How is this line any different than my sample line? Is Kayako have some sort of global setting somewhere that I am missing in the mode. Why would the bahavior change?

Thanks!
   
Reply With Quote
  (#36) Old
jon Offline
New Member
 
Posts: 14
Join Date: Nov 2005
20-01-2007, 05:48 PM

Quote:
Originally Posted by elephant
If I look at the code, in spellchecker.php:

Code:
		$int = pspell_new("en");

This is the line it failing on. How is this line any different than my sample line? Is Kayako have some sort of global setting somewhere that I am missing in the mode. Why would the bahavior change?

Thanks!
I got this working in windows by changing that code (at line 109) : includes\Spellcheck\spellchecker.php

to...
Code:
			pspell_config_create("en");
			$int = pspell_new("en");
Hope this helps!
   
Reply With Quote
  (#37) Old
jon Offline
New Member
 
Posts: 14
Join Date: Nov 2005
20-01-2007, 07:31 PM

http://bugs.kayako.net/?do=details&id=1849
   
Reply With Quote
  (#38) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,651
Join Date: May 2003
23-01-2007, 08:40 AM

Added to TODO, Fix should be out in CVS soon.

Thanks for posting.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#39) Old
csa2 Offline
New Member
 
Posts: 1
Join Date: Jan 2007
24-01-2007, 03:53 AM

Hello,

Just wondering, how can we install the spell check without resorting to changing any of the php codes (etc).

I have just noticed that it hasnt been installed in our V3. Please help!

Cheers
   
Reply With Quote
  (#40) Old
jon Offline
New Member
 
Posts: 14
Join Date: Nov 2005
02-04-2007, 03:45 PM

Quote:
Originally Posted by Varun Shoor View Post
Added to TODO, Fix should be out in CVS soon.

Thanks for posting.

Regards,

Varun Shoor

Varun,

Just installed latest stable (3.10.02), this fix was not applied. Please rectify for future releases.
   
Reply With Quote
  (#41) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,668
Join Date: Jan 2006
Location: United Kingdom
30-04-2007, 01:27 PM

This bug has been fixed.

Thanks,


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#42) Old
dabraham1 Offline
New Member
 
Posts: 1
Join Date: Jun 2007
25-06-2007, 06:13 AM

Quote:
Originally Posted by mhunt View Post
Resolved this now.....some info just in case anyone else is running v3 on Windows and IIS. It's quite involved, so please bear with me:

I assume here you've got a working PHP install, and v3 running!

Download Aspell (win32 version) the ‘Full Installer’ and English dictionary for Aspell, linked here for your convenience:
http://ftp.gnu.org/gnu/aspell/w32/As...-3-3-Setup.exe
and
http://ftp.gnu.org/gnu/aspell/w32/As...n-0.50-2-3.exe

Install the Installer (Aspell-*-Setup.exe), and then install the dictionary (Aspell-en-*.exe).

Now, here’s the important step. Download this file: aspell-data.zip from:
http://networkessence.net/aspell-data.zip

Save this file in C:/Program Files/Aspell (or whichever directory you installed Aspell into). Rename the directory ‘C:/Program Files/Aspell/Data’ to ‘C:/Program Files/Aspell/Data.old’. Now extract the contents of the aspell-data.zip file into ‘C:/Program Files/Aspell’. This will replace the data files which are installed into Aspell. I have no idea why this is needed, but for some reason, the Windows version of php/aspell won’t support the data files which are installed by default.

Now edit php.ini and add this line: extension=php_pspell.dll, making sure the DLL is actually in your extensions directory for PHP.

Now amend your default PATH system variable for 'TMP' from the default, '%SystemRoot%\temp' to c:\temp (or whichever directory you wish). Aspell seems to not pick up the variable replacement correctly, so needs hard coding.

Do an IISRESET and hey presto....a working Spell Checker for v3 on Windows.

Mark
Can you please point me to a copy of the aspell-data.zip file. The listed link does not work.

Thanks.
   
Reply With Quote
  (#43) Old
jon Offline
New Member
 
Posts: 14
Join Date: Nov 2005
03-07-2007, 04:23 PM

Quote:
Originally Posted by dabraham1 View Post
Can you please point me to a copy of the aspell-data.zip file. The listed link does not work.

Thanks.
I'm guessing that the link is mearly a copy of the dictionary files saved as Text Files. The default dictionaries probably use UNIX line returns which windows doesn't understand. Re-saving the files with DOS line returns should fix the problem.
   
Reply With Quote
Reply

Tags
checker, spell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Checker error ]SK[ SupportSuite, eSupport and LiveResponse 7 03-09-2007 06:49 PM
No words in spell checker dictionary IVRnet SupportSuite, eSupport and LiveResponse 0 06-07-2007 10:26 PM
Adding the JSpell Spell Checker to Submit a Ticket chelsel Developers & Code 5 27-03-2007 04:57 PM
Spell Checker Failure. Darren SupportSuite, eSupport and LiveResponse 23 30-10-2006 05:06 PM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48