View Full Version : A plugin problem I think
Bladed
11-09-2013, 10:06 PM
Just started after a mod tried to login to the mopcp.
got this on my admincp page and the modcp page:
Warning: Function split() is deprecated in ..../includes/functions_login.php(204) : eval()'d code on line 4
Warning: Function split() is deprecated in ..../includes/functions_login.php(204) : eval()'d code on line 5
Unable to add cookies, header already sent.
File: /home/bonifer/public_html/includes/class_core.php
Line: 5755
I've already disabled the hooks for now. Any ideas?
ozzy47
11-09-2013, 11:10 PM
Disable all the mods in the acp, then re enable the hooks. Then you need to enable the mods one at a time till you find out which one is causing the issues.
tbworld
11-09-2013, 11:43 PM
This is due to a modification not being compatible with PHP v5.4x series.
Look in your plugins and search by hook (you can click on "Hook Location" on the top menu/header bar). Search for "login_verify_success" hook: this is the hook located at "functions_login.php #204".
This should help you find the modification that is using that hook location. .
Then check the thread for the "mod" to see if someone has updated it or posted a fix.
Hope this helps :)
Bladed
11-10-2013, 12:07 AM
Looks like the one touch ban and cleaner conflicts with glowhost anti-spam plugin.
--------------- Added 1384045666 at 1384045666 ---------------
ok, thanks TBworld
tbworld
11-10-2013, 12:11 AM
Your welcome! :)
This does not mean it is a conflict
ERROR: Function split() is deprecated <-- Not compatible with PHP 5.4.
See 'mod' thread for potential fix.
ozzy47
11-10-2013, 12:27 AM
What is the link to those two mods, so I can see about a fix?
nerbert
11-10-2013, 01:00 AM
Look for a plugin in either the "login_verify_success" or the "login_verify_failure_username" hook locations. In the plugin go to line 4 and line 5 and change split() to preg_split()
ozzy47
11-10-2013, 01:05 AM
It could also be explode nerbert, just depends on what they are doing.
nerbert
11-10-2013, 01:33 AM
It could also be explode nerbert, just depends on what they are doing.
True. The OP could post here with the snippet of code and someone could tell which one to use
ozzy47
11-10-2013, 02:06 AM
Yep, I would like a link to the mods, so I can post a update post in the thread.
Bladed
11-10-2013, 03:54 AM
looks like it is AE detector, login checker.
Hippy had posted some code fixes to allow it to install, which I made. It seems to e working this morning, but later in the afternoon after one of my moderators triedto get into his cp, we started getting the errors.
ozzy47
11-10-2013, 04:36 AM
What is the link to that mod?
Bladed
11-10-2013, 05:47 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=183268&highlight=AE+detector" target="_blank">https://vborg.vbsupport.ru/showt...ht=AE+detector</a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.