Theme broken upon upgrade [message #29621] |
Wed, 04 January 2006 11:32 |
Crimson
Messages: 51 Registered: June 2005 Location: Phoenix, AZ
Karma: 0
|
Member |
|
|
I upgraded from 2.7.3RC1 to 2.7.4RC1 and I have lost my theme. The front page reverted back to the "default" theme, and when viewing actual threads, there seems to be no CSS at all so the page looks awful.
When I go to "Template Editor", the "Language" dropdown is not populated which prevents me from getting into the editor itself to check that my CSS changes are still even in there. I have the same problem on the "Message Editor" link.
Can you give me some advice? Thanks!
|
|
|
Re: Theme broken upon upgrade [message #29624 is a reply to message #29621] |
Wed, 04 January 2006 20:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The old theme was backed up into the .backup/ directory, you can restore it by backporting changes from the old version into the new.
FUDforum Core Developer
|
|
|
|
|
|
Re: Theme broken upon upgrade [message #29640 is a reply to message #29636] |
Thu, 05 January 2006 22:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The language list is generated by making a list of directories inside thm/default/i18n/ path and only allowing directories that contain "msg" file in theme.
This is done via the
<?php glob($DATA_DIR.'/thm/default/i18n/*', GLOB_ONLYDIR|GLOB_NOSORT) ?>
call. Try running this code manually (replace DATA_DIR with actual path) and see what it returns to you.
FUDforum Core Developer
|
|
|