Page 1 of 1

Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 4:27 pm
by kjohnsting
All I get is Times New Roman. The formatting isn't working. Everything was fine. Then it turned up this way one day. A restart doesn't help.

I am not a web guy. I am a security-infrastructure guy. So excuse my terminology.

http://s18.postimage.org/bcd8thl09/serendipity.png

Re: Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 5:36 pm
by yellowled
kjohnsting wrote:Then it turned up this way one day. A restart doesn't help.
First of all, you might want to check with your web hosting provider if they made any changes recently. Most likely would be they upgraded PHP.

YL

Re: Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 6:34 pm
by kjohnsting
This is a box I host in-house.

I have ran "yum downgrade php*" until I can go no further. Reboots in between.

:(

Re: Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 7:19 pm
by yellowled
Okay, so we need more information. It would probably help to know the

* Serendipity version
* Apache (or other web server) version
* PHP version
* MySQL (or other database) version

you're running. Then it would be good to know if you changed/updated any of those recently, maybe even just through an automatic update mechanism of the server's OS.

YL

Re: Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 11:04 pm
by kjohnsting
I believe this was due to an auto-update. Now that I think of it, I had fixed the gateway address of the network card. That must have permitted the auto-update to start working.

Since I first posted this I tried downgrading php which didn't help. So I figured I would go in the opposite direction: update everything including the serendipity. I can't get the serendipity to upgrade to 1.6.2. I have the files copied over into the directory, but I can't initiate the upgrade script.

Currently it is a CentOS Vmware guest.

Linux 2.6.18-308.16.1.el5
Serendipity 1.5.5
Apache 2.2.3
php 5.1.6
MySQL 5.0.95

Re: Style and Themes are NOT working - see image

Posted: Thu Oct 04, 2012 11:12 pm
by Don Chambers
kjohnsting wrote:I can't get the serendipity to upgrade to 1.6.2. I have the files copied over into the directory, but I can't initiate the upgrade script.
What exactly do you mean by "can't initiate the upgrade script"? When you copy the latest files to your serendipity folder, the next time you browse your site, you should receive a message with a link to start the upgrade. Do you see such a message? Do all files get copied over? Could this be a permissions problem?

Re: Style and Themes are NOT working - see image

Posted: Fri Oct 05, 2012 4:52 pm
by kjohnsting
OK. I retried the upgrade to Serendipity 1.6.2. It is upgraded, but still no style sheet. Still plain jane.

Re: Style and Themes are NOT working - see image

Posted: Fri Oct 05, 2012 4:57 pm
by kjohnsting
When I run the Verify Installation Integrity script I get these results....

Verify Installation Integrity

htmlarea/examples/files/Extended.html corrupt or modified: failed verification
htmlarea/examples/files/ext_example-menu.php corrupt or modified: failed verification
htmlarea/lang/fa.js corrupt or modified: failed verification
htmlarea/lang/pt_br.js corrupt or modified: failed verification
htmlarea/lang/sh.js corrupt or modified: failed verification
htmlarea/lang/sr.js corrupt or modified: failed verification
htmlarea/modules/ColorPicker/lang/pt_br.js corrupt or modified: failed verification
htmlarea/modules/CreateLink/lang/pt_br.js corrupt or modified: failed verification
htmlarea/modules/FullScreen/lang/pt_br.js corrupt or modified: failed verification
htmlarea/modules/FullScreen/lang/ru.js corrupt or modified: failed verification
htmlarea/modules/GetHtml/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Abbreviation/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/BackgroundImage/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/CharCounter/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/CharacterMap/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/CharacterMap/lang/ru.js corrupt or modified: failed verification
htmlarea/plugins/ClientsideSpellcheck/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ContextMenu/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/DefinitionList/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/DynamicCSS/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/EditTag/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Equation/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ExtendedFileManager/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Filter/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/FindReplace/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/FindReplace/lang/ru.js corrupt or modified: failed verification
htmlarea/plugins/FormOperations/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Forms/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/FullPage/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/HorizontalRule/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/HtmlTidy/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ImageManager/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ImageManager/lang/ru.js corrupt or modified: failed verification
htmlarea/plugins/InsertAnchor/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/InsertMarquee/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/InsertPagebreak/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/InsertPicture/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/InsertSmiley/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/InsertSnippet/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/LangMarks/lang/fr.js corrupt or modified: failed verification
htmlarea/plugins/LangMarks/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Linker/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ListType/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/ListType/lang/ru.js corrupt or modified: failed verification
htmlarea/plugins/ListType/lang/sv.js corrupt or modified: failed verification
htmlarea/plugins/NoteServer/lang/de.js corrupt or modified: failed verification
htmlarea/plugins/NoteServer/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/PasteText/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/QuickTag/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/SaveSubmit/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/SetId/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/SmartReplace/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/SpellChecker/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/Stylist/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/SuperClean/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/TableOperations/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/TableOperations/lang/ru.js corrupt or modified: failed verification
htmlarea/plugins/Template/lang/pt_br.js corrupt or modified: failed verification
htmlarea/plugins/UnFormat/lang/pt_br.js corrupt or modified: failed verification

Re: Style and Themes are NOT working - see image

Posted: Fri Oct 05, 2012 5:31 pm
by Don Chambers
Your screenshot (first post) shows the backend of serendipity. Are you also lacking styles/formatting on the front end?

Files that did not verify might not have been copied/overwritten successfully... try copying just that one folder (htmlarea/) from a fresh copy of 1.6.2.

Re: Style and Themes are NOT working - see image

Posted: Fri Oct 05, 2012 7:17 pm
by yellowled
This definitely looks like a failed or incomplete update, maybe incorrect permissions (which could also explain the missing stylesheet, which probably is responsible for the blank backend).

YL

Re: Style and Themes are NOT working - see image

Posted: Fri Oct 05, 2012 10:51 pm
by kjohnsting
yellowled wrote:This definitely looks like a failed or incomplete update, maybe incorrect permissions (which could also explain the missing stylesheet, which probably is responsible for the blank backend).

YL
How do you resolve those permission issues.

Re: Style and Themes are NOT working - see image

Posted: Sat Oct 06, 2012 5:26 pm
by yellowled
Since your hosting your own web server, I assume you're familiar with chmod/chown etc.?

http://www.s9y.org/11.html#A15 and http://www.s9y.org/11.html#A20 should give you the necessary details.

YL

Re: Style and Themes are NOT working - see image

Posted: Tue Oct 09, 2012 5:23 pm
by kjohnsting
Thank you to everyone for your assistance.

I found the root cause: iptables. When I service iptables stop, the stylesheet works.

Any idea what entries are required in iptables to get the stylesheets to operate with iptables on?

Re: Style and Themes are NOT working - see image

Posted: Wed Oct 10, 2012 11:05 am
by garvinhicking
Hi!

iptable rules can allow and deny virtually any traffic. Maybe you have a rule that forbids an IP multiple, consecutive requests - which are needed in a Webserver environment though.

I've actually never heard of iptables causing trouble like these, so your rules might simply be too strict?

Regards,
Garvin