Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Jan 2021, 11:10
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
error message PHP7

Hey,

i installed a plugin and got an error when i load the site:

ParseError: syntax error, unexpected 'new' (T_NEW) in ..../includes/init.php(357) : eval()'d code on line 22

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

Any idea how to solve it?



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

is line 22.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay

Last edited by Kraxell; 16 Jan 2021 at 11:15.
Reply With Quote
  #2  
Old 16 Jan 2021, 11:53
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Edit the file/plugin and change:

=& new

to

= new
Reply With Quote
  #3  
Old 16 Jan 2021, 12:10
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
There isn't such a code
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay
Reply With Quote
  #4  
Old 16 Jan 2021, 12:19
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
init.php

edit, didnt mean to paste the 357 reference in the response.

Last edited by snakes1100; 16 Jan 2021 at 13:03.
Reply With Quote
  #5  
Old 16 Jan 2021, 12:47
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi

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

Line 357 would be

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

__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay
Reply With Quote
  #6  
Old 16 Jan 2021, 13:03
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
remove all instances of =& new


=& new

to

= new

in any vbulletin files as you havent bothered to update your vbulletin.
Reply With Quote
  #7  
Old 17 Jan 2021, 18:11
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
Nope, it doesnt help
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay
Reply With Quote
  #8  
Old 18 Jan 2021, 10:41
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
what version of vb are you running?
Reply With Quote
  #9  
Old 18 Jan 2021, 13:03
shka shka is offline
 
Join Date: Mar 2016
Originally Posted by Kraxell View Post
i installed a plugin and got an error when i load the site:
Which plugin?
Reply With Quote
  #10  
Old 18 Jan 2021, 14:29
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
Plugin is vbet (vbulletin enterprise translator). Iam using vb 4.2.5.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay
Reply With Quote
  #11  
Old 18 Jan 2021, 15:00
shka shka is offline
 
Join Date: Mar 2016
Sure vbet is your problem? Other plugins all disabled for test?
Reply With Quote
  #12  
Old 18 Jan 2021, 15:04
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
Originally Posted by shka View Post
Sure vbet is your problem? Other plugins all disabled for test?
yes. The site works fine until i install vbet.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay
Reply With Quote
  #13  
Old 21 Jan 2021, 15:00
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
What version of PHP are you running? VB 4.2.5 will work with and up to PHP 7.1 (might limp along under PHP 7.2 with warnings turned off). Mods are completely hit and miss. Remember the majority were written when PHP 5.x was the norm. vBet is clearly the issue and you will need to work with a PHP developer (you do not need a Vbulletin developer) to look at your PHP log file and recode the lines that have issues. It really should not be too difficult...
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5
PHP 7.4.14 :: MariaDB 10.5.8
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements Auto Title Tag Fetcher (Title Tag as Anchor Text) for vB 4.2.5 & PHP7 djbaxter vBulletin 4.x Add-ons 11 03 May 2020 06:56



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 07:58.

Layout Options | Width: Wide Color: