| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
(#3)
|
| 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 |
| | |
(#4)
|
(#5)
|
| 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 |
| | |
(#6)
|
| 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:
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? | |
| | |
(#7)
|
(#8)
|
| 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 ? |
| | |
(#9)
|
| 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? |
| | |
(#10)
|
(#11)
|
| Chief Executive Officer Posts: 2,829 Join Date: May 2003 |
01-09-2005, 08:38 PM
What error do you get? Regards, Varun Shoor -------------------------------------------------------------------
|
| | |
(#12)
|
| Member Posts: 37 Join Date: Apr 2005 |
26-09-2005, 06:13 PM
Quote:
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. | |
| | |
(#13)
|
| 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 |
| | |
(#14)
|
| Member Posts: 37 Join Date: Apr 2005 |
27-09-2005, 01:04 AM
Quote:
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?? | |
| | |
(#15)
|
| 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;
?>
Error in PHP.log: [26-Sep-2005 22:00:07] PHP Warning: shell_exec(): Unable to execute 'echo %ComputerName%' |
| | |
![]() |
| Tags |
| checker, spell |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |