![]() |
Quote:
|
Quote:
"I have located the words that cause problems" Quote:
ISO-8859-1 Thank you |
Quote:
Also- Are links stored in a csv file or directly in the mod settings data boxes? |
Hi.
I'm trying to move my forum to a new server with php 5.4 and I'm getting this error when the product is disabled (running 4.2.1) Code:
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 576656709 bytes) ..... line 135 Thanks. |
This is the line which causes the error:
Code:
$bop_message = preg_replace ($bop_find_array, $bop_replace_array, $bop_message, $boplim, $bopcount); |
After removing all Greek words from Words/Phrases To Link everything works ok.
So this is a combination of non-English characters with php 5.4? |
As of php 5.4 default encoding for htmlspecialchars is UTF-8.
So if your forum is in another encoding (like ISO-8859-1 which is mine) then you will have all the above problems. The solution is to use your encoding with htmlspecialchar: First Define your encoding: PHP Code:
PHP Code:
PHP Code:
|
hi. thanks for this mod, it is exactly what i was looking for.
my forum is in utf8 and users type their posts in Hebrew. the mod works fine with english words but i cant make it work on hebrew words. the language is in ut8 and also the db. can you please advise what to do? |
What really come in handy would be some sort of stats, that show how often a keyword has been turned into a link. Any chance that this could be added, Ozzy?
|
Ummm, not sure, as this is BOP's mod not mine. :)
|
All times are GMT. The time now is 03:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|