View Full Version : Hacked and favicon not showing
pityocamptes
01-23-2015, 11:15 PM
Ok, went into Styles & Templates -> Style Manager -> StyleVars and went into favicon. I put the FULL path to the favicon icon and hit save and get this:
Warning: Declaration of vB_DataManager_StyleVarDefn::delete() should be compatible with that of vB_DataManager::delete() in ..../includes/class_dm_stylevar.php on line 233
Warning: Declaration of vB_DataManager_StyleVar::save() should be compatible with that of vB_DataManager::save() in ..../includes/class_dm_stylevar.php on line 615
Lynne
01-23-2015, 11:21 PM
As of vBulletin 4.2.2, notices and warnings are no longer suppressed by default like in previous versions of the software. This means that on some servers, you may see warnings that you never saw before. In order to stop them from showing, please add the following line to your config.php file under the <?php line:
define('SKIP_DS_ERRORS', true);
ozzy47
01-23-2015, 11:22 PM
Open your includes/config.php file and below <?php add the following.
define('SKIP_DS_ERRORS', true); So it looks like this:
<?php
define('SKIP_DS_ERRORS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2 Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.
This turns off the extra error reporting in php 5.3 & 5.4 (for strict & deprecated warnings), but will allow other important errors to show.
pityocamptes
01-23-2015, 11:32 PM
Thanks! I assume this is not a "bad" thing? Normal?
ozzy47
01-23-2015, 11:37 PM
Yeah it is just a PHP compatibility warning, no biggie.
But you should be running 4.2.2 pl4 for sure.
pityocamptes
01-23-2015, 11:39 PM
Yes, I am . Thanks again!
ozzy47
01-23-2015, 11:40 PM
Once 4.2.3 is stable, you can upgrade to that and remove that line from the config file. :)
thetechgenius
01-27-2015, 08:39 PM
You could link the Favicon in the "headerinclude" template.
Before the closing </head> tag:
<link rel="icon" type="image/png" href="http://example.com/favicon.png">
OR
If your Favicon is in the same directory as your vBulletin forum:
<link rel="icon" type="image/png" href="favicon.png">
Change the RED with where your Favicon is located. You can use the full URL or the local directory. You can also use ICO or PNG format for your Favicon. This is how I have my Favicon set on my vB forum.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.