Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 03-16-2007, 08:29 AM
Frank Woolf Frank Woolf is offline
 
Join Date: May 2004
Location: Hong Kong and Philippines
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error when saving All Style Options

I have a child style of Legacy (called BlueCream). This child style has two child styles which work fine.

I recently upgraded to vBulletin 3.6.4

I can create another child style of Blue Cream but when I try to save the "Main CSS" or "All Style Options" of the new style I get the following error even if I made no changes.

Code:
Warning: implode() [function.implode]: Bad arguments. in /admincp/css.php on line 103

 

    Rebuild Style Information

        Updating Style Information for '' and child styles...

            * ...
              Fatal error: Invalid styleid specified in /includes/adminfunctions_template.php on line 327
I asked for help on the vBulletin site and they suggested I remove all the customization work I have done. It was working fine with the customization before the upgrade and I have done months of work doing the customization so it will be a huge job to undo it all.

Can anyone suggest a way to fix this without undoing all the customization?

Thanks
Reply With Quote
  #2  
Old 03-17-2007, 06:58 AM
CyberAlien's Avatar
CyberAlien CyberAlien is offline
 
Join Date: Mar 2002
Posts: 438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess your styles hierarchy got messed up. Look in "style" table. Check "parentid" and "parentlist" columns. "parentid" should be id of parent style, "parentlist" is a list of all parent styles.

Here is example of how it should look like:
1. Default Style (parent: "-1", parent list: "1,-1")
- 2. BlueCream (parent: "1", parent list: "2,1,-1")

My guess is that style has some invalid style id in parent styles list. Make sure all styles with ids in parent list do exist, and dont remove "-1" from it as -1 is root style id.
Reply With Quote
  #3  
Old 03-20-2007, 08:09 AM
Frank Woolf Frank Woolf is offline
 
Join Date: May 2004
Location: Hong Kong and Philippines
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the info.

I checked the DB and could not see anything wrong. Then I deleted the new style.

Then found that the "child style of Legacy (called BlueCream)" has lost many of the settings for gradients etc. I tried re-entering the data and got the same error. I tried repairing the DB. That didn't help either. I tried re-uploading all the files in the admincp and cpstyles folders but that did not help.

I copied the contents from the ccs filed in the database from a similar style and pasted it into the ccs filed of BlueCream after making minor changes for the style. That fixed the messed up BlueCream.

In doing this I could see that about 20% of the content of the css field was missing.

It looks like whenever I try to save the css from the control panel is loses a lot of the data.

Any suggestions on what to do next ?

I have another site I use for development but other than adding some styles is has very little customization. I just tried creating a child style of one of the existing styles and got exactly the same error!
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03835 seconds
  • Memory Usage 2,171KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete