PDA

View Full Version : Style Selector Showing Styles that Don't Exist


davide101
Sat 5th Apr '08, 2:57pm
I'm using vb3.7 RC1 and I have a bizarre issue.

The selections under my Quick Style Chooser (default style) does not match the Style section in the AdminCP or in the database! I've changed and deleted some styles but it's still showing options from a few days (and switching to them does nothing).

Here's some screenshots to illustrate my point:

The Database: http://www.diabetesdaily.com/temp/3.gif (http://www.vbulletin.com/forum/../link.php?u=http%3A%2F%2Fwww.diabetesdaily.com%2Fte mp%2F3.gif)
The AdminCP: http://www.diabetesdaily.com/temp/2.gif (http://www.vbulletin.com/forum/../link.php?u=http%3A%2F%2Fwww.diabetesdaily.com%2Fte mp%2F2.gif)
The Style Selector: http://www.diabetesdaily.com/temp/1.gif (http://www.vbulletin.com/forum/../link.php?u=http%3A%2F%2Fwww.diabetesdaily.com%2Fte mp%2F1.gif)

As you can see, they AdminCP and Database do not agree with the now useless Style Selector. Does anyone have any idea what might be going on?

Steve Machol
Sat 5th Apr '08, 3:03pm
Upgrade to RC2 and remove any add-ons and template changes to see if you have the same problem.

davide101
Sat 5th Apr '08, 3:55pm
Hi Steve,

I've upgraded to RC2, temporarily disabled the few plugins I have using "define('DISABLE_HOOKS', true);", and switched to the default templates.

Unfortunately, the problem is still happening. What should the next step be?

Steve Machol
Sat 5th Apr '08, 4:00pm
I don't know. I can't duplicate this problem on an unmodified RC2 test forum and unfortunately there is no official support for this yet. I have no other ideas. My guess is that you had an add-on that permanently changed something.

davide101
Sat 5th Apr '08, 5:09pm
I've been doing a little digging into how the stylechooserbits are generated. It looks like they are being pulled from the datastore file. Is there a way to force the datastore to refresh itself or does this happen automatically when you save your style settings?

I'm trying to work backwards until I determine why the styles aren't updating. I figure without products or plugins and all new uploaded files, there must be one small roadblock preventing it from updating properly.

EDIT: I uploaded tools.php and rebuilt everything under the datastore section. Still no good.

Steve Machol
Sat 5th Apr '08, 7:08pm
The only way to do that is with tools.php.

Run 'Suspect File Version' in Diagnostics and report back the results.

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

Do any show as 'File does not contain expected contents', 'version mismatch' or missing? If so, you need to reupload the original vB non-image files. Make sure you upload these in ASCII format and overwrite the ones on the server.