![]() |
Quote:
|
If the function does not work on your server, at this time you'll need to disable the feature for now since I havn't figured out why it works and it doesn't work lol.
|
It has to do with text that contains invalid characters like ' or / and stuff like that. I saw some references to preg_quote, but not being that great with php I have no clue how to impliment it.
But thats the problem on my end anyway. I hope this helps you come up with a fix. |
Thanks, yeah anything to help me figure out a fix is great lol. Still working on that bug still.
|
Here is what I came up with.
replace: $findotherterms[] = "/(\s+|^)".$foundterms['glossaryname']."(\s+|$)/"; with: $tmptrms=str_replace("'","\\'",$foundterms['glossaryname']); $tmptrms=str_replace("/","\\/",$tmptrms); $findotherterms[] = "/(\s+|^)".$tmptrms."(\s+|$)/"; Should be around line 43 of includes/function_glossary.php Its realy a horrible hack and may have other issues because only ' and / are replaced. It may point someone in the right direction for a proper fix. |
@SS9267547 - what are the steps to upgrade to the latest version? Do I need to upload all the files or just redo the plugin?
Also - should I be concerned about the php errors people are reporting with this version? Thanks in advance.. |
tbaleno: Thanks! I have come up with something so we will test it in the next few days.
caliman: What version are you running right now? Anyway I will upload all the version up today fo you. Just download each one and follow the steps if you want to upgrade. As for the errors they only show up when you enable crosslinking, if they show up just disable the feature. I have come up with a possiable fix for the next version set to be released in the next few days. |
I am also getting the same errors on 1.1.2
Warning: preg_replace(): Unknown modifier 't' in /includes/functions_glossary.php on line 49 Warning: preg_replace(): Unknown modifier 't' in /includes/functions_glossary.php on line 49 Warning: preg_replace(): Unknown modifier 'b' in /includes/functions_glossary.php on line 49 etc I am working with php 5.0.3 I have disabled that feature until a fix comes but its a nice add on :) |
A possiable fix wll be released later this week I hope :)
|
Ohh this looks nice.
Im currently using cinqs (paid) hack, but this looks like it might better suit my requirements. Testing :) |
All times are GMT. The time now is 10:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|