Bug 3526 - Due to css errors opera displays blank page in author mode.
Summary: Due to css errors opera displays blank page in author mode.
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: wiki.mageia.org (show other bugs)
Version: trunk
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Romain d'Alverny
QA Contact:
URL: https://wiki.mageia.org/en/Mageia1_Re...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 23:17 CET by Dave Hodgins
Modified: 2012-03-23 10:24 CET (History)
2 users (show)

See Also:
Source RPM: ?
CVE:
Status comment:


Attachments

Description Dave Hodgins 2011-11-28 23:17:04 CET
Opening the url in opera just displays a blank page.

It can be viewed without styling using View/Style/User mode, or
by selecting the opera icon, then page/style/user mode, depending
on whether the menu bar is shown or not.

Right clicking on the blank page, and selecting validate will
open http://validator.w3.org/check# which shows a number of
errors, most of which are the use of <script> instead of
<script type="text/javascript">, but also the use of <style>
in the body section, while the style should be in the head
section.

Go to http://jigsaw.w3.org/css-validator/ , paste in the url,
expand the "More options" section, and select CSS level 3, then
select the check button.  It shows 12 errors and 73 warnings.

I don't know which error opera fails to handle that stops the
page from being displayed.
Comment 1 Oliver Burger 2011-11-29 10:50:45 CET
I can see the validator errors and warnings you mention, and surely they should be fixed somewhen, but I can't reproduce the problem.

I just did install opera to test and have no problems whatsoever in displaying the page.

CC: (none) => oliver.bgr

Comment 2 Dave Hodgins 2011-11-29 20:19:02 CET
Thanks.  I've now realized that the problem is ad blocking that I use
with a custom bind setupk, based on the mvps hosts list.  I'll have to
dig a bit to figure out which entries to remove.

Now that I have loaded the site, I've noticed that the site is marked
as insecure.

I think this is due to the use of two css entries
http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold and
http://fonts.googleapis.com/css?family=Droid+Sans+Mono

Those http links should be replaced with https entries.
Comment 3 Romain d'Alverny 2011-11-29 20:38:16 CET
Well, it's not even obvious these fonts are used at all. I think the Cavendish skin is good for a thorough code review...

CC: (none) => rdalverny

Comment 4 Oliver Burger 2011-11-29 20:58:39 CET
I removed the usage of those fonts but must have been a bit careless.
Comment 5 Dave Hodgins 2011-11-30 01:04:33 CET
(In reply to comment #4)
> I removed the usage of those fonts but must have been a bit careless.

Is that an update that needs to be pushed?

I'm still seeing the import of the fonts from the http site in
https://wiki.mageia.org/mw-en/skins/cavendish/main.css?270

The http entries could be removed, if not used, or changed to https entries.
Comment 6 Oliver Burger 2011-11-30 01:08:03 CET
No, I removed the usage of the fonts, when initially importing the theme. I have to look into it.
But since this is no really urgent bug, it has to wait a few days.
Comment 7 Romain d'Alverny 2011-11-30 16:58:56 CET
I removed the Ubuntu font definition (not needed) and imported/rewrote the Droid Sans Mono definition (so it uses a font file served by the wiki).

Favicon, as well as two graphic resources called from www.m.o have been fixed as well.

There are still 1 resource to check: the CC icon that sources from http://i.creativecommons.org/l/by-sa/3.0/88x31.png - although this might be deeper in wiki configuration (does not appear to be in the skin); it can be rewritten witih https directly; https://i.creativecommons.org/l/by-sa/3.0/88x31.png works.

Looking into it.
Romain d'Alverny 2011-11-30 16:59:18 CET

Status: NEW => ASSIGNED
Assignee: mageia-webteam => rdalverny

Comment 8 Romain d'Alverny 2012-01-05 19:27:21 CET
CC icon fixed (thx dams).

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 9 Dave Hodgins 2012-03-22 21:27:49 CET
https://wiki.mageia.org/en/Working_on_pre-release_ISOs
like most wiki pages is just showing blank again
whether in user or author mode.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 10 Romain d'Alverny 2012-03-23 10:24:18 CET
Please:
* open a new bug - the issues of this very bug have been fixed (loaded all resources through https), so it may be a different kind of problem here.
* provide details (something Opera logs or what you get as errors or warnings) as we can't guess what the problem is.

Thanks

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.