Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Oct 2013, 09:42
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Angry Urgent Help Needed???

Hello i have upgrade my site 4.2.1 to 4.2.2 upgrade is normal but now when i enter admin cp it display the following error message

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: /home3/........../public_html/includes/class_core.php Line: 5745
when i disabled plugins via config.php file i am login so please tell me what is the error all is working fine......but admin cp login problem...........please reply me soon.........thanks
Reply With Quote
  #2  
Old 09 Oct 2013, 10:01
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Did you do this on your live site? Do you have back ups? From reading some threads this morning, it seems like a lot of mods are not working right with this version on vb. I would of tested it first on a test site.
__________________
www.nirc.co.uk
Reply With Quote
  #3  
Old 09 Oct 2013, 10:25
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
i have disabled those mods that not working or display error now all is ok but i cannot login to admin cp when i click login button it display the error that i already posted above.... when i disabled plugins i login the admin cp.....public_html/includes/class_core.php Line: 5745 line was empty in the file........so please tell me what can i do that......thanks
Reply With Quote
  #4  
Old 09 Oct 2013, 10:58
nerbert nerbert is offline
 
Join Date: May 2008
I'm using vB4.2.0 and there's no hook on line 204 of functions_login.php but you probably have a plugin for either "login_verify_failure_username" or "login_verify_success". Find the plugin that uses one of these and on line 4 of the plugin change

split(.........)

to

preg_split (..........).

See http://php.net/manual/en/function.split.php and http://www.php.net/manual/en/function.preg-split.php
Reply With Quote
  #5  
Old 09 Oct 2013, 11:09
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Here is line 204
($hook = vBulletinHook::fetch_hook('login_verify_success')) ? eval($hook) : false;
please tell me what can i do that
Reply With Quote
  #6  
Old 09 Oct 2013, 11:13
nerbert nerbert is offline
 
Join Date: May 2008
Look through your list of plugins and find the one that goes in hook location "login_verify_success" and do what I posted earlier.
Reply With Quote
  #7  
Old 09 Oct 2013, 11:25
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
I found the plugin its name is AE Detector: Login checker....please tell me how can i now do that???
Originally Posted by nerbert View Post
Look through your list of plugins and find the one that goes in hook location "login_verify_success" and do what I posted earlier.
Reply With Quote
  #8  
Old 09 Oct 2013, 17:28
nerbert nerbert is offline
 
Join Date: May 2008
Originally Posted by nerbert View Post
Find the plugin that uses one of these and on line 4 of the plugin change

split(.........)

to

preg_split (..........).
I don't know what more to say
Reply With Quote
  #9  
Old 09 Oct 2013, 18:53
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by M.Iftikhar View Post
Hello i have upgrade my site 4.2.1 to 4.2.2 upgrade is normal but now when i enter admin cp it display the following error message

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: /home3/........../public_html/includes/class_core.php Line: 5745
when i disabled plugins via config.php file i am login so please tell me what is the error all is working fine......but admin cp login problem...........please reply me soon.........thanks
You could try this temporary workaround though, to suppress errors:


First take a copy of includes/config.php as a backup.

Open includes/config.php

Right under:

<?php

Add this:

error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));

Then save and upload.
http://www.vbulletin.com/forum/forum...-functions-php

Last edited by ForceHSS; 09 Oct 2013 at 21:01.
Reply With Quote
  #10  
Old 10 Oct 2013, 00:39
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
That is just a temp fix, the plugin should be updated as nerbert described.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #11  
Old 22 Oct 2013, 07:23
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Hello please tell me how can i do that
i fond these line that Nerbert said
split(.........)

to

preg_split (..........).

i found these two line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

does this is right

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by M.Iftikhar; 22 Oct 2013 at 07:28.
Reply With Quote
  #12  
Old 22 Oct 2013, 11:32
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
If you look in that mods thread, the fix was provided by me there, http://www.vbulletin.org/forum/showp...&postcount=398, and The Hawk put it into a updated product XML, http://www.vbulletin.org/forum/showp...&postcount=403 using the fixes I provided.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #13  
Old 22 Oct 2013, 11:35
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by ozzy47 View Post
If you look in that mods thread, the fix was provided by me there, http://www.vbulletin.org/forum/showp...&postcount=398, and The Hawk put it into a updated product XML, http://www.vbulletin.org/forum/showp...&postcount=403 using the fixes I provided.
We need to get all these fixes in one place maybe someone can take all posts for all fixes and merge them all then make it a sticky
Reply With Quote
  #14  
Old 22 Oct 2013, 11:40
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
For what all the mods?
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #15  
Old 22 Oct 2013, 11:55
XrayHead's Avatar
XrayHead XrayHead is offline
 
Join Date: Oct 2002
Originally Posted by ForceHSS View Post
We need to get all these fixes in one place maybe someone can take all posts for all fixes and merge them all then make it a sticky
Did you get it fixed? What was the plugin that produced the error??
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:36.

Layout Options | Width: Wide Color: