Shoutbox

[Firefox] Skins Database Bug - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: [Firefox] Skins Database Bug (/showthread.php?tid=93652)

[Firefox] Skins Database Bug by Chris4 on 01-24-2010 at 02:32 AM

On the skins database, when searching, the error page is appearing like this:

[Image: skinsdbbug.png]

Example: http://www.msgpluslive.net/skins/search/?q=fjogdfjgfji

It only happens in Firefox (3.6), IE8 and Chrome work fine.

I tested in Firefox (Safe Mode) and the same happened, so it's not caused by any extensions.

Can anyone else confirm this?


RE: [Firefox] Skins Database Bug by blessedguy on 01-24-2010 at 02:34 AM

Exactly the same problem on Firefox 3.6 RC.


RE: [Firefox] Skins Database Bug by roflmao456 on 01-24-2010 at 02:48 AM

confirmed.
i searched random stuff on the scriptsdb and got something similar to your picture

Firefox 3.6


RE: [Firefox] Skins Database Bug by Menthix on 01-24-2010 at 02:55 AM

Can anyone still on FF 3.5.x or earlier check if the error happens there too?


RE: [Firefox] Skins Database Bug by robert_dll on 01-24-2010 at 02:56 AM

Same here. Firefox 3.6 Final


RE: [Firefox] Skins Database Bug by matty on 01-24-2010 at 03:01 AM

fine in firefox 3.5.7

[Image: attachment.php?pid=985928]


RE: [Firefox] Skins Database Bug by Chris4 on 01-24-2010 at 03:24 AM

Broken in 3.7 too.

http://browsershots.org/screenshots/2268cca6d98904018dfa3a2ee7ebf692/


RE: [Firefox] Skins Database Bug by Menthix on 01-24-2010 at 03:29 AM

I blame it on FF's new tabs sorting method... it's even confusing the DownDB :o.


RE: [Firefox] Skins Database Bug by Matti on 01-24-2010 at 09:43 AM

A bit of firebugging revealed that the problem is caused by the vertical center hack. Simply put: it doesn't work that way.

Here's a much better vertical center hack, using table styles for IE8/Firefox/Chrome/... and relative positioning for IE6/7. I took the liberty to make it a bit more standards-compliant, but I didn't touch the table for the error message so the default style doesn't need changing.

HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Messenger Skins &raquo; Search &raquo; KEYWORDS</title>
    <link href="/skins/skins/default/style.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="refresh" content="3; url=/skins/browse/" />
    <style type="text/css">
 
    html, body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
 
    #outer {
        display: table;
        width: 100%;
        height: 100%;
        overflow: hidden;
        text-align: center;
    }
 
    #inner {
        display: table-cell;
        vertical-align: middle;
    }
 
    #message {
        width: 40%;
        margin: 0 auto;
        text-align: center;
    }
 
    </style>
 
    <!--[if lt IE 8]>
    <style type="text/css">
 
    #outer {
        position: relative;
    }
    #inner {
        position: absolute;
        top: 50%;
        left: 50%;
    }
    #message {
        position: relative;
        top: -50%;
        left: -50%;
        margin-top: -3.5em;
        width: 100%;
    }
 
    </style>
    <![endif]-->
</head>
 
<body>
    <div id="outer">
        <div id="inner">
            <table id="message" cellpadding="3" cellspacing="0" class="border">
                <tbody>
                    <tr class="sectionheader">
                        <th>Error</th>
                    </tr>
                    <tr>
                        <td>
                            <p>No results were found for "KEYWORDS". Please use the back button and try a different word.</p>
                            <p><a href="/skins/browse/">Click here if you are not redirected automatically.</a></p>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</body>
 
</html>


RE: [Firefox] Skins Database Bug by Menthix on 02-06-2010 at 02:10 PM

Matti, thanks for the help! This got buried under other things to do, but it's fixed now.

Also fixes the redirect messages after you voted on an item.