kantorbsb: Premature end ... ihr kennt das ja

Hallo,

habe bisher ein gut funktionierendes Script (perlmyadmin von www.thinkfactory.de) für die Bearbeitung meiner mysql-Datenbanken benutzt. Dies läuft wunderbar auf meinem alten Rechner und im Netz, jedoch bekomme ich auf meinem neuen System (XP Pro, gleiche Versionen von Apache, ActiveStatePerl, mysql, DBI, DBD::mysql) plötzlich nur den "Premature end of script headers" - error.
Weiß jemand Rat?

  1. hallo,

    habe bisher ein gut funktionierendes Script [...] läuft wunderbar auf meinem alten Rechner

    Welches Betriebssystem hat dieser alte Rechner?

    jedoch bekomme ich auf meinem neuen System (XP Pro, gleiche Versionen von Apache, ActiveStatePerl, mysql, DBI, DBD::mysql) plötzlich nur den "Premature end of script headers" - error.

    In der error.log des Apache sollte sich auch ein Hinweis auf die Scriptzeile finden, an der es nicht mehr weitergeht. Möglicherweise stimmt nur die shebang nicht, also die erste Scriptzeile, die den Pfad zum PERL-Interpreter enthält.

    Grüße aus Berlin

    Christoph S.

    1. Welches Betriebssystem hat dieser alte Rechner?

      XP-Home

      In der error.log des Apache sollte sich auch ein Hinweis auf die Scriptzeile finden, an der es nicht mehr weitergeht. Möglicherweise stimmt nur die shebang nicht, also die erste Scriptzeile, die den Pfad zum PERL-Interpreter enthält.

      Perl-Pfad ist bekannt und andere CGIs (meine eigenen) laufen auch problemlos. Auch scripts die DBI/DBD::mysql benutzen funktionieren. Das macht mich ja so ratlos!

      Gruß
      Axel

  2. Als Ergänzung:
    von der Konsole gestartet erhalte ich folgende Ausgabe:

    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Use of uninitialized value in quotemeta at MyAdmin/Functions.pm line 49.
    Content-Type: text/html; charset=ISO-8859-1

    Use of uninitialized value in substitution (s///) at WO/Template.pm line 453.
    Use of uninitialized value in join or string at WO/Template.pm line 166.
    Use of uninitialized value in substitution (s///) at WO/Template.pm line 453.
    Use of uninitialized value in join or string at WO/Template.pm line 166.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <HTML>
    <HEAD>
    <TITLE> PerlMyAdmin v1.0.0 Beta 4 - Login!</TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Keywords" CONTENT="MyAdmin, MySQL, Admin, Management">
    <META NAME="Description" CONTENT="MyAdmin is a web based interface to mysql similar to phpmyadmin and mysqlman.">

    <style type="text/css" media="screen">
    BODY {
       font-family : verdana, tahoma, arial;
       font-size   : 11px;
       padding-top : 30px;
       background  : #EFEFEF;
    }
    TD {
       font-family : verdana, tahoma, arial;
       font-size   : 11px;
    }
    TABLE.main_table {
       width       : 90%;
       padding     : 2px;
       background  : #FFFFFF;
       border      : 1px solid #DDDDDD;
       height      : 90%;
    }
    TD.td_header {
       padding     : 3px;
       background  : #EFEFEF;
       border      : 1px dotted #DDDDDD;
    }
    TD.td_color_header {
       padding     : 3px;
       background  : #E3EADE;
       border      : 1px dotted #DDDDDD;
    }
    TD.td_odd {
       background  : #E3E7E8;
    }
    TD.td_even {
       background  : #EFEFEF;
    }
    A {
       text-decoration: none;
       color          : blue;
    }
    INPUT.text {
       border-color: #666666;
       border-width: 1px;
    }
    </style>

    <script language="javascript" type="text/javascript">
    function verify() {

    var me = document.db_login;
        var error;

    // Verify the form fields.
            if (me.host.value == "") {
                alert("Please enter a host!");
                    me.host.focus();
                    return false;
        }
            if (me.user.value == "") {
                alert("Please enter a username!");
                    me.user.focus();
                    return false;
        }
    // Don't check passwords because some (silly) people don't use them.
    }
    </script>

    </HEAD>

    <BODY onload="document.db_login.host.focus();">

    <table align="center" class="main_table" cellspacing="10px">
    <tr>
    <td valign="middle" class="td_header" width="100%"><b>PerlMyAdmin »» v1.0.0 Beta 4
    Login:</b></td>
    </tr>
    <tr>
    <td height="15%" valign="top">
    Herzlich Willkommen zum Login zu  <font »» color="#C00000"><b>PerlMyAdmin v1.0.0 Beta 4</b></font>!
    <br><br>
    Nach Eingabe Ihrer Login-Daten k÷nnen Sie Ihre MySQL-Datenbank(en) komfortabel im Browser bearbeiten.
    </td>
    </tr>

    <!-- Login Form -->
    <tr>
    <td height="75%" align="center" valign="top">

    <form name="db_login" action="myadmin.cgi" method="POST" onsubmit="return verify();">
    <input type="hidden" name="do" value="login">

    <table width="50%" cellpadding="5">
    <tr>
    <td colspan="2" class="td_color_header"><b>Login:</b></td>
    </tr>
    <tr>
    <td width="25%"><b>MySQL-Server:</b></td>
    <td><input type="text" size="40" name="host" class="text" value="localhost"></td>
    </tr>
    <tr>
    <td><b>MySQL-Benutzer:</b></td>
    <td><input type="text" size="40" name="user" class="text" value=""></td>
    </tr>
    <tr>
    <td><b>MySQL-Kennwort:</b></td>
    <td><input type="password" size="40" name="pass" class="text"></td>
    </tr>
    <tr>
    <td><b>Speichern?</b></td>
    <td><input type="checkbox" name="save"> <small>(Server- und Benutzername in einem Cookie speichern)</small></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" class="button" value="Login"></td>
    </tr>
    </table>

    </form>
    <br>

    </td>
    </tr>
    <!-- End Login Form -->

    »»

    <!-- Footer -->
    <tr>
    <td valign="middle" height="10" class="td_header" width="100%" align="right">
    <small>&copy; 2003 <a href="http://www.supportsql.com" »» target="_blank">SupportSQ

    L</a> - All Rights Reserved.<br>&copy; 2003 Deutsche Version von <a href="http:/
    /www.thinkfactory.de" target="_blank">thinkfactory</a> - Alle Rechte vorbehalten
    .</small></td></tr></table>

    <!-- End Footer -->

    </BODY>
    </HTML>

    </table>