vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Spell Checker: PungoSpell for vBulletin3 Standard and WYSIWYG modes (https://vborg.vbsupport.ru/showthread.php?t=65737)

sketch42 06-04-2004 10:27 PM

Quote:

Originally Posted by tamarian
In the spellcheck.js file, the popup is opened with:

openSpellWin(640, 480);

You can fine-tune the size there.

What browser are you using?

IE6

Quote:

Originally Posted by tamarian
I can add an admin interface to add words but it will have to use the same PSPELL PHP code, which means if there's a problem with the server's setup for that language in word lists, it won't work.

wheres it currently grabbing the wordlist from currently??

teksigns 06-05-2004 02:30 AM

when i type a misspelled word and click the spellcheck button with learn enabled i get

Code:

Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 22

Warning: 0 is not a PSPELL result index in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 79

Warning: 0 is not a PSPELL result index in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 82

Warning: Invalid argument supplied for foreach() in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 84


however when i disable learn it works fine .....

im on a windows machine

tamarian 06-05-2004 03:01 AM

Quote:

Originally Posted by sketch42
wheres it currently grabbing the wordlist from currently??

From the wordlist "custom.pws". The problem is when there's a conflict in the config for ASPELL dictionaries and PSPELL. I'm not yet familiar with all the details, but I used it on several setups, and some work great, and some don't like it. Some use softlinks to english.multi, so use en.multi.

I'll try to find out how to properly diagnose it, and maybe setup a diagnosstic script...

tamarian 06-05-2004 03:07 AM

Quote:

Originally Posted by teksigns
when i type a misspelled word and click the spellcheck button with learn enabled i get

Code:

Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 22
 
 Warning: 0 is not a PSPELL result index in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 79
 
 Warning: 0 is not a PSPELL result index in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 82
 
 Warning: Invalid argument supplied for foreach() in C:\xxxxx\xxxxxxxx\xxxxxxxx\xxxxxxxx\forum\checkspelling.php on line 84


however when i disable learn it works fine .....

im on a windows machine

Yes, this is the same problem I mentioned above posts about dictionary conflicts.

Try this: Change the first line from custom.pws:

personal_ws-1.1 en 0

To:

personal_ws-1.1 english 0

en worked fine for me on Fedora and Gentoo, but I had to change to english on RHE.

Sketch, try that change too, and let me knwo if this solves the problem.

sketch42 06-05-2004 03:28 AM

Quote:

Originally Posted by tamarian
Yes, this is the same problem I mentioned above posts about dictionary conflicts.

Try this: Change the first line from custom.pws:

personal_ws-1.1 en 0

To:

personal_ws-1.1 english 0

en worked fine for me on Fedora and Gentoo, but I had to change to english on RHE.

Sketch, try that change too, and let me knwo if this solves the problem.

nope... learn still doesnt work

but honestly... i really dont need learn ... as long as i can add words manually ...

teksigns 06-05-2004 12:44 PM

Quote:

Originally Posted by tamarian
Yes, this is the same problem I mentioned above posts about dictionary conflicts.

Try this: Change the first line from custom.pws:

personal_ws-1.1 en 0

To:

personal_ws-1.1 english 0

en worked fine for me on Fedora and Gentoo, but I had to change to english on RHE.

Sketch, try that change too, and let me knwo if this solves the problem.


i still get same exact error .

i notice it still says "en" in the error even though i changed to "english".

SteveK 06-05-2004 06:27 PM

I get this error when attempting to spell check:


Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26

Line 26 is:

PHP Code:

    $pspell_link pspell_new ("$my_lang"""""""PSPELL_FAST|PSPELL_RUN_TOGETHER); 

Tried changing custom.pws from "en" to "english", no luck
I do have pspell installed, but unsure of dictionary location the aspell.conf file. How do I edit the aspell.conf file using SSH so that it points to the right dictionary file?

Thanks

tamarian 06-05-2004 09:13 PM

Quote:

Originally Posted by SteveK
I get this error when attempting to spell check:


Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26

Line 26 is:

PHP Code:

    $pspell_link pspell_new ("$my_lang"""""""PSPELL_FAST|PSPELL_RUN_TOGETHER); 

Tried changing custom.pws from "en" to "english", no luck
I do have pspell installed, but unsure of dictionary location the aspell.conf file. How do I edit the aspell.conf file using SSH so that it points to the right dictionary file?

Thanks

I think this is not a wordlist problem, so let's see if you have and en dictionary installed.

What are the contents of these directories on your server?

/usr/lib/aspell
/usr/share/aspell

You may be missing the en english dictionaries

dbroomjr 06-05-2004 10:53 PM

I too am getting the error:

Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26

At your request, here is the contents of my directories. I would sure like to get this going. :D

Any tips?

Code:

[/usr/lib/aspell]# ls
./                  american.multi@    english-med-only  english-variant-2
../                canadian-med.multi  english.multi@
american-med.multi  canadian-med-only  english-variant-0
american-med-only  canadian.multi@    english-variant-1

[/usr/share/aspell]# ls
./                  iso8859-10.map  iso8859-4.dat  iso8859-7.map  koi8-r.dat
../                iso8859-1.dat  iso8859-4.map  iso8859-8.dat  SGML.map
ASCII.dat          iso8859-1.map  iso8859-5.dat  iso8859-8.map  spell*
ASCII.map          iso8859-2.dat  iso8859-5.map  iso8859-9.dat  standard.kbd
english.dat        iso8859-2.map  iso8859-6.dat  iso8859-9.map  unicode.dat
english_phonet.dat  iso8859-3.dat  iso8859-6.map  ispell*        viscii.dat
iso8859-10.dat      iso8859-3.map  iso8859-7.dat  koi8-f.dat    viscii.map

Thanks,

David

tamarian 06-05-2004 11:04 PM

Quote:

Originally Posted by dbroomjr
I too am getting the error:

Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26

At your request, here is the contents of my directories. I would sure like to get this going. :D

Any tips?

Here's a tip:

In /usr/share/aspell

copy english.dat to en.dat
copy english_phonet.dat to en_phonet.dat


All times are GMT. The time now is 09:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01462 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete