PDA

View Full Version : Vb-Ticker Question - here Right?


sternenfee
02-02-2019, 10:32 AM
Hi,

sorry when this isn't the right forum, please move to the right.
I wantes install the Mod vb-ticker but while the installation process i got an error message:

syntax error, unexpected 'new' (T_NEW) on line 68 in /www/htdocs/w009ae80/xxx.de/includes/adminfunctions_plugin.php(1201) : eval()'d code
#0 /www/htdocs/w009ae80/xxx.de/admincp/plugin.php(1755): install_product(' #1 {main}

Fatal User Error: syntax error, unexpected 'new' (T_NEW) on line 68 in ..../includes/adminfunctions_plugin.php(1201) : eval()'d code in ..../vb/vb.php on line 286
Trace Data:

#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:

[ NULL ]

Var Data:

null

Can u help me to install it correctly?

snakes1100
02-02-2019, 10:37 AM
Edit the file and remove the & call

Old
=& new

New
= new

That may fix all the issues, but you are using a new verions of php that old code isnt compatible with, this may fix the issues for now, but it needs to be recoded for newer php versions.

scottkoz20
02-04-2019, 02:25 AM
Is this something comparable to what you'd be looking to do?

https://vbulletin.org/forum/showthread.php?t=326199&highlight=marquee

MarkFL
02-04-2019, 03:15 AM
I don't recall if the latest version is available in that thread, so I will attach it here...

sternenfee
05-16-2023, 03:10 PM
I have one Question again. My Forum crashed and i must the Add on install new. Works fine, but one Errormessage on index displays now:

PHP Warning: array_merge(): Argument #1 is not an array in ..../includes/class_bootstrap.php(1422) : eval()'d code on line 125

this error display with php5.6 and php7.2

class_bootstrap.php line 1420 - 1425 ist:

}

($hook = vBulletinHook::fetch_hook('cache_templates')) ? eval($hook) : false;

if ($this->group_templates)
{

can u help me?

Hostboard
05-17-2023, 10:40 AM
If you disable all plugins via the config.php file does your site function? If so, you will need to re-enable and disable each plugin and then re-enable one by one to find the offending plugin.

sternenfee
05-17-2023, 01:29 PM
Hi, thank you for reply: the problematic plugin is Vb-Ticker.