Beiträge von melloman

    habs nun mit auskommentieren, 16M, 32M, -1, etc. probiert und nix geht...er zeigt mir weiterhin die 8M an...auch im Angebot war der Wert auf 32M und hab ihn dann auf 64M erhöht...

    was läuft da falsch ??

    so ungefähr schaut das dingens aus...
    das komplette script wär bisl viel...

    mein chef hat mir mitgeteilt, dass das script ersetzt wurde...
    nun hab ich aber noch das problem mit dem anderen...

    er hat mir auch gerade gesagt, dass es mit mysql zusammenhängen könne, da die ihre verschlüsselung geändert haben oder so...stimmt das ?

    Twilo, sorry, das steht im script alles in einer zeile...

    Hier das komplette login script von Nr. 1

    Nr. 1


    Nr. 2

    Code
    $adm=(gc('status')=='adm'&&logincheck());if($login&&!$adm){if($cf['security']['wwwaut']!='true')
    {if($passwd==$cf['security']['password']){setcookie('status','adm');setcookie('passwd',$passwd);
    $adm=true;$edit=true;writelog(date("Y-m-d H:i:s")." from ".sv('REMOTE_ADDR')." logged_in\n");}else getlost();}else{if(sv('PHP_AUTH_USER')==''||sv('PHP_AUTH_PW')==''||gc('status')=='')
    {setcookie('status','login');header('WWW-Authenticate: Basic realm="'.$tx['login']['warning'].'"');getlost();}else{if(logincheck()){setcookie('status','adm');
    $adm=true;$edit=true;writelog(date($tx['log']['dateformat']).' '.sv('REMOTE_ADDR').' '.$tx['log']['loggedin']."\n");}else{getlost();}}}}else if($logout&&$adm){$fn=date("YmdHis").'.htm';if(@copy($pth['file']['content'],$pth['folder']['content'].$fn))
    {$o.='<p>'.ucfirst($tx['filetype']['backup']).' '.$fn.' '.$tx['result']['created'].'</p>';$fl=array();$fd=@opendir($pth['folder']['content']);
    while(($p=@readdir($fd))==true){if(preg_match("/\d{3}\.htm/",$p))$fl[]=$p;}if($fd==true)closedir($fd);sort($fl);
    $v=count($fl)-$cf['backup']['numberoffiles'];for($i=0;$i<$v;$i++)
    {if(@unlink($pth['folder']['content'].'/'.$fl[$i]))$o.='<p>'.ucfirst($tx['filetype']['backup']).' '.$fl[$i].' '.$tx['result']['deleted'].'</p>';else e('cntdelete','backup',$fl[$i]);}}else e('cntsave','backup',$fn);$adm=false;setcookie('status','');setcookie('passwd','');$o.='<p><font color="red">'.$tx['login']['loggedout'].'</font></p>';}

    Seit wir auf unseren 2 Webservern PD-Admin 3.x haben (vorher 2.x) funktionieren auf 2 Webseiten die PHP Logins nicht mehr...bei beiden sind die daten in einem config file gespeichert, doch er nimmt die daten nicht an...

    was könnte da das problem sein ??

    In welchem Config File finde ich die Einstellung für das Speicherlimit ?

    Code
    > [Fri Jan 14 01:29:52 2005] [error] [client 217.136.170.71] Premature 
    > end = of script headers: /usr/local/pd-admin2/cgi-sys/cgiwrap
    > 
    > Out of memory!

    habs mal wieder mit einem update versucht...leider ohne erfolg, und datenbanken kann ich noch immer keine erstellen...

    Code
    Apache wird gestartet
    Schreibe //usr/local/pd-admin2/conf/httpd.conf
    DBD::mysql::st execute failed: Unknown column 't2.target' in 'field list' at /op
    t/pdadmin/bin/httpd_vhosts.pl line 99, <TPL> line 197.
    cannot execute query 'select t1.name, t1.vhostroot, t2.name, t2.fp, t3.login, t4
    .php, t4.cgi, t1.ip, t1.catchall, t2.id, t1.id, t2.target, t4.rlimit_cpu, t4.rli
    mit_nproc, t4.rlimit_as from domains as t1, vhosts as t2, users as t3, accounts
    as t4 where t2.domain=t1.id and t1.owner=t3.id and t3.account=t4.id and t3.suspe
    nded='0' order by t1.name, (t1.catchall = t2.id), t2.name' at /opt/pdadmin/bin/h
    ttpd_vhosts.pl line 99, <TPL> line 197.

    Seit ich ein Update von PD-Admin 2.xx auf 3.xx gemacht hab, kann ich keine Datenbanken mehr erstellen...folgender Fehler tritt auf:

    Code
    Software error:
    
    
    Can't call method "prepare" on an undefined value at /home/pdadmin/web/admin/admin.pl line 247.
    
    
    For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.

    kann mir da jemand helfen ?

    Achja, währen des Updates trat ein Fehler auf, welchen ich kurz darauf behoben hab, jedoch konnte ich das update nicht erneut laufen lassen...

    Code
    [Tue Nov 23 15:16:30 2004] reseller.pl: DBI connect('database=vadmin;host=localhost;','vadmin',...) failed: Access denied for user: 'vadmin@localhost' (Using password: YES) at /home/pdadmin/web/reseller/reseller.pl line 59
    [Tue Nov 23 15:16:30 2004] reseller.pl: can't connect!

    also ich weiss nur, dass der datenbank zugriff der einzelnen user auf dem pd-admin system ohne probleme funktioniert, nur die admin oberfläche hat irgendwie probleme...

    Nach einem versehentlichen start von mysql-update funktioniert die adminoberfläche nicht mehr...
    folgender fehler tritt auf:

    Software error:
    can't connect!

    For help, please send mail to the webmaster (***), giving this error message and the time and date of the error.

    jemand ne ahnung wie ich das wieder richten kann ?