close× Call Us +49 (1805) 01 29 59

PHPFusion DE NSS
Thread Author: limus
Thread ID: 1318
Thread Info
Es gibt 13 Beiträge zu diesem Thema, und es wurde 2350 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
x7chat2
limus
Hallo zusammen da ich neu hier bin hoffe ich es kann mir einer helfen. Habe die php Dateien wie verlangt auf meinen Server hochgeladen. Ich habe nun www.meinepage/.... eingeben und komme auch zur installationsseite die ersten 3 Punkte sind ok

Checking for required files ... OK

Checking for required directorys ... OK

Checking for required file permissions ... OK

Checking connection to database ... FAILED

Checking for database permissions ... Test not completed

_______________________________________________________________


Database Name: DB****** hier hab ich die Datenbank eingegeben
Database User: ******** meine ID
Database Pass: ******** mein PW
Database Host: localhost
Database Prefix: x7chat2
Use Persistant Connect*:
Database Type: mysql
Auth Type: php fusion6
Cookie Path:

mit meinem FTP Programm kann ich mich mit diesen Angeben einlocken nur über die install vom Chat funkt es nicht


Kann mir jemand helfen Im Voraus DANKE
 
SC-Ad-Bot
 
DjMicha1985
Database User: ******** meine ID = Loginname zur DB ... schau doch ma in deine config.php
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
limus
Ok danke bin jetzt 2 Schritte weiter.
 
DjMicha1985
nimm am deine config.php von fusion, da steht alles drin was du eintragen musst unter:

Database User: ******** meine ID
Database Pass: ******** mein PW
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
limus
die Installation ist fertig wo finde ich den jetzt auf meiner Seite? Entschultigt die vielen Fragen.
 
DjMicha1985
http://deineseite.de/chat ... also denke ich mal ... weis ja net wo du den hingemacht hast in welchen ordner
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
limus
Vielen Dank hat alles geklappt. Echt gute Seite hier macht weiter so. klasse
 
limus
Ist es möglich beim logout wieder automatisch auf die Startseite zu kommen???
 
DjMicha1985
gibts da ne logout.php oder so?
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
limus
Also ich kann keine finden hab schon im Index gesucht aber da sind nur die login Daten
 
limus
das hab ich noch gefunden



// This file's job is to handle all login and logout
   // This file controls pages for the following actions:
   //      act = login
   //      act = login2
   //      act = logout
   
   function page_login($failed=""){
      global $print,$txt,$db,$prefix,$x7c;      
      // Check to see if $failed contains a value, if it does then print
      // a message telling them they failed to authenticate
      if($failed == ""){
         $title = $txt[0];
         $failmsg = $txt[1];
      }elseif($failed == "invalid"){
         $title = $txt[14];
         $txt[23] = eregi_replace("_n","{$x7c->settings['maxchars_username']}",$txt[23]);
         $failmsg = $txt[23];
      }elseif($failed == "activated"){
         $title = $txt[14];
         $failmsg = $txt[613];
      }else{
         $failmsg = $txt[13];
         $title = $txt[14];
      }
            
      // Print the login form that the user must enter username and password
      $body = "   <form action=\"index.php\" method=\"post\" name=\"loginform\">
               <input type=\"hidden\" name=\"dologin\" value=\"dologin\">
               <table align=\"center\" border=\"0\" width=\"225\" cellspacing=\"0\" cellpadding=\"4\">
                  <tr valign=\"top\">
                     <td width=\"225\" style=\"text-align: center\" colspan=\"2\">$failmsg<Br><Br></td>
                  </tr>
                  <tr valign=\"top\">
                     <td width=\"80\">$txt[2]: </td>
                     <td width=\"175\"><input type=\"text\" class=\"text_input\" name=\"username\"></td>
                  </tr>
                  <tr valign=\"top\">
                     <td width=\"80\">$txt[3]: </td>
                     <td width=\"175\"><input type=\"password\" class=\"text_input\" name=\"password\"></td>
                  </tr>
                  <tr valign=\"top\">
                     <td width=\"225\" style=\"text-align: center\" colspan=\"2\">
                        <input type=\"submit\" value=\"$txt[4]\" class=\"button\">
                        <Br>
                        <Br>
                        <a href=\"./index.php?act=register\">[$txt[6]]</a> &nbsp;";
                        
      if($x7c->settings['enable_passreminder'] == 1)
         $body .=          "<a href=\"./index.php?act=forgotmoipass\">[$txt[5]]</a>
                        </td>";
      
      $body .=    "</tr>
               </table>
               </form>
            ";
      
      // Output login window
      $print->normal_window($title,$body);
      
      // See if there is any news to show
      if($x7c->settings['news'] != "")
         $print->normal_window($txt[262],$x7c->settings['news']);
         
      // See if the stats window should be displayed
      if($x7c->settings['show_stats'] == 1){
         // Get the information for the online table
         include("./lib/online.php");
         clean_old_data();
         $people_online = get_online();
         $number_online = count($people_online);
         $people_online = implode(", ",$people_online);

         // Calculate total rooms
         $rooms = 0;
         $query = $db->DoQuery("SELECT id FROM {$prefix}rooms WHERE type='1'");
         while($row = $db->Do_Fetch_Row($query))
            $rooms++;

         // Calculate total registered users
         $accounts = 0;
         $query = $db->DoQuery("SELECT id FROM {$prefix}users WHERE  user_group<>'{$x7c->settings['usergroup_guest']}'");
         while($row = $db->Do_Fetch_Row($query))
            $accounts++;


         // Now body will hold the stats table
         $body = "   
                  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                     <tr valign=\"top\">
                        <td width=\"175\">
                           <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                              <tr valign=\"top\">
                                 <td width=\"125\"><b>$txt[8]:</b> </td>
                                 <td width=\"50\">$number_online</td>
                              </tr>
                              <tr valign=\"top\">
                                 <td width=\"125\"><b>$txt[9]:</b> </td>
                                 <td width=\"50\">$rooms</td>
                              </tr>
                              <tr valign=\"top\">
                                 <td width=\"125\"><b>$txt[10]:</b> </td>
                                 <td width=\"50\">$accounts</td>
                              </tr>
                           </table>
                        </td>
                        <td width=\"225\"><b>$txt[11]</b><Br>
                           <i>$people_online</i>
                        </td>
                     </tr>
                  </table>
               ";

         // Output Stats Window
         $print->normal_window($txt[7],$body);
      }
      
      // See if the admin wants the upcoming events to show
      if($x7c->settings['show_events'] == 1){
         $body = "";
         include("./lib/events.php");
         
         if($x7c->settings['events_show3day'] == 1){
            $body .= cal_threedays()."<Br><br>";
         }
         
         if($x7c->settings['events_showmonth'] == 1){
            $body .= cal_minimonth();
         }
      
         // Output the Calander window
         $print->normal_window($txt[12],$body);
      }
      
   }

?>

Bearbeitet von DjMicha1985 am 07.07.2009 00000007 16:26
 
DjMicha1985
also hier gibts ne funktion die den logout bestimmt so weit ich das sehe


      // Output login window
      $print->normal_window($title,$body);


schau ma in den einstellungen vom chat, also unter admin vom chat ob du na ne logout eingeben kannst. gib dort einfach die seite an wohin es gehen soll.
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
limus
Danke ich hab es gefunden funkt jetzt es. klasse
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
php Fusion 7 und X7chat2 passwortprobleme Allgemeine Support Fragen 9 08.02.2012 00000002 16:44
Streambox in x7chat2 einbinden Gemischtes 2 12.01.2011 00000001 23:03
Frage zum x7chat2 Allgemeine Support Fragen 25 06.01.2010 00000001 19:44
x7Chat2 Userabgleich Probleme Allgemeine Support Fragen 7 17.08.2009 00000008 07:42