vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   A plugin problem I think (https://vborg.vbsupport.ru/showthread.php?t=304352)

Bladed 11-09-2013 09:06 PM

A plugin problem I think
 
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 10: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 10: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-09-2013 11:07 PM

Looks like the one touch ban and cleaner conflicts with glowhost anti-spam plugin.

--------------- Added [DATE]1384045666[/DATE] at [TIME]1384045666[/TIME] ---------------

ok, thanks TBworld

tbworld 11-09-2013 11:11 PM

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-09-2013 11:27 PM

What is the link to those two mods, so I can see about a fix?

nerbert 11-10-2013 12: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 12:05 AM

It could also be explode nerbert, just depends on what they are doing.

nerbert 11-10-2013 12:33 AM

Quote:

Originally Posted by ozzy47 (Post 2459576)
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 01: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 02: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 03:36 AM

What is the link to that mod?

Bladed 11-10-2013 04: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>


All times are GMT. The time now is 07:24 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.02941 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete