Kopanel [Microsoft][ODBC] (YAPANA GMLIK VPS Li Serv.)

Konu Yazar

tolgaqcetin

Member
Ocak
405
9
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\AppServ\www\include\user.php(1) : eval()'d code(1) : eval()'d code on line 33
Sql Servera baglanilamiyor, odbc_error()

kopanel bu hatayı verıyor arklar. settings.php ayar dosyası doğru ama nıe bole dior anlamadım.önce programlarda böyle diyordu açarken.çözdüm. ama bunu anlayamadım :S .bu sefer msjın sonunda tşk edmicem bilen biride cevap vermıcek bılıorum : )

Sorunu çözene gmlik verilicek zaten. :-:
 
Cevap: Kopanel [Microsoft][ODBC] (YAPANA GMLIK VPS Li Serv.)

HERHANGİ Bİ SERVERDE 2GB KARŞILIĞI 1299 SERVER+PORT+PANEL+OTO PATCH+GÜVENLİK KURULUR(TEAMVİEWER İLE) İLETİŞİM:[email protected]:-:
 
Cevap: Kopanel [Microsoft][ODBC] (YAPANA GMLIK VPS Li Serv.)

user.php'nin içindekileri buraya kopyalar mısın ? CODE BBcode'u içerisinde tabi ki.
 
Cevap: Kopanel [Microsoft][ODBC] (YAPANA GMLIK VPS Li Serv.)

Başka bir panel kurdum yıne aynı hata buyur ;

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\AppServ\www\index.php on line 169
Baglanti YOK!


Buda index.php

Kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0036)http://www.wowenforcers.org/news.php -->
<HTML xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Server Ismi - Offical Web Site</TITLE><!-- *JS* -->
<SCRIPT src="Resimleri/e107.js" 
type=text/javascript></SCRIPT>
<!-- *CSS* --><!-- Theme css --><LINK media=all 
href="Resimleri/style.css" type=text/css 
rel=stylesheet><LINK href="Resimleri/e107.css" 
type=text/css rel=stylesheet><!-- *META* -->
<META http-equiv=content-type content="text/html; charset=utf-8">
<META http-equiv=content-style-type content=text/css>
<META http-equiv=content-language content=en><!-- Core Meta Tags --><LINK 
href="http://www.wowenforcers.org/favicon.ico" type=image/x-icon rel=icon><LINK 
href="http://www.wowenforcers.org/favicon.ico" type=image/xicon 
rel="shortcut icon"><!-- *PRELOAD* -->
<SCRIPT type=text/javascript>
<!--
ejs_preload('/e107_themes/enfwotlk/images/','body_01.png,body_03.png,bullet1.gif,bullet2.gif,footer_01.png,footer_03.png,footer_02.png,header.png,menu_01.png,menu_02.png,menu_04.png,menu_08.png,news_01.png,news_02.png,news_03.png,news_04.png,news_06.png,news_11.png,news_12.png,news_09.png,news_13.png,spacer.gif,background.jpg,dot.png');
// -->
</SCRIPT>

<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY onload=externalLinks(); style="background-color: #000000">
<TABLE cellSpacing=0 cellPadding=0 width=900 align=center border=0>
  <TBODY>
  <TR>
    <TD width=900 background=Resimleri/header.png 
    height=219></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=900 align=center bgColor=#000000 
border=0>
  <TBODY>
  <TR vAlign=top>
    <TD width=30 background=Resimleri/body_01.png><IMG 
      height=20 src="Resimleri/body_01.png" width=30></TD>
    <TD width=5><IMG height=5 src="Resimleri/spacer.gif" 
      width=5></TD>
    <TD width=165>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_01.png 
          height=34>
            <DIV class=menutittletext 
      align=center>Kullanıcı Menüsü</DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=8 
            background=Resimleri/menu_02.png><b>
			<font face="Tahoma" style="font-size: 9pt"><IMG height=4 
            src="Resimleri/menu_02.png" width=8></font></b></TD>
          <TD bgColor=#000000><b><font face="Tahoma" style="font-size: 9pt"><!-- Sitelinks (1) -->
            </font></b>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="/index.php">Ana 
				Sayfa</a></font></b></DIV></DIV>
            <DIV class=link2 onmouseover="this.className='link1';" 
            onmouseout="this.className='link2';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/user.php">Kullanıcı 
				Sıralaması</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/clan.php">Clan 
				Sıralaması</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/online.php">Online 
				Oyuncular</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/ban.php">Banlı 
				Oyuncular</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/mute.php">Muteli 
				Oyuncular</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/dosya.php">Dosyalar</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="http://www.forumunuz.com">Forum</a></font></b></DIV></DIV>
            <b><font face="Tahoma" style="font-size: 9pt"><!--- end Site Links -->
			</font></b></TD>
          <TD width=9 
            background=Resimleri/menu_04.png><b>
			<font face="Tahoma" style="font-size: 9pt"><IMG height=4 
            src="Resimleri/menu_04.png" 
        width=9></font></b></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_08.png 
          height=35><b><font face="Tahoma" style="font-size: 9pt"><IMG height=35 
            src="Resimleri/menu_08.png" 
        width=165></font></b></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_01.png 
          height=34>
            <DIV class=menutittletext align=center>
				<font face="Tahoma" style="font-size: 9pt">Boss Guide</font></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=8 
            background=Resimleri/menu_02.png><b>
			<font face="Tahoma" style="font-size: 9pt"><IMG height=4 
            src="Resimleri/menu_02.png" width=8></font></b></TD>
          <TD bgColor=#000000><b><font face="Tahoma" style="font-size: 9pt"><!-- Sitelinks (1) -->
            </font></b>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/boss.php">Boss 
				Drop Listesi</a></font></b></DIV></DIV>
            <DIV class=link2 onmouseover="this.className='link1';" 
            onmouseout="this.className='link2';">
            <DIV class=linktext><b><font face="Tahoma" style="font-size: 9pt"><IMG alt="" 
            src="Resimleri/bullet1.gif">&nbsp;&nbsp;<a href="pages/drop.php">Monster 
				drop Listesi</a></font></b></DIV></DIV>
            <DIV class=link1 onmouseover="this.className='link2';" 
            onmouseout="this.className='link1';">
            <DIV class=linktext>&nbsp;</DIV></DIV><b>
			<font face="Tahoma" style="font-size: 9pt"><!--- end Site Links -->
			</font></b></TD>
          <TD bgColor=#000000>&nbsp;</TD>
          <TD width=9 
            background=Resimleri/menu_04.png><b>
			<font face="Tahoma" style="font-size: 9pt"><IMG height=4 
            src="Resimleri/menu_04.png" 
        width=9></font></b></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_08.png 
          height=35></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD bgColor=#000000>
            &nbsp;</TD>
          </TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_01.png 
          height=34>
            <DIV class=menutittletext 
      align=center>Server Bilgileri</DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=8 
            background=Resimleri/menu_02.png><IMG height=4 
            src="Resimleri/menu_02.png" width=8></TD>
          <TD bgColor=#000000>&nbsp;<?
include ("ayar.php");
$connect = odbc_connect("$dbname", "$dbuser", "$dbpass") or die('Baglanti YOK!');
$topchar = odbc_exec($connect, "SELECT COUNT(*) FROM USERDATA");
$topacc = odbc_exec($connect, "SELECT COUNT(*) FROM TB_USER");
$onacc = odbc_exec($connect, "SELECT COUNT(*) FROM CURRENTUSER");
$saychar = odbc_result($topchar, 1);
$sayacc = odbc_result($topacc, 1);
$sayonacc = odbc_result($onacc, 1);

	$status_tablo = '<br><br>
<font color="#CC9900">&nbsp;&nbsp;&nbsp;&nbsp;Total Account :</font> &nbsp;<font color="#FF9900">[</font><font color="#FF0000">'.$sayacc.'</font><font color="#FF9900">]</font><br><br>
   <font color="#CC9900">&nbsp;&nbsp;&nbsp;&nbsp;Total Char :</font> &nbsp;<font color="#FF9900">[</font><font color="#FF0000">'.$saychar.'</font><font color="#FF9900">]</font><br><br>
   <font color="#CC9900">&nbsp;&nbsp;&nbsp;&nbsp;Online users :</font>&nbsp; &nbsp;<font color="#FF9900">[</font><font color="#FF0000">'.$sayonacc.'</font><font color="#FF9900">]</font><br><br>



';
echo $status_tablo;
?><p>&nbsp;</TD>
          <TD width=9 
            background=Resimleri/menu_04.png><IMG height=4 
            src="Resimleri/menu_04.png" 
        width=9></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=165 border=0>
        <TBODY>
        <TR>
          <TD width=165 background=Resimleri/menu_08.png 
          height=35></TD></TR></TBODY></TABLE>
      </TD>
    <TD width=5><IMG height=5 src="Resimleri/spacer.gif" 
      width=5></TD>
    <TD><BR>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width=25 background=Resimleri/news_01.png 
          height=40></TD>
          <TD background=Resimleri/news_02.png 
            height=40><DIV class=newstittletext align=center>&nbsp;</DIV></TD>
          <TD width=28 background=Resimleri/news_03.png 
          height=40></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width=25 
          background=Resimleri/news_04.png></TD>
          <TD bgColor=#000000>
            <DIV class=newstext>
            <DIV style="TEXT-ALIGN: center"><strong><font color="#008000">
				<span style="font-size: 11pt">.: </span></font>
				<span style="font-size: 11pt; color: #C0C0C0">Oyundan Haberler</span><font color="#008000"><span style="font-size: 11pt"> 
				:.</span></font></strong><STRONG class="bbcode bold"><span style="font-size: 11pt"><font color="#008000">
				</font></span>
				<SPAN 
            style="FONT-SIZE: 24px; color:#cc6600"> 
            <BR></SPAN></STRONG></DIV><BR>
            <DIV style="TEXT-ALIGN: center">
				<SPAN 
            style="FONT-SIZE: 12px"><STRONG class="bbcode bold">
				<SPAN 
            style="COLOR: #0000ff"><BR></SPAN></STRONG></SPAN></DIV><BR><b><IMG alt="" 
            src="Resimleri/bullet1.gif"><font color="#FF0000">[31,31,2031]
			</font>Haber'leri Siz yazın</b><p><b><IMG alt="" 
            src="Resimleri/bullet1.gif"><font color="#FF0000">[31,31,2031]</font> 
			Haber'leri Siz yazın</b></p>
			<p><b><IMG alt="" 
            src="Resimleri/bullet1.gif"><font color="#FF0000">[31,31,2031]</font> 
			Haber'leri Siz yazın</b></p>
			<p><b><IMG alt="" 
            src="Resimleri/bullet1.gif"><font color="#FF0000">[31,31,2031]</font> 
			Haber'leri Siz yazın</b></p>
			<p><b><IMG alt="" 
            src="Resimleri/bullet1.gif"><font color="#FF0000">[31,31,2031]</font> 
			Haber'leri Siz yazın</b><BR>&nbsp;</p>
			<p><BR>
            </p>
			<p><BR>
            </p>
            <DIV style="TEXT-ALIGN: center">
				<SPAN 
            style="FONT-SIZE: 12px"><STRONG class="bbcode bold">
				<SPAN 
            style="COLOR: #0000ff"><BR></SPAN></STRONG></SPAN></DIV>&nbsp;<p>&nbsp;</DIV>
            <DIV class=smalltext style="TEXT-ALIGN: right">Bu Kopanel Valante 
				Tarafından <BR>Ko-Cuce Içın Yapışmıştır Bu&nbsp; Yazıyı 
				Silebilirsiniz, </DIV></TD>
          <TD width=28 
          background=Resimleri/news_06.png></TD></TR></TBODY></TABLE>
      </TD>
    <TD width=5><IMG height=5 src="Resimleri/spacer.gif" 
      width=5></TD>
    <TD width=30 background=Resimleri/body_03.png><IMG 
      height=20 src="Resimleri/body_03.png" 
  width=30></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=900 align=center border=0>
  <TBODY>
  <TR>
    <TD width=900 background=Resimleri/footer_01.png 
    height=125></TD></TR>
  <TR>
    <TD width=900 background=Resimleri/footer_02.png 
    height=25>
      <DIV align=center>
      <DIV class=smalltext 
      style="TEXT-ALIGN: center"><BR>&nbsp;</DIV></DIV></TD></TR>
  <TR>
    <TD width=900 background=Resimleri/footer_03.png 
    height=21></TD></TR></TBODY></TABLE>
<SCRIPT type=text/javascript>
SyncWithServerTime('1236568507');
       </SCRIPT>
</BODY></HTML>
 
Geri
Üst Alt