1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

phpMyAdmin CSS broken due to key error message

Discussion in 'Plesk for Linux - 8.x and Older' started by phorium, Dec 15, 2004.

  1. phorium

    phorium Guest

    0
     
    First, a big thank you to SWsoft for upgrading phpMyAdmin to 2.6.0-pl3. However, when viewing the page, all of the CSS on the right-hand frame is broken and the layout is a disaster. I did some digging and figured out what the problem is.

    If you have the developer toolbar installed on FireFox and you use it to view the CSS, you'll see that this code has been added to the top of the external CSS file, which causes it to be ignored:

    <html>
    <head> <title>Key Error</title>
    <body bgcolor='#ffffff'>
    <script> <!--
    alert('The key that you are using is invalid for the product version you are running.\nTo purchase a new key go to the Plesk Online Store at www.sw-soft.com or contact\nsales@sw-soft.com.');
    //--> </script>
    </body> </html>

    I know I don't have any Plesk Key problems, so this is obviously a bug.

    I'm hoping there's a way to fix this, because it's very difficult to browse and use without the proper CSS formatting...
     
  2. DiLDoG

    DiLDoG Guest

    0
     
    Same here, very anoying, does anyone know a quickfix?
     
  3. Feldprediger

    Feldprediger Guest

    0
     
    https://yourdomain.com:8443/domains...css.php?lang=de-iso-8859-1&amp;js_frame=right
    is the url of the external css file, right? hm, there ist no
    at the top of this file here.
    But the problem is the same: No CSS at the right (main-)frame.
     
  4. phorium

    phorium Guest

    0
     
    That text (quote) is not in the CSS file physically... it is added dynamically at the beginning of the CSS file like a PHP include. It seems like a bug because that should be showing up in the HTML of the page and therefore in the browser - instead it's showing up in the CSS file which causes the browser to ignore it as invalid CSS.

    It's a pain in the *** and I can't figure out where it's getting included from, but it's not important enough for me to pay SW Soft a rediculous support fee.
     
  5. DiLDoG

    DiLDoG Guest

    0
     
    submitted a ticked, they said they would add it to dev bugtracker.
     
  6. Feldprediger

    Feldprediger Guest

    0
     
    yeah! I found the bug! :)
    It's the include() in phpmyadmin.css.php

    You can replace
    with
    in line 43, 53 and 63 (phpmyadmin.css.php,v 2.32 2004/09/23 14:36:54)
    Location:
    /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/css/phpmyadmin.css.php
     
  7. phorium

    phorium Guest

    0
     
    Brilliant!!! It worked perfectly!!

    Thank you!!
     
  8. DiLDoG

    DiLDoG Guest

    0
     
    That did the trick.
    Thank you allot! shame on you sw-soft :p
     
Loading...