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)

DTC 01-03-2005 06:04 PM

OK, figured it out! We were missing the .pwli file in the pspell data directory. Cpanel had to wack it at one point...go figure...

Here's what ya need to do:

Check the pspell data directory. If you don't know where that is type:

pspell-config pkgdatadir

That should tell you where to look. In my case it was /usr/share/pspell/

You need to create a file in that directory called en-aspell.pwli (I use english) and the only thing that is in the file is the path to your dictionary. In my case the file contains one line as below:

/usr/lib/aspell/english

Bingo, it works again...

Good 'ole CPanel....

Hope that helps anyone else that has the problem...

Mark.B 01-06-2005 11:18 PM

My hosts upgraded to php 4.3.10 tonight and it fixed the error.

Dio 01-08-2005 08:44 PM

If I am posting a new thread or replying to a thread life is good, but when I try to respond to a thread that has "quoting" in it I get an error message - it tells me to talk with my administrator. Any ideas how to correct it so that it is available when spell checking is used during a reply with quoting in it?

Wifey 01-10-2005 03:36 AM

All of a sudden my spell check isn't working. I'm not sure if it was from a query I ran a few days ago and I have no idea why. It's at least not getting an error anymore when I try to use it since I had my hosting move me to a newer server, but I just reinstalled this hack and I don't understand why it's not working.

I hit spell check and a blank window pops up saying its done. Any ideas?

Dio 01-13-2005 01:29 AM

Is there anybody out there supporting this hack?

LunaTech 01-13-2005 04:52 AM

I've solved the "An error has occured, ....your administrator" error in my case. I noticed it only happend when the text had a carrige return. If it was only one line of text no problems. So, not surprisingly, it turns out the problem stems from a carrige return being imbedded in the checkspelling.php. If you edit that file, you must not do it in DOS mode. If you edit the file in DOS mode, it'll break the carrige return and mess up your code. Try uploading a fresh copy of checkspelling.php (in binary mode) if you have any trouble.

Dio 01-13-2005 10:00 AM

Quote:

Originally Posted by LunaTech
I've solved the "An error has occured, ....your administrator" error in my case. I noticed it only happend when the text had a carrige return. If it was only one line of text no problems. So, not surprisingly, it turns out the problem stems from a carrige return being imbedded in the checkspelling.php. If you edit that file, you must not do it in DOS mode. If you edit the file in DOS mode, it'll break the carrige return and mess up your code. Try uploading a fresh copy of checkspelling.php (in binary mode) if you have any trouble.

Thank you for the response!

Where is the carrige return in the checkspelling.php file, is this something that I can delete? I've uploaded a fresh copy of checkspelling.php and it did not correct the problem. :ermm:

LunaTech 01-13-2005 04:56 PM

Line 47, 48, and 49 should look like (note, I've replaced the HEX 0D character, the line break, in with a space so it displays right on this page):

Code:

// can't have newlines or carriage returns in javascript string
$mystr = str_replace(" ", "", $mystr);
$mystr = str_replace("\n", "_|_", $mystr);

Not:
Code:

// can't have newlines or carriage returns in javascript string
$mystr = str_replace("
", "", $mystr);
$mystr = str_replace("\n", "_|_", $mystr);

The problem is most editors won't read it right. I had to use UltraEdit32, in UNIX mode. To see if you're having the same problem as I did, try spell checking a single line of text with no line breaks. Just like 3 words. If that works fine but more text doesn't - that's probably the problem.

Dio 01-14-2005 07:58 PM

Quote:

Originally Posted by LunaTech
Line 47, 48, and 49 should look like (note, I've replaced the HEX 0D character, the line break, in with a space so it displays right on this page):

Code:

// can't have newlines or carriage returns in javascript string
$mystr = str_replace(" ", "", $mystr);
$mystr = str_replace("\n", "_|_", $mystr);

Not:
Code:

// can't have newlines or carriage returns in javascript string
$mystr = str_replace("
", "", $mystr);
$mystr = str_replace("\n", "_|_", $mystr);

The problem is most editors won't read it right. I had to use UltraEdit32, in UNIX mode. To see if you're having the same problem as I did, try spell checking a single line of text with no line breaks. Just like 3 words. If that works fine but more text doesn't - that's probably the problem.

Hmmm....I made the changes that you suggested but they did not correct the problem. :ermm:

Wifey 01-15-2005 05:41 PM

Alrighty I made those changes and I uploaded a fresh install and I'm still having issues.

It was working LIKE A CHARM before then all of a sudden decided not to anymore.

When I hit check spelling the windo pops up, loads, and it's blank and says it's done.


All times are GMT. The time now is 07:44 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.02354 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (2)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