![]() |
|
Thread Tools |
#1
|
||||||||
|
||||||||
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
Any idea how to solve it?
is line 22.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
Last edited by Kraxell; 16 Jan 2021 at 11:15. |
#2
|
|||
|
|||
Edit the file/plugin and change:
=& new to = new
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#3
|
||||
|
||||
There isn't such a code
![]()
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#4
|
|||
|
|||
init.php
edit, didnt mean to paste the 357 reference in the response.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
Last edited by snakes1100; 16 Jan 2021 at 13:03. |
#5
|
||||||||
|
||||||||
Line 357 would be
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#6
|
|||
|
|||
remove all instances of =& new
=& new to = new in any vbulletin files as you havent bothered to update your vbulletin.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#7
|
||||
|
||||
Nope, it doesnt help
![]()
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#8
|
|||
|
|||
what version of vb are you running?
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#9
|
|||
|
|||
Which plugin?
No members have liked this post.
|
#10
|
||||
|
||||
Plugin is vbet (vbulletin enterprise translator). Iam using vb 4.2.5.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#11
|
|||
|
|||
Sure vbet is your problem? Other plugins all disabled for test?
No members have liked this post.
|
#12
|
||||
|
||||
yes. The site works fine until i install vbet.
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#13
|
||||
|
||||
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 No members have liked this post.
|
![]() |
![]() |
||||
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 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 07:58.