The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
*** PROBLEM SOLVED IN POST#11 ***
Ok this the most bizarre thing I have seen in awhile so I had to post up and ask on this one. My style chooser at the bottom of my forum will work when I have my forum/database hosted on my local server here at home. However when I take the EXACT SAME FORUM (complete database dump and all forum directory files) and move it over to my dedicated server online the Style Chooser stops working ![]() Can anyone think of ANYTHING that would cause this? This happens with the DEFAULT style and my CUSTOM style. They both do the exact same thing when moved from server to server. Any ideas? ![]() |
#2
|
|||
|
|||
![]()
When you moved it did you recheck those settings in the vb admincp? maybe they were disabled and need to be re-enabled.
|
#3
|
|||
|
|||
![]()
Nope I used the EXACT SAME database dump from one server to another as well as the EXACT SAME file system dump as well. The ONLY file that is different is the config.php file but I seriously can't find ANYTHING in that file that would cause this.
|
#4
|
|||
|
|||
![]()
Maybe try going to "Maintenance->Update Counters" and rebuild styles, maybe the problem is that the cache isn't there.
|
#5
|
|||
|
|||
![]()
Still nothing :erm:
Gotta be one of the most bizarre things I have seen in awhile that's for sure. I've been in awe all day lol |
#6
|
|||
|
|||
![]()
Did you move the board to a new domain or a different domain from the original domain it was installed on? If so you will need to change your URL settings in the admincp. Not sure if that would solve it or not though.
|
#7
|
|||
|
|||
![]()
Nope same domain just different servers.
I have tried... - Rebuilding the styles - Tried with the Default Style and even made sure that all templates were reverted to stock - Importing a new style - Cruised thru the entire config.php file and checked everything - Enabled/Disabled AdminCP -> vB Options -> Store CSS Stylesheets as Files? - Disabled all plugins via the config.php file I dunno what the deal is but it just will NOT work on the hosted server. Everything works just fine on the local server. I haven't found any other features that aren't functioning properly either just the damn Style Chooser lol. I could understand if this was a custom skin issue but even the Default Skin is doing the same thing. |
#8
|
|||
|
|||
![]()
In global.php there's this code:
PHP Code:
So you could temporarily change that first line like this: PHP Code:
Then if that doesn't change anything try this: PHP Code:
|
#9
|
|||
|
|||
![]()
Ok so when I tried the first suggestion you made commenting out the line and adding the if (true) it didn't work.
Then I tried changing $show['quickchooser'] = false; -> $show['quickchooser'] = true; PHP Code:
![]() I also tried changing $stylecount = 0; -> $stylecount = 3; PHP Code:
Which did the same thing as above where it displayed a style chooser box with nothing in it. Any other ideas? Sounds like we are on the right track now even though this seems completely retarded having to FORCE ENABLE this when it's working perfectly fine on the local server ![]() I wonder if it could be a server side issue? Like maybe the host's version of MySQL or PHP is causing the issue. I don't see how in the hell that this is the ONLY THING that isn't working properly. I would think that I would be having issues somewhere else as well but nothing. |
#10
|
|||
|
|||
![]()
Well, the idea isn't to try to force it to work, we just want to figure out why it's not working. I think we've figured out that it's something in the function construct_style_options that isn't working right.
So now I'd say put the global.php code back to the original and go to includes/functions.php and find construct_style_options, and try to figure out why that isn't working (because it not only figures out what goes in the dropdown, it also sets $stylecount). There's this part: PHP Code:
Unfortuantely it'll probably be harder to understand why it's failing than to narrow down which line of code is responsible. I don't understand the format of the stylecache - I would have guessed that it was just an array of styles, but looking at this code, that doesn't make sense. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|