vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Spell :: Spell Checker in WYSIWYG and Standard Modes (https://vborg.vbsupport.ru/showthread.php?t=92202)

tamarian 10-02-2005 11:16 PM

Quote:

Originally Posted by Loukrhtia
Yes but what should I tell them to change?

The PHP script max execution time setting.

tamarian 10-02-2005 11:19 PM

Quote:

Originally Posted by lierduh
Gold has changed the quick_edit's AJAX code. It used to send the quick_edit form by html. It seems now sending it using xml.

I have been trying to find the form name for the quick_edit form but have failed so far.

My test server is a bit messed up, so I'll test this in a couple of days when my environment is back to a clean 3.5 gold state. Feel free to bump this in a couple of days if this is still not sorted out.

Lea Verou 10-02-2005 11:19 PM

This is what my phpinfo says:
max_execution_time 30 30
What should I tell them to put it to?

tamarian 10-02-2005 11:21 PM

Quote:

Originally Posted by Loukrhtia
This is what my phpinfo says:
max_execution_time 30 30
What should I tell them to put it to?

It would be hard to say, as it differs from server to server. If I tell you 60 or 90, it may still not be enough.

Lea Verou 10-02-2005 11:23 PM

Ok I'll tell them 100... I hope they do it even temporarily...

lierduh 10-02-2005 11:23 PM

Quote:

Originally Posted by tamarian
The PHP script max execution time setting.

Or include this in the beginning of the installation script::)

set_time_limit(3600);

The script can run for 1 hour before timing out.

(Also check http log to see if there is any error. It shows if it had timed out.)

Lea Verou 10-04-2005 07:45 PM

Thanks lerduh.
However, I'm trying to uninstall so that I perform a clean install now that safemode is off and When I click step 4 for the table I get a database error that the table exists although I have uninstalled!
How can I solve this?

edit: Where can I find this http log??

tamarian 10-04-2005 07:51 PM

Quote:

Originally Posted by Loukrhtia
Thanks lerduh.
However, I'm trying to uninstall so that I perform a clean install now that safemode is off and When I click step 4 for the table I get a database error that the table exists although I have uninstalled!
How can I solve this?

Hmm, run un-install again and see. It should remove it. There's only one table "vbspell".

Lea Verou 10-04-2005 07:54 PM

Quote:

Originally Posted by tamarian
Hmm, run un-install again and see. It should remove it. There's only one table "vbspell".

I uninstalled many times, it doesn't do it. Can I delete the table from the database myself?

Also, they told my in the host that if they disable safemode I will be able to control myself the max execution time, how will I do it??

tamarian 10-04-2005 08:10 PM

Quote:

Originally Posted by Loukrhtia
I uninstalled many times, it doesn't do it. Can I delete the table from the database myself?

Also, they told my in the host that if they disable safemode I will be able to control myself the max execution time, how will I do it??

Yes, you can delete the vbspell table manually, there shouldn't be a problem with that.

To change the execution time, you just update it in php.ini file. But you should ask your host where yours is. You just edit this cvalue in it max_execution_time = 30

Lea Verou 10-04-2005 08:18 PM

Quote:

Originally Posted by tamarian
Yes, you can delete the vbspell table manually, there shouldn't be a problem with that.

To change the execution time, you just update it in php.ini file. But you should ask your host where yours is. You just edit this cvalue in it max_execution_time = 30

Oh thanks a lot.
Will what lerduh said work if I don't change php.ini? Where will I place this line of code?

tamarian 10-04-2005 08:42 PM

Quote:

Originally Posted by Loukrhtia
Oh thanks a lot.
Will what lerduh said work if I don't change php.ini? Where will I place this line of code?

You man this " set_time_limit(3600);"? It won't make a difference if your server's host doesn't allow it. The installation script already tries to disable the limit.

Lea Verou 10-04-2005 08:44 PM

Quote:

Originally Posted by tamarian
You man this " set_time_limit(3600);"? It won't make a difference if your server's host doesn't allow it. The installation script already tries to disable the limit.

Oh what a pity...
Then I 'll have to wait the host's reply...
Damn, and I was so happy that I'd finally install it... :(

tamarian 10-04-2005 09:45 PM

Quote:

Originally Posted by Loukrhtia
Oh what a pity...
Then I 'll have to wait the host's reply...
Damn, and I was so happy that I'd finally install it... :(

Another alternative, is to have your host import the dictionary table directly for you (if you don't have ssh access). The dictionary table dump is posted in the 3.0.9 version of vB Spell.

Lea Verou 10-04-2005 11:15 PM

What is ssh access?
They offered to do so, but how will they import it? It's just a list of words!
Oh, I guess I'll nag them till they increase it or let me do so :p

tamarian 10-04-2005 11:17 PM

Quote:

Originally Posted by Loukrhtia
What is ssh access?
They offered to do so, but how will they import it? It's just a list of words!
Oh, I guess I'll nag them till they increase it or let me do so :p

They will definitly know what ssh is, they can't be a host without it. And the MySQL dump in the other thread I mentioned is not a list of words, it's a MySQL sump of the dictionary.

Lea Verou 10-04-2005 11:19 PM

Quote:

Originally Posted by tamarian
They will definitly know what ssh is, they can't be a host without it. And the MySQL dump in the other thread I mentioned is not a list of words, it's a MySQL sump of the dictionary.

Yes but I will not be using the english included dictionary but a greek one, did you forget? ;)

tamarian 10-04-2005 11:21 PM

Quote:

Originally Posted by Loukrhtia
Yes but I will not be using the english included dictionary but a greek one, did you forget? ;)

Yes, I did forget :) Send me your Greek dictionary file, and I'll make you a MySQL dump out of it. Email is webmaster at the domain in my profile.

Lea Verou 10-04-2005 11:24 PM

Quote:

Originally Posted by tamarian
Yes, I did forget :) Send me your Greek dictionary file, and I'll make you a MySQL dump out of it. Email is webmaster at the domain in my profile.

It's much easier for you to download it straight from a link:

www.e-steki.com/forum/arxigeio/DICTIONARY.DIC

(put encoding at 8859-7 if you view it online)

if you like, paste the english one too, I removed it to make the filesize smaller.

Tell me when you download it to remove the link. :)

tamarian 10-04-2005 11:31 PM

Quote:

Originally Posted by Loukrhtia
It's much easier for you to download it straight from a link:

www.e-steki.com/forum/arxigeio/DICTIONARY.DIC

(put encoding at 8859-7 if you view it online)

if you like, paste the english one too, I removed it to make the filesize smaller.

Tell me when you download it to remove the link. :)

It didn't show up right, compress the file, so that I can download it properly, without browser screwing it up. Send me the link by PM.

Lea Verou 10-04-2005 11:33 PM

Quote:

Originally Posted by tamarian
It didn't show up right, compress the file, so that I can download it properly, without browser screwing it up. Send me the link by PM.

If you right-click on the link and select "Save link as..."??

I'm trying to avoid uploading a zip/rar version as it will take some time...

csidlernet 10-05-2005 02:30 AM

/me installs

Lea Verou 10-05-2005 05:53 AM

An idea!
It would be nice if a member clicks on "Learn" instead of using only cookies to also add the word to a list that is moderated and the admin will choose if the word will be added in the database or not.
Wouldn't it be nice? :jumpy:

Lea Verou 10-05-2005 06:27 AM

Quote:

Originally Posted by Loukrhtia
If you right-click on the link and select "Save link as..."??

I'm trying to avoid uploading a zip/rar version as it will take some time...

So finally were you able to download it or I should make a zipped version? :)

ProperMethodz 10-05-2005 07:01 AM

Installed... Thanks!

ProperMethodz 10-05-2005 07:05 AM

Quote:

Originally Posted by Loukrhtia
An idea!
It would be nice if a member clicks on "Learn" instead of using only cookies to also add the word to a list that is moderated and the admin will choose if the word will be added in the database or not.
Wouldn't it be nice? :jumpy:

You can manually add words to the dictionary.

/yourforumdir/admincp/DICTIONARY.DIC


Open this file in notepad or whatever... add the words you'd like manually.

What I did for the last version I installed was create a notepad doc and put it on my desktop. I added common words which spell check didn't catch that I'd see around the site and update it manually once a month or so.

agiacosa 10-05-2005 09:49 AM

It works for me but in newpost I get this line showing up before the post box:

"form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">"

Any thoughts?

tamarian 10-05-2005 10:39 AM

Quote:

Originally Posted by Loukrhtia
So finally were you able to download it or I should make a zipped version? :)

I think it won't work, due to the character encoding.

tamarian 10-05-2005 10:40 AM

Quote:

Originally Posted by agiacosa
It works for me but in newpost I get this line showing up before the post box:

"form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">"

Any thoughts?

This might be due to a missing < when cutting and pasting. Re-check the edit for the buttom code in the template.

Lea Verou 10-05-2005 07:15 PM

The host finally answered!

Quote:

This is really a programing issue. You are able to control the PHP timeout by adding the PHP function to control it in the script set_time_limit(). For further information please see:

http://php.speedbone.de/manual/da/fu...time-limit.php

We will be happy to provide you with all the server information you need to help you configure your script.

There can literally be hundreds of reasons why a certain script may not be working and the absolutely best thing to do is to contact the person or company who made the script as they will be able help you install their script.

Many scripts come with a ?README? file which contains installation instructions. If you are still having difficulty we recommend contacting the programmer who wrote the script.

Thank you for your understanding.
So this means I will add the line that lerduh said??

tamarian 10-05-2005 07:18 PM

Quote:

Originally Posted by Loukrhtia
So this means I will add the line that lerduh said??

Give it a go without it, first, then try with it, if you get problems.

Lea Verou 10-05-2005 07:22 PM

Quote:

Originally Posted by tamarian
Give it a go without it, first, then try with it, if you get problems.

It didn't :( :(
Where should I place lerduh's code? (or a different one if you think it's more suitable)

tamarian 10-05-2005 08:06 PM

Quote:

Originally Posted by Loukrhtia
It didn't :( :(
Where should I place lerduh's code? (or a different one if you think it's more suitable)

It won't make a difference. I mentioned a few posts above that the code is already there, but sets the time to zero (means unlimited). If you want to try it, just place it under that line (they look alike).

Lea Verou 10-05-2005 08:43 PM

Quote:

Originally Posted by tamarian
It won't make a difference. I mentioned a few posts above that the code is already there, but sets the time to zero (means unlimited). If you want to try it, just place it under that line (they look alike).

The problem persists although I saw myself that safemode is off and according to the above link if safemode is off I should be able to control max execution time via the script...
So I think the problem is elseware... Any ideas??

(damn, why should everything I try to do go totally wrong?? :()

tamarian 10-05-2005 09:01 PM

Quote:

Originally Posted by Loukrhtia
The problem persists although I saw myself that safemode is off and according to the above link if safemode is off I should be able to control max execution time via the script...
So I think the problem is elseware... Any ideas??

(damn, why should everything I try to do go totally wrong?? :()

Do you get any errors? Have you tried with a different browser?

lierduh 10-05-2005 09:03 PM

Quote:

Originally Posted by Loukrhtia
The problem persists although I saw myself that safemode is off and according to the above link if safemode is off I should be able to control max execution time via the script...
So I think the problem is elseware... Any ideas??

(damn, why should everything I try to do go totally wrong?? :()

Sorry if I have caused more confusion. I just checked, tamarian's installation code already include:
@set_time_limit(0);

If anything, you might want to remove the '@'. '@' suppresses the error. Once you remove it, then try the installation. Very importantly, check the http error log! If the script could not set_time_limit due to safemode on etc, it will show in the log.

Parker Clack 10-05-2005 09:03 PM

tamarian:

What do you edit to make the popup window contain the spellchecker so that it is the same size as the spellchecker? What do you change to make the popup window resizeable?

I am getting the following.

Lea Verou 10-05-2005 09:04 PM

I've tried with firefox and Opera.
No, I don;t get any errors, it starts saying "Waiting for e-steki...", the progressbar stucks to about 40%, keeps loading, and suddenly says "done" in the statusbar (like when a page loads) without any change in the page I'm viewing...

tamarian 10-05-2005 09:04 PM

Quote:

Originally Posted by lierduh
If anything, you might want to remove the '@'. '@' suppresses the error.

Good point, this might help uncover why it's not working :)

Lea Verou 10-05-2005 09:05 PM

Quote:

Originally Posted by tamarian
Good point, this might help uncover why it's not working :)

So I should remove the @ and run the installation again...
Where can I find that http log? :redface:


All times are GMT. The time now is 04:57 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.01556 seconds
  • Memory Usage 1,843KB
  • 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
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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