Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Jul 2012, 18:45
Parker123 Parker123 is offline
 
Join Date: Feb 2012
Problem with patch 3?

Ok since i installed PL3 I have been getting the following error on some of the mods that are used on my forum. Im wanting to know if its just me or if its happening to other people as well and hopefully someone will be able to help me fix the issue.

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/starthab/public_html/forum/includes/class_core.php on line 2552
I have actually seen one other person with this issue. Could someone please help asap?

Thanks in advance!
Reply With Quote
  #2  
Old 18 Jul 2012, 18:59
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
It has to do with your version of php, which is a higher version than was intended for vb3. But you should be able to get rid of the errors by editing global.php and putting this near the top (after the block of comments):


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


then do the same for admincp/global.php and modcp/global.php.
Reply With Quote
  #3  
Old 18 Jul 2012, 20:14
Parker123 Parker123 is offline
 
Join Date: Feb 2012
Thanks a lot. From what I can see it has fixed it. If I have any more probs with this I will let you know. Thanks again!

--------------- Added 19 Jul 2012 at 13:45 ---------------

After using the piece of code you sent me the errors did disappeared but some of the mods are still unusable. Im really not sure what is wrong with it.
Reply With Quote
  #4  
Old 21 Sep 2012, 16:07
WHN WHN is offline
 
Join Date: Sep 2012
http://whiteseonet.com/install/install.php

can someone check that error i put that code in global also in admincp and modcp and i still have that error in install file...
that file install.php is now with error_reporting(E_ALL & ~E_NOTICE & ~8192); am still getting thet error Help!
Reply With Quote
  #5  
Old 21 Sep 2012, 16:38
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
What version of php do you have? That code used to work but lately a few people have said it doesn't, and I'm not sure why. Maybe try this instead:

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


You could also try turning off error messages altogether, like:

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

Reply With Quote
  #6  
Old 21 Sep 2012, 16:45
WHN WHN is offline
 
Join Date: Sep 2012
with that code

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

solved this errors

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

but i still have that errorrs


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

Reply With Quote
  #7  
Old 21 Sep 2012, 16:54
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I think that's because some of the other install files have their own error_reporting() and ini_set() calls which are overriding yours. Here's what I'd do - since those are actually just warnings, ignore them while you are doing the install. Then if they still show up on the forum once it's installed, we can figure out which other files you need to change.
Reply With Quote
  #8  
Old 21 Sep 2012, 17:02
WHN WHN is offline
 
Join Date: Sep 2012
but i cant go ahead with install because of this errors am put costumer number


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

and am redirected again to install.php costumer number colum
Reply With Quote
  #9  
Old 21 Sep 2012, 17:08
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, well, I'm not sure the errors are your problem but I suppose they could be. What you could do then is to try looking at files init.php and installcore.php (in the intstall directory) and change the ini_set('display_errors', true) to false.
Reply With Quote
  #10  
Old 21 Sep 2012, 17:19
WHN WHN is offline
 
Join Date: Sep 2012

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

that errors solved with @ini_set('display_errors', false);

but there are still 2 errors


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

i still can't go ahead with instalation
Reply With Quote
  #11  
Old 21 Sep 2012, 17:27
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Well, you can always go to each line that's mentioned in the warning and take out the '&'. For example, change


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


to

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

Reply With Quote
  #12  
Old 21 Sep 2012, 17:38
WHN WHN is offline
 
Join Date: Sep 2012
i lost database connection with that change
Reply With Quote
  #13  
Old 21 Sep 2012, 17:45
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I'd have to guess that that's an unrelated error, but I don't know why that would happen.
Reply With Quote
  #14  
Old 22 Sep 2012, 05:08
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Your install seems fine to me, the links work and i don't see any errors?
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #15  
Old 18 Oct 2013, 23:59
juan71287 juan71287 is offline
 
Join Date: Dec 2003
Real name: Mario
Helped me again

thanks dude.
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 22:44.

Layout Options | Width: Wide Color: