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
  (#1) Old
mhunt Offline
Member
 
Posts: 63
Join Date: May 2005
Spell Checker - 25-06-2005, 10:52 PM

I get the following pop-up error when using the spell checker. I'm using Windows 2003...looks like it's picking up an incorrect variable. Anyone any ideas?

System Error: Aspell program execution failed ('aspell -a --lang=en_US < C:WINDOWSTEMPasp189.tmp 2>&1')
   
Reply With Quote
  (#2) Old
Francisco Offline
Member
 
Posts: 41
Join Date: Jan 2005
26-06-2005, 12:40 AM

Quote:
Originally Posted by mhunt
I get the following pop-up error when using the spell checker. I'm using Windows 2003...looks like it's picking up an incorrect variable. Anyone any ideas?

System Error: Aspell program execution failed ('aspell -a --lang=en_US < C:WINDOWSTEMPasp189.tmp 2>&1')
Seems like it's missing the /
   
Reply With Quote
  (#3) Old
mhunt Offline
Member
 
Posts: 63
Join Date: May 2005
05-07-2005, 07:05 PM

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
   
Reply With Quote
  (#4) Old
IanWild Offline
Member
 
Posts: 37
Join Date: Jun 2005
06-07-2005, 08:59 AM

Thats cool.

Did you have any other problems with the windows install?

Ian
   
Reply With Quote
  (#5) Old
mhunt Offline
Member
 
Posts: 63
Join Date: May 2005
06-07-2005, 09:59 AM

No, smooth other than an issue with getting file uploads for the downloads section to work. Even though I had the correct file permissions for the /files dir, I had to give the IUSER account 'power users' rights to get this part to work.

Other than that....no issues.

Mark
   
Reply With Quote
  (#6) Old
s00tie Offline
New Member
 
Posts: 15
Join Date: Jul 2005
09-08-2005, 10:17 AM

Something not quite right here....

Followed the instructions but kept getting numerous 'module not found' errors on the server even though the file it was reportedly looking for was clearly there.

From the PHP webby:

Quote:
Note to Win32 Users: win32 support is available only in PHP 4.3.3 and later versions. Also, you must have aspell 0.50 or newer installed. In order to enable this module under Windows, you must copy aspell-15.dll from the bin folder of your aspell installation to a folder where PHP will be able to find it. C:\PHP or the SYSTEM32 folder of your windows machine (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) are good choices.
Although this stopped the errors, the 'Spell Check' link in still doesn't work. The dialogue box pops up with 'Error on Page' in the status bar and upon opening the error it shows the following:

Line: 40
Char: 1
Error: Object Expected
Code: 0
URL: http://ithelpdesk//includes/Spellcheck/spellchecker.php (And yes the // isn't a typo here )

Any ideas?
   
Reply With Quote
  (#7) Old
s00tie Offline
New Member
 
Posts: 15
Join Date: Jul 2005
24-08-2005, 11:06 AM

Anyone using the spell checker sucessfully with v3?
   
Reply With Quote
  (#8) Old
testing123 Offline
New Member
 
Posts: 1
Join Date: Jul 2005
28-08-2005, 05:57 AM

I use linux and was able to get aspell to work with version 3.00.04, but it was not straight out of the box. I had to symlink en_us.multi -> american.multi. the command used by kayako (aspell -a --lang=en_US < text) didn't work because /usr/lib/aspell/en_us.multi does not exist... I even grabbed the most recent dictionary.

Maybe you can look around in the aspell directory and make a copy of american.multi to en_us.multi ?

Last edited by testing123; 28-08-2005 at 06:02 AM.
   
Reply With Quote
  (#9) Old
robit Offline
New Member
 
Posts: 12
Join Date: Aug 2005
Aspell on iis - 01-09-2005, 04:26 AM

I followed the instructions to install aspell in windows with iis. the only problem i have is when the extension php_pspell.dll is active in php.ini the pages just dont load. PHP doesnt seem to work. When i dont have php_pspell.dll active, php works fine, but the spell checker still doesnt work. php_pspell.dll is in the extensions folder. PHP seems to do this for some extensions. Do you know why?
   
Reply With Quote
  (#10) Old
s00tie Offline
New Member
 
Posts: 15
Join Date: Jul 2005
01-09-2005, 07:32 AM

Have logged my fault with support and Varun kindly copied & pasted mhunts forum posting above which of course I tried again still with no joy
   
Reply With Quote
  (#11) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
01-09-2005, 08:38 PM

What error do you get?

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#12) Old
elephant Offline
Member
 
Posts: 37
Join Date: Apr 2005
26-09-2005, 06:13 PM

Quote:
Originally Posted by robit
I followed the instructions to install aspell in windows with iis. the only problem i have is when the extension php_pspell.dll is active in php.ini the pages just dont load. PHP doesnt seem to work. When i dont have php_pspell.dll active, php works fine, but the spell checker still doesnt work. php_pspell.dll is in the extensions folder. PHP seems to do this for some extensions. Do you know why?
I have the same issue -- added the extension causes everything in IIS to not answer.

The only step I skipped was to download,

Download this file: aspell-data.zip from:
http://networkessence.net/aspell-data.zip

Because the link doesnt work.
   
Reply With Quote
  (#13) Old
mhunt Offline
Member
 
Posts: 63
Join Date: May 2005
26-09-2005, 08:43 PM

Ingram, try this. ftp://212.104.136.251/ I'll leave it available (anonymous access) for a while so you and others can grab it. You will need it.

Mark
   
Reply With Quote
  (#14) Old
elephant Offline
Member
 
Posts: 37
Join Date: Apr 2005
27-09-2005, 01:04 AM

Quote:
Originally Posted by mhunt
Ingram, try this. ftp://212.104.136.251/ I'll leave it available (anonymous access) for a while so you and others can grab it. You will need it.

Mark
Mark,

Thanks for the download and details..... Once I enable the extension in php.ini the IIS server hangs all requests.

I then added these to your steps:

* add the path to the Aspell executable, normally C:\Program Files\Aspell\bin , to the path include in php.ini

* In that location you will find the Aspell console application, as well as a couple of DLLs. Copy the DLL aspell-15.dll to C:\PHP .


Am further along now, the window opens but get an error saying:

System error: Aspell progrem execution failed ('aspell -a --lang=en_US < C:WINDOWSTEMPasp1FB.tmp 2>&1')

It looks like the windows path could be wrong??

Last edited by elephant; 27-09-2005 at 01:15 AM.
   
Reply With Quote
  (#15) Old
elephant Offline
Member
 
Posts: 37
Join Date: Apr 2005
27-09-2005, 02:46 AM

looking at the code, it seems that aspell is using "shell_exec".

I put this little test app:

Code:
<?php 


$blah = shell_exec ("echo %ComputerName%"); 
print $blah; 


?>
Am running Windows 2003. $blah is blank. Is perhaps this is something with php and win2k3 not being able to run shell_exec?

Error in PHP.log:

[26-Sep-2005 22:00:07] PHP Warning: shell_exec(): Unable to execute 'echo %ComputerName%'

Last edited by elephant; 27-09-2005 at 02:56 AM.
   
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.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


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