antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
saral

Como Eu Resolver Esse Erros De Mysql No Meu Sait ??

Question

9 answers to this question

  • 0

lole mt difícil leres???se tr esforçasses vias ke era o site ke n se conecta a base de dados

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif
  • 0

Dava jeito ligares o autocorrect do browser, e colocares talvez um print do erro?

Share this post


Link to post
Share on other sites
  • 0

Imagem colocada

 

 

ESTA AI O STATS.PHP  É O ARQUIVO QUE DIS NA WEB QUE DA ERRO AQUI NO MEU  FILEZILLA DIS ASSIM

/public_html/pages/stats.php E NO WEB TA PIDINDO ASSIM home/a6653040/public_html/pages/stats.php 

 

Share this post


Link to post
Share on other sites
  • 0

O problema não é no stats.php, mas sim no config.php

 

Os teus dados lá estão errados e o site não conecta ao ter servidor

Share this post


Link to post
Share on other sites
  • 0
ohan<?PHP      DEFINE('SQL_HOST', '192.168.5.100');      DEFINE('SQL_USER', 'root');      DEFINE('SQL_PASS', 'lauling');            DEFINE('SQL_HP_HOST', '192.168.5.100');      DEFINE('SQL_HP_USER', 'root');      DEFINE('SQL_HP_PASS', 'lauling');      DEFINE('SQL_HP_DB', 'account');            $serverSettings['titel_page']="BrutosMt2";         // Webseiten-Titel      $serverSettings['titel']="BrutosMt2";                           // Servername      $serverSettings['url']="http://www.mt2brasil.comeze.com";                     // URL zur Seite (ohne letzten "/")      $serverSettings['server_ip']="192.168.5.100";                         // Server-IP      $serverSettings['register_on']=true;                              // Registration aktiviert (ja = true / nein = false)      $serverSettings['mail_activation']=false;                          // Mailaktivierung (ja = true / nein = false)      $serverSettings['page_entries']=50;                               // Einträge pro Seite      $serverSettings['reg_mail']='[email protected]';                   // E-Mail-Absender bei Registration      $serverSettings['pass_mail']='[email protected]';                 // E-Mail-Absender bei Passwortreset            require("daten.inc.php");          ?>

Share this post


Link to post
Share on other sites
  • 0

DEFINE('SQL_HOST', '192.168.5.100');

DEFINE('SQL_HP_HOST', '192.168.5.100');

$serverSettings['server_ip']="192.168.5.100";

 

O problema está aqui

Share this post


Link to post
Share on other sites
  • 0
DEFINE('SQL_HOST', '192.168.5.100');DEFINE('SQL_HP_HOST', '192.168.5.100');$serverSettings['server_ip']="192.168.5.100"; O problema está aquijá temtei todos ip da pagina config do meu sait

 

 

Share this post


Link to post
Share on other sites
  • 0
DEFINE('SQL_HOST', 'localhost');      DEFINE('SQL_USER', 'root');      DEFINE('SQL_PASS', 'passwort');            DEFINE('SQL_HP_HOST', 'localhost');      DEFINE('SQL_HP_USER', 'root');      DEFINE('SQL_HP_PASS', 'passwort');      DEFINE('SQL_HP_DB', 'homepage');            $serverSettings['titel_page']="ExampleMt2 - Your Slogan";         // Webseiten-Titel      $serverSettings['titel']="ExampleMt2";                           // Servername      $serverSettings['url']="examplemt2.de";                     // URL zur Seite (ohne letzten "/")      $serverSettings['server_ip']="localhost";                         // Server-IP      $serverSettings['register_on']=true;                              // Registration aktiviert (ja = true / nein = false)      $serverSettings['mail_activation']=false;                          // Mailaktivierung (ja = true / nein = false)      $serverSettings['page_entries']=30;                               // Einträge pro Seite      $serverSettings['reg_mail']='[email protected]';                   // E-Mail-Absender bei Registration      $serverSettings['pass_mail']='[email protected]';                 // E-Mail-Absender bei Passwortreset            require("daten.inc.php");          ?>?php$serverip ='localhost';$dbhost = 'localhost';$dbuser = 'root';$dbpw = 'passwort';?>$conn=mysql_connect ("192.168.5.100", "root", "lauling");

como eu configuro??? to fazendo um servidor no-ip e hospedei meu sait no 000webhost :+1:

Share this post


Link to post
Share on other sites
  • 0

então ip e o do no ip -.-" queres ligar como???o ip do Loopback (192.168.5.100) só funciona no teu pc -.-"site e n sait vai ter aulas maze

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this