The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 Can anyone suggest a way to fix this without undoing all the customization? Thanks |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
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! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|