Register Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools
  #1  
Old 09 Oct 2013, 16:12
lsti lsti is offline
 
Join Date: Jun 2011
Upgraded to 4.2.2 problem with stylevar

Hey, i upgraded my board to 4.2.2 but i am not able to edit variables in style var.

Also i get this error.

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/functions_log_error.php on line 615

Fatal error: Call to undefined method vB_DataManager_StyleVarSize:) in
/includes/class_dm.php on line 495

Last edited by lsti; 09 Oct 2013 at 16:23.
  #2  
Old 10 Oct 2013, 01:01
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Read this ;

http://www.vbulletin.com/forum/forum...66#post4000466
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
  #3  
Old 10 Oct 2013, 01:23
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
The first two are warnings that flash up, but wont do any harm. Please log them in Jira though.

The fatal error is a mystery.
I cannot replicate that, and that class does exist - it is defined in class_dm_stylevar.php
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
  #4  
Old 26 Oct 2013, 08:44
sp1der sp1der is offline
 
Join Date: Mar 2012
Hi there,

I have the same 2 warning and realized my download (exported) style even default style the <stylevar> </stylevar> is completely empty.

am i the only facing this?
  #5  
Old 08 Dec 2013, 05:02
SiFor's Avatar
SiFor SiFor is offline
 
Join Date: May 2004
Originally Posted by sp1der View Post
Hi there,

I have the same 2 warning and realized my download (exported) style even default style the <stylevar> </stylevar> is completely empty.

am i the only facing this?
Yes I have to exact same issue, did you find a fix?
__________________
CertForums.com Help, Advice and Resources to Pass Your Certification
  #6  
Old 17 Dec 2013, 06:06
Slayerz's Avatar
Slayerz Slayerz is offline
 
Join Date: Feb 2007
Add define('SKIP_ALL_ERRORS', true); to your config.php file
__________________
  #7  
Old 21 Dec 2013, 23:52
deathtrancer deathtrancer is offline
 
Join Date: Nov 2008
I got the same problem, so If I skip these errors, and after changing my settings will follow?

because on my case even if I change my doc_width and doc_margin to my set up these errors will flash and no effect at all on my desired width



thanks
  #8  
Old 08 Jan 2014, 23:04
fatherofspeed fatherofspeed is offline
 
Join Date: Dec 2010
This cured my issue as well. Thank you all very much.
  #9  
Old 08 Jan 2014, 23:06
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Glad you got it sorted.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
  #10  
Old 01 Sep 2014, 17:19
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
I just upgraded a clients site to vb 4 and we're upgrading the vb3 style with vbulletin's built in upgrade tool. I went to go change out the logo and I get the Declaration errors mentioned a year ago in the OP... The advice is to hide PHP errors?

It seems it would be better for the company to fix the problem, not hide it..


actually it seems when I edit any stylevar.. well this will be an annoying job.. I'm sure the client will be asking me what the hell is wrong with vb4 when they see them too.. Thanks vBulletin
__________________

Email me for website help: brandon[at]sheley[dot]org
  #11  
Old 01 Sep 2014, 19:28
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Those are not errors, but warnings. They have always been suppressed it was just recently with PHP newer versions, they started showing again.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
  #12  
Old 03 Sep 2014, 02:06
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by Brandon Sheley View Post
I just upgraded a clients site to vb 4 and we're upgrading the vb3 style with vbulletin's built in upgrade tool. I went to go change out the logo and I get the Declaration errors mentioned a year ago in the OP... The advice is to hide PHP errors?

It seems it would be better for the company to fix the problem, not hide it..


actually it seems when I edit any stylevar.. well this will be an annoying job.. I'm sure the client will be asking me what the hell is wrong with vb4 when they see them too.. Thanks vBulletin
Regardless of your predictable rant, if you want to fix it, use the advice given.
You should however use SKIP_DS_ERRORS rather than SKIP_ALL_ERRORS, that restores the warning reporting to the same as used by vb2, vb3 and vb4 versions other than 4.2.2.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
  #13  
Old 04 Sep 2014, 11:27
Disco_Stu's Avatar
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
I have to throw my two cents in here:

I run my own software business and have over 30 years experience developing software. I develop systems for telecoms, railroads and manufacturers and I can tell you that if I started suppressing errors instead of addressing and correcting them I would be out of business tomorrow.

Suppressing errors (hiding, covering up problems) is about the worst thing you can do as a developer. If customers find out you're doing that then they will never trust you again. This type of approach shows a complete lack of desire or ability to fix the underlying problems.

Would you want your plumber or auto mechanic to hide problems from you? Of courses not.

Ask yourself this: When you were first thinking about purchasing vBulletin and you found out that error messages were being suppressed would you still be willing to purchase it?
  #14  
Old 04 Sep 2014, 12:26
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Ask yourself this: When you were first thinking about purchasing vBulletin and you found out that error messages were being suppressed would you still be willing to purchase it?
Reply With Quote
The answer to that is, no.....
__________________
http://sandstormradio.org
  #15  
Old 04 Sep 2014, 12:29
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Well then there is not much web based software you would purchase then, as it has been a common practice for ever. If it was so bad, then the blame should fall on the people who created PHP, as they made it so the warnings could be suppressed.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:29.

Layout Options | Width: Wide Color: