themes and templates [message #6460] |
Sat, 12 October 2002 18:25 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
May not be a 'bug' but a corruption of some of my files, but I need to know how to fix it.
I just upgraded to 2.3.2. Seems to work fine except that when I click on the admin control panel and go down to 'Theme Manager' the language drop down box is very narrow and it empty. The locale edit box has the following in it:
Quote: | <? echo htmlspecialchars($thm_locale?$thm_locale:'english'); ?>
|
In the table listing the various themes, it has the following in the Locale column for each theme:
Quote: | <? echo htmlspecialchars($thm_lo
|
If I click on Template Editor or the Message Editor then I get the following in the window:
Quote: | $de"; } echo ''; closedir($dp); ?>
|
There is also a drop-down box with the word "default" in it and a button that says "Edit". If I click the button then the screen blinks but still displays the same information.
Thanks for your help.
Jim
|
|
|
Re: themes and templates [message #6464 is a reply to message #6460] |
Sun, 13 October 2002 06:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Looks like a file corruption to me. You can fix it by running the upgrade script for the 2nd time.
FUDforum Core Developer
|
|
|
Re: themes and templates [message #6466 is a reply to message #6464] |
Sun, 13 October 2002 12:43 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
I ran the upgrade script again and got the following messages:
Quote: | Beginning the file upgrade process
File Upgrade Complete
Any changed files were backed up to: "/var/www/forumdata/errors/.backup/"
Beginning SQL Upgrades
SQL Upgrade Complete
Adding GLOBAL Variables
Finished Adding GLOBAL Variables
DATADIR: /var/www/forumdata/
Compiling default
Compiling morphlayout
Unable to open (/var/www/forumdata/thm/default/i18n//charset) in (/var/www/html/forum)
Warning: fopen("/var/www/forumdata/thm/default/i18n//msg", "rb") - No such file or directory in /var/www/forumdata/include/compiler.inc on line 372
Warning: fgets(): supplied argument is not a valid File-Handle resource in /var/www/forumdata/include/compiler.inc on line 374
Warning: fclose(): supplied argument is not a valid File-Handle resource in /var/www/forumdata/include/compiler.inc on line 390
Missing Message entry postcheck_subj_needed inside i18n//msg
|
The "morphlayout" mentioned is the custom layout I had used previously. I then ran the consistency checker and it seemed happy. I re-enabled the forum and went to the theme manager and it was still corrupted.
I then tried to delete the morphlayout theme from the Theme Manager and it gave the following error message:
I then went down the control panel clicking on every choice and found that they all seemed to display ok except the smiley manager which was also corrupted. I also did a datadump and that worked with no error messages.
I hope there is a simple fix!
Jim
[Updated on: Sun, 13 October 2002 13:04] Report message to a moderator
|
|
|
Re: themes and templates [message #6501 is a reply to message #6466] |
Tue, 15 October 2002 11:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
From the looks of it your custom theme was corrupted by something. Hence the problems you are seeing. At this point which forum version are you running and does it work (you mentioned no errors after a datadump)?
FUDforum Core Developer
|
|
|
|
Re: themes and templates [message #6597 is a reply to message #6595] |
Thu, 17 October 2002 22:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Which template contained this header image? Just copy it from there into the new template.
FUDforum Core Developer
|
|
|
Re: themes and templates [message #6601 is a reply to message #6597] |
Fri, 18 October 2002 05:16 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
But the forum software is corrupted. I need to know what FUD forum files need to be replaced before I worry about inserting my header image.
Jim
|
|
|
Re: themes and templates [message #6611 is a reply to message #6601] |
Fri, 18 October 2002 13:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, then don't replace the files, merely the parts with your header from old theme to the new one.
FUDforum Core Developer
|
|
|