PDA

View Full Version : Help with style


Rubio
04-24-2014, 01:23 PM
Hi I installed this style

https://vborg.vbsupport.ru/showthread.php?t=232605

But it happens that the top post within this error me

https://vborg.vbsupport.ru/external/2014/04/9.png

And not because it may be I hope you can help me

thanks

tbworld
04-24-2014, 05:02 PM
The style you loaded is incompatible with your version of vbulletin. The version of the style you selected is for vbulletin version 4.0.1.

Rubio
04-24-2014, 05:48 PM
Now I appear in every stylo It may be because I updated the forum today Is there any way to fix it?

tbworld
04-24-2014, 06:10 PM
Yes, those are PHP warnings and are most likely not associated with your style as most styles do not include plugins.

What version of vbulletin and PHP are you using?

Rubio
04-24-2014, 06:20 PM
Hi, I tried to disable all plugins and the error disappeared I have some plugins that is making his That would have to do to fix it?

--------------- Added 1398367352 at 1398367352 ---------------

The version is 4.2.1

tbworld
04-24-2014, 06:48 PM
Method:1
---------
Enable the products one by one until you find the product that is causing the error, then check the modification section for an updated modification. Usually the modification's thread can help there, as others most likely ran into the same problem.

Method:2
---------
The warning line: "includes/class_postbit.php(345)" is the location of the plugin hook. Look at the code in "class_postbit.php" line "345" to get the name of the hook. In this case the hook name is "postbit_display_complete". On the plugin page sort plugins via the hook name. This will give you an idea of the plugins that might be causing you trouble. On the offending plugin the error will occur on line '61' where you will find an ereg() function call.

Replace the deprecated code with updated code or the vBulletin modification to an updated modification.

-----------------------------------------------------------------------------------
In most cases ereg() can be replaced with preg_match. Look at the PHP manual.
-----------------------------------------------------------------------------------

Rubio
04-24-2014, 07:06 PM
Ok, moving on its indications and tell him

--------------- Added 1398407562 at 1398407562 ---------------

Hi these plugins that are giving me error:

https://vborg.vbsupport.ru/showthread.php?t=123415

https://vborg.vbsupport.ru/showthread.php?p=2325589

Rubio
04-25-2014, 09:33 PM
Thanks for your help and this solved

Regards

tbworld
04-25-2014, 09:58 PM
Glad to here. Good job! :)

Rubio
04-26-2014, 07:42 AM
I edited lines of code we added to the file and solved class_core.php

Thanks