Style and Themes are NOT working - see image

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Style and Themes are NOT working - see image

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Style and Themes are NOT working - see image

Post 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
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post 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.

:(
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Style and Themes are NOT working - see image

Post 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
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post 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
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Style and Themes are NOT working - see image

Post 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?
=Don=
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post by kjohnsting »

OK. I retried the upgrade to Serendipity 1.6.2. It is upgraded, but still no style sheet. Still plain jane.
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post 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
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Style and Themes are NOT working - see image

Post 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.
=Don=
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Style and Themes are NOT working - see image

Post 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
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post 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.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Style and Themes are NOT working - see image

Post 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
kjohnsting
Regular
Posts: 7
Joined: Thu Oct 04, 2012 4:21 pm

Re: Style and Themes are NOT working - see image

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Style and Themes are NOT working - see image

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply