![]() |
Quote:
Found it, In the table in the database 'cms_node' there is a field called 'styleid' it indeed had 12 in it, changed this to 1, and wahoo, problem solved. The message on the front of my CMS page has gone, and by checking the HTML of the CMS page I can verify it is now calling StyleID 1. |
Quote:
PHP Code:
Quote:
|
as far as zip file structure, I'd make the new folder that contains the admincp and whatnot folders called 'upload'...should also add your xml file in there so you only need to download the zip instead of the 2 files.
seems to be the standard at least :) |
Okay, going off Trans post, I went into my cms_node table and sure enough the styleid was 1. I changed this to the styleid 9 that was reflected in the AdminCP and the error goes away.
Maybe this is a bug with the cms where its not putting the proper styleid into the table? |
Quote:
PHP Code:
Must be something that happens to some people after upgrading, because I can't reproduce anything like it on a clean install, even after fiddling with styles. Quote:
|
Hmm guess it'll need to be reported to vB as a bug then. And ya, that sounds right if its been an upgrade...only puts default info in instead of pulling current styleid.
Ahh too true, I understand now that you've only updated the xml these past two minor upgrades. |
I dunno... technically it's working as designed, just incredibly annoying. How many people would ever need to have entire different styles for CMS sections anyway... :/
|
Regarding the file structure, I concur with the way Tekno has described it.
I've also had to go into my Mysql database and change the style id manually in cms_node to 9 instead of 1. This has to be a bug in the cms as it worked absolutely fine on the forum pages, without any trouble once I had uploaded the correct structure. |
Ok, updated the zip file :)
Also it's not really a bug tbh. Without css.php it would definitely be a problem, but they have it silently outputting the default style when given a non-existent style id. I'll add a workaround to do the same in the next release, but I'm going to wait a while this time - I've been firing out releases too fast :p |
|
All times are GMT. The time now is 09:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|