Delphi Dünyası Facebook'ta

Kodbank İndir

! CODEBANK 2012 !

İNDİRMEK&DETAYLI BİLGİ ALMAK İÇİN BURAYI TIKLAYINIZ.

Gönderen Konu: Local de Normal Serverde Hatalı Görünüyor - Firefox 3 İle  (Okunma sayısı 1567 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı oguzk

  • Delphi 1 Level 1
  • *
  • İleti: 9
  • Rep: +0/-0
Arkadaşlar, iş yerinde beraber çalıştığımız bir arkadaş belediye seçimlerine katılacak. Kendisine web sayfası hazırlamamı istedi. Kendi çapımda bir şeyler yaptım ancak IE7 ile açtığımda normal şekilde görüntülenen web sayfası Firefox ile açtığımda karma karışık görünüyor. Web.Config ayarlarım bu şekilde.

Kod: [Seç]
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key ="FCKeditor:BasePath" value="FCKEditor/"></add>
</appSettings>
  <system.web>
<browserCaps>
  <!-- GECKO Based Browsers (Netscape 6+, Mozilla/Firebird, ...) //-->
  <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)? (?'type'[^/\d]*)([\d]*)/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
browser=Gecko
type=${type}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
<case match="rv:(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
  version=${version}
  majorversion=${major}
  minorversion=${minor}
  <case match="^b" with="${letters}">
beta=true
  </case>
</case>
  </case>

  <!-- AppleWebKit Based Browsers (Safari...) //-->
  <case match="AppleWebKit/(?'version'(?'major'\d)(?'minor'\d+)(?'letters'\w*))">
browser=AppleWebKit
version=${version}
majorversion=${major}
minorversion=0.${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
<case match="AppleWebKit/(?'version'(?'major'\d)(?'minor'\d+)(?'letters'\w*))( \(KHTML, like Gecko\) )?(?'type'[^/\d]*)/.*$">
  type=${type}
</case>
  </case>
  <!-- Konqueror //-->
  <case match = "Konqueror/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'));\w*(?'platform'[^\)]*)">
browser=Konqueror
version=${version}
majorversion=${major}
minorversion=${minor}
platform=${platform}
type=Konqueror
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
tagwriter=System.Web.UI.HtmlTextWriter
  </case>
</browserCaps>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
          false will improve runtime performance of this application.
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP .NET files.
    -->
    <compilation
         defaultLanguage="c#"
debug="true">
<assemblies>
<!-- BORLAND DEBUG KERNEL
     The httpModule Borland.DbkAsp.DbkConnModule is required for debugging under IIS.
     This module may be installed in web.config or machine.config, but not both.
     Move the following line outside this comment to install.
<add assembly="Borland.dbkasp, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b0524c541232aae7"/>
-->
</assemblies>
    </compilation>

    <httpModules>
<!-- BORLAND DEBUG KERNEL
     The httpModule Borland.DbkAsp.DbkConnModule is required for debugging under IIS.
     This module may be installed in web.config or machine.config, but not both.
     Move the following line outside this comment to install.
<add name="DbgConnect" type="Borland.DbkAsp.DbkConnModule,Borland.dbkasp,Version=10.0.0.0, Culture=neutral, PublicKeyToken=b0524c541232aae7"/>
-->
    </httpModules>

    <!--  CUSTOM ERROR MESSAGES
          Set customError mode values to control the display of user-friendly
          error messages to users instead of error details (including a stack trace):

          "On" Always display custom (friendly) messages 
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not running
          on the local Web server. This setting is recommended for security purposes, so
          that you do not display application detail information to remote clients.
    -->
    <customErrors
    mode="RemoteOnly"
    />

    <!--  AUTHORIZATION
          This section sets the authorization policies of the application. You can allow or deny access
          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
          (unauthenticated) users.
    -->

    <authorization>
        <allow users="*" /> <!-- Allow all users -->
            <!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
                  <deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            -->
    </authorization>
   
    <!--  AUTHENTICATION
          This section sets the authentication policies of the application. Possible modes are "Windows", "Forms",
          "Passport" and "None"
    -->
    <authentication mode="Windows" />

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application.
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the
          application trace log by browsing the "trace.axd" page from your web application
          root.
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="false"
        traceMode="SortByTime"
localOnly="true"
    />

    <!--  SESSION STATE SETTINGS
          By default ASP .NET uses cookies to identify which requests belong to a particular session.
          If cookies are not available, a session can be tracked by adding a session identifier to the URL.
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false"
            timeout="20"
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application.
    -->
    <globalization requestEncoding="windows-1254"
 responseEncoding="windows-1254" fileEncoding="windows-1254"
 culture="tr-TR"
 uiCulture="tr-TR" />
   
 </system.web>

</configuration>




İşin ilginç tarafı localde sayfa Firefox ilede düzgün görüntüleniyor. Ama WEB üzerinden giriş yapınca sorun çıkıyor. Sebebi nedir acaba yardımcı olur musunuz?
Sayfanın adresi :
Kod: [Seç]
www.mustafademir05.com

Çevrimdışı KRALMAS

  • Delphi 1 Level 4
  • ****
  • İleti: 39
  • Rep: +0/-0
  • Cinsiyet: Bay
    • Kod Kurdu
Ynt: Local de Normal Serverde Hatalı Görünüyor - Firefox 3 İle
« Yanıtla #1 : 03 Şubat 2009 10:07:51 »
Sayfanın html kaynak kodlarına bakarken gözüme, 80. satırda aşağıdaki gibi hatalı bir bölüm çarptı. Bu satırı, tamamen kaldırırsan Firefoxda da düzgün görünmesi lazım.

Kod:  (Unknown Language)
  1. <span id="ctl01_mygrid" style="display: inline-block; height: 271px; width: 687px;"><span>

Kolay gelsin...

Çevrimdışı oguzk

  • Delphi 1 Level 1
  • *
  • İleti: 9
  • Rep: +0/-0
Ynt: Local de Normal Serverde Hatalı Görünüyor - Firefox 3 İle
« Yanıtla #2 : 03 Şubat 2009 11:33:23 »
Hocam o kodu ben yazmadım sayfanın kaynağına bakınca görünüyor ama benim kodlarım arasında öyle bir satır yok. Kaynak kodunu alıp htm olarak kaydettim ve o satırı sildim. Firefoxta düzgün görüntüleniyor ama o kodun nasıl türediğini çözemedim. Sorun devam ediyor.

Çevrimdışı KRALMAS

  • Delphi 1 Level 4
  • ****
  • İleti: 39
  • Rep: +0/-0
  • Cinsiyet: Bay
    • Kod Kurdu
Ynt: Local de Normal Serverde Hatalı Görünüyor - Firefox 3 İle
« Yanıtla #3 : 03 Şubat 2009 12:06:41 »
Sayfanda "ctl01_mygrid" isimli, id'ye sahip bir nesne var, kodu üreten ve kaldırman gereken elemanda o. Yüksek ihtimalle bir çerçeve veya panel görünümlü bir grid olarak eklemişsindir.
« Son Düzenleme: 03 Şubat 2009 12:42:37 by KRALMAS »

Çevrimdışı oguzk

  • Delphi 1 Level 1
  • *
  • İleti: 9
  • Rep: +0/-0
Ynt: Local de Normal Serverde Hatalı Görünüyor - Firefox 3 İle
« Yanıtla #4 : 03 Şubat 2009 12:35:14 »
Tamam hocam hallettim sayende çok sağol.