vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hacked and favicon not showing (https://vborg.vbsupport.ru/showthread.php?t=316878)

pityocamptes 01-23-2015 11:15 PM

Hacked and favicon not showing
 
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:

PHP Code:

define('SKIP_DS_ERRORS'true); 


ozzy47 01-23-2015 11:22 PM

Open your includes/config.php file and below <?php add the following.

PHP Code:

define('SKIP_DS_ERRORS'true); 

So it looks like this:
PHP Code:

<?php
define
('SKIP_DS_ERRORS'true);  
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ 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:

Code:

<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:

Code:

<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.


All times are GMT. The time now is 03:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete