![]() |
Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 13
Warning: str_split() expects parameter 2 to be long, string given in ..../includes/functions_autotaggerfromcontentandtitle.php on line 85 Warning: array_diff() [function.array-diff]: Argument #1 is not an array in ..../includes/functions_autotaggerfromcontentandtitle.php on line 130 Warning: Invalid argument supplied for foreach() in ..../includes/functions_autotaggerfromcontentandtitle.php on line 134 I added the fix Ozzy talked about in line 13 and 85 but these warnings now pop up |
It's not working properly here as well :(
When i have the default files installed, users get many lines of the following error (the page is finally loading after a user submits a new thread though and all those lines with the error are disappearing): Deprecated: Function split() is deprecated in /home/my_user/public_html/includes/functions_autotaggerfromcontentandtitle.php on line 85 When i try ozzy47's fix the page stuck and displays forever many lines with the following error: Warning: str_split() expects parameter 2 to be long, string given in /home/my_user/public_html/includes/functions_autotaggerfromcontentandtitle.php on line 85 I have noticed a pattern though. Users get all those errors, only when they try to create a new thread on a section that new threads require validation before they are displayed. On the rest sections the plugin is working without any problems/errors! |
I suppose excluding some forums from the Automatic Tagger would help me until a permanent solution is found. Is there a way to exclude certain forums?
|
Sadly enough I have to disable this brilliant plugin. After the upgrade to 4.2 it reports errors, that lead to double posts.
https://vborg.vbsupport.ru/external/2014/11/9.jpg |
Hi,
I am getting this error after I "Add Tags to All Threads" Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/item/socialgroupmessage.php on line 261 Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/item/socialgroupdiscussion.php on line 337 Any ideas. Thanks |
Quote:
Try to replace line 13 with PHP Code:
PHP Code:
Line 130 and 134 should be o.k. then. (Not tested). |
Quote:
Dennis |
I have some good news. I hope it will work for some other users as well.
I just set PHP Compatability to yes and i don't get any errors. admincp/options/plugin hook system/set PHP Compatability to yes and save! |
I just installed it and I got this error when trying to test it, please let me know as to how I can fix this.
Warning: require_once(..../includes/functions_autotaggerfromcontentandtitle.php) [function.require-once]: failed to open stream: No such file or directory in ..../includes/functions_newpost.php(814) : eval()'d code on line 2 Fatal error: require_once() [function.require]: Failed opening required '/home/mistvipe/public_html/forum/includes/functions_autotaggerfromcontentandtitle.php' (include_path='.:/usr/local/php53/pear') in /home/mistvipe/public_html/forum/includes/functions_newpost.php(814) : eval()'d code on line 2 |
It appears as if you have uploaded the files incorrectly.
Please drag and drop the contents of the upload folder (use Ctrl+A to select all files) to your public_html folder. http://ozzmodz.com/images/smilies/smile.png |
Oh... I've been dragging them into the forum folder under public_html... If this is the mistake I'm so stupid haha Thanks Ozzy. <3
|
Well if your vB files are in a forum folder, then that is where you need to load the files to, the same place all your vBulletin files are.
|
How about making this for vb 5 - vb5 is the wave of the future!
I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move. |
below is the stop list format
Quote:
|
I am facing db error after enable it
|
You need to post the full error, no one can guess the error you got.
|
Quote:
|
My forum has 600,000 posts and I keep getting this.
504 Gateway Time-out nginx/1.4.1 Want all the old stuff tagged. Is is running still in the background? Or does it start where it left off from the timeout.? Unreal on new threads. you are a mad scientist |
This mod will not work with vb 4.2.5 IF running php 7. It will work under PhP 5.6
If you try to make an advanced reply while running this mod, or post a brand new thread, while running PhP 7, you will get an error such as this: Call to undefined function split() on line 85 in /home/*****/public_html/*****.com/forums/includes/functions_autotaggerfromcontentandtitle.php #0 /home/*****/public_html/*****.com/forums/includes/functions_autotaggerfromcontentandtitle.php(113): csvToArray('forum, made, po...') #1 /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(809) : eval()'d code(3): addTags(Array, Array) #2 /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(809): eval() #3 /home/*****/public_html/*****.com/forums/newreply.php(451): build_new_post('reply', Array, Array, Array, Array, Array) #4 {main} NOW - the strange thing is, after you get the above errors, which appear on a new browser window, the advanced reply or new thread IS posted, just the process is interrupted by this error message. BUT: running in PhP 5.6, the autotagger does add the "Tags for this Thread." Running in PhP 7, NO tags are added. |
1 Attachment(s)
Quote:
(line 85) Code:
return implode(',', $csv); Code:
return explode(',', $csv); (line 13) Code:
return implode(' ', $text); Code:
return explode(' ', $text); |
In my file functions_autotaggerfromcontentandtitle.php the lines were:
line 85 return split(',', $csv); line 13 return split(' ', $text); but I changed the world split to explode in both lines: line 85 return explode(',', $csv); line 13 return explode(' ', $text); and seems to work now! without error in PhP 7 and the tags are being added. Thanks! |
Installed on 4.2.3 and it seems to work.
However, after a testing, the plugin added automatically only tags from post body. The opposite of what happened here: Quote:
Is there any customization that should be also done? -update- this issue only appears when on title are used words other than in English language |
Quote:
|
I am not sure if this has to do with it, but ever since we
installed the most recent Node.js version of 14.5.0 on the server and confirmed it's accessible for both the root user as well as the other users. [root@host ~]# node -v v14.5.0 [______@host ~]$ node -v v14.5.0 now all attempts to post a URL in a forum post result in a 504 bad gateway error. This bad gateway error is happening only at my vbulletin 4 site (that is running this mod), it is not happening when URLs are posted in posts at my vbulletin 5 forums. |
All times are GMT. The time now is 03:05 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:
|