Seite 1 von 1

ein bekanntes <base ... problem

Verfasst: Di 21. Feb 2006, 22:23
von renasco
Moinsen,

ich hab ein neues problem das wurde auch hier im forum schon besprochen, aber das komische ist das bei mir nur die css datei nicht richtig an gezeigt wird. alles andere läuft wie geschmiert. woran kann das liegen ich hab einen code von i-fekt eingefügt:

Code: Alles auswählen

  	if($edit!=""){ 
		if ($is_XHTML == true) { 
		   $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'" />'; 
		} else { 
		   $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'">'; 
		} 
 	} 
aber das funktionert immer noch nicht. er formatiert das nur nicht richtig. hier ist ein beispeil wie ich das mit dem css mache.

Code: Alles auswählen

<font class="uberschrift1">
vor paar tagen lief alles wie geschmiert doch jetzt seit dem ich contenido neu installiert habe ent steht dieses fehler.

ich bitte um hilfe

Verfasst: Di 21. Feb 2006, 23:17
von rezeptionist
Ok ich traue mich zu fragen : Ist den dein base href richtig im Quelltext aus dem Browser ?? hast du deine css Datei auch richtig eingebunden ??

Und ich hoffe das du deinen Fonttag auch schließt </font>

Verfasst: Mi 22. Feb 2006, 10:34
von renasco
Ich hab in mein quellcode reingeschaut da steht base im frontend überhaupt nicht drin aber im backend und das quellocde ist schon richtig weil ich hab den quellcode in frontpage rein kopiert da zeigt er alles ohne fehler genu wie ich das haben will. Aber im frontend obwohl base nicht drin ist zeigt er das nicht richtig an.

Verfasst: Mi 22. Feb 2006, 12:12
von rezeptionist
renasco hat geschrieben:Ich hab in mein quellcode reingeschaut da steht base im frontend überhaupt nicht drin aber im backend und das quellocde ist schon richtig weil ich hab den quellcode in frontpage rein kopiert da zeigt er alles ohne fehler genu wie ich das haben will. Aber im frontend obwohl base nicht drin ist zeigt er das nicht richtig an.
Ich wusste es hätte ich bloß nicht gefragt. Ich verstehe nur Bahnhof !!!

renasco hat geschrieben: und das quellocde ist schon richtig weil ich hab den quellcode in frontpage rein kopiert
Genau bei dem Programm würde ich das bezweifeln !
renasco hat geschrieben:Aber im frontend obwohl base nicht drin ist zeigt er das nicht richtig an.
Ich werde Irre !

So jetzt nochmal, was steht in deinem Quelltext in den ersten 15 Zeilen, ich meine jetzt genau den Quelltext aus deinem Browser.

Im IE : Seite normal aufrufen > Ansicht > Quelltext
Im FF : Seite normal aufrufen > Ansicht > Seitenquelltext anzeigen

Verfasst: Mi 22. Feb 2006, 14:39
von i-fekt
Poste mal den Link.

Verfasst: Mi 22. Feb 2006, 17:16
von renasco
Erst mal hier ist das Quellcode

Code: Alles auswählen

<html>

<head>

<link rel="stylesheet" type="text/css" href="css/erebi.css">
<meta name="generator" content="CMS Contenido 4.6.4">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body bgcolor="#C6D1DB">

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="782">
    <tr>
      <td width="100%">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="782">
        <tr>
          <td width="6" background="upload/index/index/content/bg-links-schatten.jpg">
          </td>
          <td width="770" bgcolor="#FFFFFF">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
            <tr>
              <td width="100%">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                <tr>
                  <td width="148">
                  <img border="0" src="upload/index/index/content/logo.jpg" width="148" height="107"></td>
                  <td width="473">
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                    <tr>
                      <td width="100%" style="height: 23" bgcolor="#528AAC">
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" style="height: 60; border-right:1px solid #ffffff; border-left:1px solid #ffffff; border-top:1px solid #ffffff; border-bottom:1px solid #ffffff;">
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" style="height: 24" bgcolor="#3E5F73">
                      </td>
                    </tr>
                  </table>
                  </td>
                  <td width="149">
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                    <tr>
                      <td width="100%">
                      <img border="0" src="upload/index/index/content/button/kurdi.jpg" width="63" height="34"><img border="0" src="upload/index/index/content/button/deutsch.jpg" width="39" height="34"><img border="0" src="upload/index/index/content/button/arabi.jpg" width="47" height="34"></td>
                    </tr>
                    <tr>
                      <td width="100%">
                      <img border="0" src="upload/index/index/content/top-rechts.jpg" width="149" height="73"></td>
                    </tr>
                  </table>
                  </td>
                </tr>
              </table>
              <p>
              <img border="0" src="upload/index/index/content/blank.jpg" width="3" height="3"></p>
              <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                <tr>
                  <td width="100%" bgcolor="#3E5F73" align="center" class="navi" dir="ltr">
                  | </td>
                </tr>
              </table>
              </td>
            </tr>
            <tr>
              <td width="100%">
              <img border="0" src="upload/index/index/content/blank.jpg" width="3" height="3"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                <tr>
                  <td width="100%">
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                    <tr>
                      <td width="612" background="upload/index/index/content/button/arabi2.jpg">
                      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber28" height="46">
                        <tr>
                          <td width="100%" background="upload/index/index/erebi/top2.jpg">
                          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber29">
                            <tr>
                              <td width="100%" style="height: 13"></td>
                            </tr>
                            <tr>
                              <td width="100%" style="height: 22">
                              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber30" height="22">
                                <tr>
                                  <td width="99%" dir="rtl"></td>
                                  <td width="1%"></td>
                                </tr>
                              </table>
                              </td>
                            </tr>
                            <tr>
                              <td width="100%" style="height: 11"></td>
                            </tr>
                          </table>
                          </td>
                        </tr>
                      </table>
                      </td>
                      <td width="3"></td>
                      <td width="154" bgcolor="#CBD3DC" dir="rtl">
                      <!-- Generated by Contenido 4.6.4-->
<font style="font-size: 8pt; font-weight: 700">Suche </font>
<form method="post" action="front_content.php?idcat=" style="padding:0;margin:0;" name="formsearch" id="formsearch">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="10px"></td>
      <td align="center">
      <input type="text" name="searchterm" id="searchterm" class="input" value size="17" /></td>
      <td align="center">
      <a style="color: #9d9ea2;" href="javascript:document.forms['formsearch'].submit();">
      <img border="0" src="images/search.gif" width="25" height="23">
      </a></td>
    </tr>
  </table>
</form></td>
                    </tr>
                  </table>
                  <p>
                  <img border="0" src="upload/index/index/content/blank.jpg" width="3" height="3"></p>
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                    <tr>
                      <td width="155" bgcolor="#D8DEE4" dir="rtl">
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br></td>
                      <td width="3"></td>
                      <td width="455" dir="rtl" align="right" bgcolor="#F0F2F4" dir="rtl">
                      <p><font class="uberschrift1">dgflksgنkِgنa&nbsp;</font></p><p><font class="uberschrift2">dfasdfsdfsfd&nbsp;</font></p><br><p><font class="vorspann">asdfsdfadsfsdf&nbsp;</font></p><p><font class="autor">adfasdfasdfasdf&nbsp;</font></p><p><font class="datum">adsfdsfasdfasdfsdfsdf&nbsp;&nbsp;&nbsp;</font></p><br> <p><font class="inhalt"><div align="justify">&nbsp;dsfadsfasdfasdfasdfasdfdsfdsfdsfdasfasfasdsaf</div></font></p><br>_________________________<p><font class="fussnote">adsfdsfasdfadsfadsf&nbsp;</font></p><br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      </td>
                      <td width="3"></td>
                      <td width="154" bgcolor="#D8DEE4" dir="rtl">
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br>
                      <img border="0" src="upload/index/index/content/blank.gif" width="10" height="10"><br>
                      <br></td>
                    </tr>
                  </table>
                  </td>
                </tr>
              </table>
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber16">
                <tr>
                  <td width="3"></td>
                </tr>
              </table>
              <p>
              <img border="0" src="upload/index/index/content/blank.jpg" width="3" height="3"></p>
              </td>
            </tr>
            <tr>
              <td width="100%" bgcolor="#3E5F73">
              <table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                <tr>
                  <td width="100%" align="center" bgcolor="#AAB8C5">
                  <font style="font-size: 8pt">
                  </td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          </td>
          <td width="6" background="upload/index/index/content/bg-rechts-schatten.jpg">
          </td>
        </tr>
      </table>
      </td>
    </tr>
    <tr>
      <td width="100%">
      <img border="0" src="upload/index/index/content/bg-unten-schatten.jpg" width="782" height="5"></td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>
Da sind keine probleme, weil ich den selben code der von contenido generiert wurde kopiert, und in Microsoft FronPage eingefügt habe alles ganz normal gesehen hab die css Datei ist auch die selbe 100% sicher:
Hier so sieht das im Microsoft FrontPage aus:
Bild

So sieht das unter "cms/front_content.php" aus:
Bild

So sieht das ohne css aus:
Bild

obwohl es das selbe code ist

Verfasst: Do 23. Feb 2006, 13:40
von renasco
sorry das ich wieder nach frage aber ich brauch hilfe den ich hab dieses problem schon seit drei tagen

Verfasst: Do 23. Feb 2006, 14:09
von peanut
kann es sein das der Pfad zur .CSS nicht stimmt bzw. die gar nicht mehr so heisst wie vor dem update ?

format.css
meinedatei.css
irgendwasanderes.css

schau das auf dem server die datei richtig liegt und die richtigen rechte hat

Verfasst: Do 23. Feb 2006, 14:16
von Maribeauli
renasco,

du machst nicht das was dir geraten wurde.
rezeptionist sagte:
So jetzt nochmal, was steht in deinem Quelltext in den ersten 15 Zeilen, ich meine jetzt genau den Quelltext aus deinem Browser.

Im IE : Seite normal aufrufen > Ansicht > Quelltext
Im FF : Seite normal aufrufen > Ansicht > Seitenquelltext anzeigen
Was in Frontpage, im Front End angezeigt wird in uninteressant.
Poste den Quelltext wie er im Browser angezeigt wird.

Verfasst: Do 23. Feb 2006, 16:31
von renasco
renasco,

du machst nicht das was dir geraten wurde.

Zitat:
rezeptionist sagte:
So jetzt nochmal, was steht in deinem Quelltext in den ersten 15 Zeilen, ich meine jetzt genau den Quelltext aus deinem Browser.

Im IE : Seite normal aufrufen > Ansicht > Quelltext
Im FF : Seite normal aufrufen > Ansicht > Seitenquelltext anzeigen


Was in Frontpage, im Front End angezeigt wird in uninteressant.
Poste den Quelltext wie er im Browser angezeigt wird.
Maribeauli was meinst du, was ich gemacht hab ich hab den ganzen Quelltext eingefügt schau dir mal die posts gut an. Da sind sogar bilder dabei.
aber ich hab das problem gelöst. mir ist ein dummer fehler untergangen ich hab immer die falsche css-datei bearbeitet. tut mir leid, dass ich euch wegen so ein fehler schwierigkeiten gemacht hab.

Verfasst: Do 23. Feb 2006, 16:43
von rezeptionist
i-fekt hat geschrieben:Poste mal den Link.
wäre sehr gut.

Und du schreibst in deinem ersten Post du hast die Änderungen gemacht. Hast du Sie wie in dem Thread (keine Ahnung wo der ist habe ihn zwar schon gelesen.) beschrieben gemacht ??? Desweiteren muss ich sagen ein HTML Dokument sollte ansatzweisse schon so aussehen wei ein HTML Dokument, den bei deinem fehlt ja so ziemlich alles was fehlen kann :wink:.

Ansonsten mal deine Änderungen rückgängig machen und mal "normal" laufen lassen.

Verfasst: Do 23. Feb 2006, 18:02
von renasco
Das Problem hat sich schon geklärt rezeptionist aber trotz dem vielen dank. Ich hab nur einen dummen fehler gemacht das ich leider wie blind übersehen hab. SORRY

Verfasst: Do 23. Feb 2006, 18:03
von rezeptionist
Und welchen ???

Verfasst: Do 23. Feb 2006, 18:58
von Dodger77
rezeptionist hat geschrieben:Und welchen ???
Einfach mal ein paar Post drüber nachlesen:

http://www.contenido.org/forum/viewtopi ... 2680#72680

:wink:

Verfasst: Do 23. Feb 2006, 19:07
von rezeptionist
ok ok jetzt hatte ich es gelesen bzw versucht :wink: