Marktplatz - Eine große Auswahl an neuen und hilfreichen Modulen sowie modernen Templates für die modified eCommerce Shopsoftware
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Installation in subdirectory ( /shop/

    aqarius

    • Neu im Forum
    • Beiträge: 8
    Installation in subdirectory ( /shop/
    am: 21. Januar 2013, 21:00:21
    Nach der Installation (und Änderung in htaccess) erhalte ich folgendes Bild (und bei Anmeldung als Amdin kommt ERROR 404)
    Code: PHP  [Auswählen]
    set = 'false'; break; } else { $old_cPath = explode('_', $this->path[$i]['get']['cPath']); $new_cPath = explode('_', $cPath); for ($j=0, $n2=sizeof($old_cPath); $j<$n2; $j++) { if ($old_cPath[$j] != $new_cPath[$j]) { array_splice($this->path, ($i)); $set = 'true'; break 2; } } } } } else { array_splice($this->path, ($i)); $set = 'true'; break; } } } if ($set == 'true') { $this->path[] = array('page' => basename($PHP_SELF), 'mode' => (($_SERVER['HTTPS'] == 'on') ? 'SSL' : 'NONSSL'), 'get' => $_GET, 'post' => $_POST); } } function remove_current_page() { global $PHP_SELF; $last_entry_position = sizeof($this->path) - 1; if ($this->path[$last_entry_position]['page'] == basename($PHP_SELF)) { unset($this->path[$last_entry_position]); } } function set_snapshot($page = '') { global $PHP_SELF; if (is_array($page)) { $this->snapshot = array('page' => $page['page'], 'mode' => $page['mode'], 'get' => $page['get'], set = 'false'; break; } else { $old_cPath = explode('_', $this->path[$i]['get']['cPath']); $new_cPath = explode('_', $cPath); for ($j=0, $n2=sizeof($old_cPath); $j<$n2; $j++) { if ($old_cPath[$j] != $new_cPath[$j]) { array_splice($this->path, ($i)); $set = 'true'; break 2; } } } } } else { array_splice($this->path, ($i)); $set = 'true'; break; } } } if ($set == 'true') { $this->path[] = array('page' => basename($PHP_SELF), 'mode' => (($_SERVER['HTTPS'] == 'on') ? 'SSL' : 'NONSSL'), 'get' => $_GET, 'post' => $_POST); } } function remove_current_page() { global $PHP_SELF; $last_entry_position = sizeof($this->path) - 1; if ($this->path[$last_entry_position]['page'] == basename($PHP_SELF)) { unset($this->path[$last_entry_position]); } } function set_snapshot($page = '') { global $PHP_SELF; if (is_array($page)) { $this->snapshot = array('page' => $page['page'], 'mode' => $page['mode'], 'get' => $page['get'], 'post' => $page['post']); } else { $this->snapshot = array('page' => basename($PHP_SELF), 'mode' => (($_SERVER['HTTPS'] == 'on') ? 'SSL' : 'NONSSL'), 'get' => $_GET, 'post' => $_POST); } } function clear_snapshot() { $this->snapshot = array(); } function set_path_as_snapshot($history = 0) { $pos = (sizeof($this->path)-1-$history); $this->snapshot = array('page' => $this->path[$pos]['page'], 'mode' => $this->path[$pos]['mode'], 'get' => $this->path[$pos]['get'], 'post' => $this->path[$pos]['post']); } function debug() { for ($i=0, $n=sizeof($this->path); $i<$n; $i++) { echo $this->path[$i]['page'] . '?'; while (list($key, $value) = each($this->path[$i]['get'])) { echo $key . '=' . $value . '&'; } if (sizeof($this->path[$i]['post']) > 0) { echo '
    '
    ; while (list($key, $value) = each($this->path[$i]['post'])) { echo '  ' . $key . '=' . $value . '
    '
    ; } } echo '
    '
    ; } if (sizeof($this->snapshot) > 0) { echo '

    '
    ; echo $this->snapshot['mode'] . ' ' . $this->snapshot['page'] . '?' . xtc_array_to_string($this->snapshot['get'], array(xtc_session_name())) . '
    '
    ; } } function unserialize($broken) { for(reset($broken);$kv=each($broken);) { $key=$kv['key']; if (gettype($this->$key)!="user function") $this->$key=$kv['value']; } } } ?>

    [EDIT jannemann - 21.01.2013: Code richtig formatiert]

    Linkback: https://www.modified-shop.org/forum/index.php?topic=24316.0

    NiteStyle

    • Neu im Forum
    • Beiträge: 29
    Re: Installation in subdirectory ( /shop/
    Antwort #1 am: 22. Januar 2013, 15:36:13
    Was has du denn in der htaccess geändert?
    hats vorher funktioniert?

    aqarius

    • Neu im Forum
    • Beiträge: 8
    Re: Installation in subdirectory ( /shop/
    Antwort #2 am: 22. Januar 2013, 15:52:51
    Ich habe diesen Eintrag geändert:
     ##-- EXAMPLE: If your shop is located at "http://www.yourdomain.com/shop",
      ##-- set the following line like e.g.: RewriteBase /shop/
      RewriteBase /shop/

    In der Main-Domain funktionierts, aber da hab ich noch die 1.05-er Version drauf

    NiteStyle

    • Neu im Forum
    • Beiträge: 29
    Re: Installation in subdirectory ( /shop/
    Antwort #3 am: 22. Januar 2013, 16:22:26
    hast du mal ein Link?

    aqarius

    • Neu im Forum
    • Beiträge: 8
    Re: Installation in subdirectory ( /shop/
    Antwort #4 am: 22. Januar 2013, 16:51:28

    billybob

    • Fördermitglied
    • Beiträge: 563
    Re: Installation in subdirectory ( /shop/
    Antwort #5 am: 22. Januar 2013, 17:41:55
    Hi aqarius,
    das ist code aus der includes/classes/navigation_history.php ab Zeile 42.
    Schau mal nach, ob dies Datei noch der Originaldatei entspricht, oder am Anfang bspw. das <?php fehlt.
    Gruß
    billybob

    Ergänzung:
    Du musst/solltest auch noch die Einträge:

    ##-- Redirect error pages to Sitemap
    ErrorDocument 400 /shop/sitemap.html?error=400
    ErrorDocument 401 /shop/sitemap.html?error=401
    ErrorDocument 402 /shop/sitemap.html?error=402
    ErrorDocument 403 /shop/sitemap.html?error=403
    ErrorDocument 404 /shop/sitemap.html?error=404
    ErrorDocument 500 /shop/sitemap.html?error=500

    ändern, dann erscheint beim Aufruf einer falschen Seite nicht mehr die Meldung
    Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.


    Das hat nichts mit dem eigentlichen Fehler zu tun, ist mir nur beim Aufruf der Seite aufgefallen.

    aqarius

    • Neu im Forum
    • Beiträge: 8
    Re: Installation in subdirectory ( /shop/
    Antwort #6 am: 22. Januar 2013, 18:54:01
    danke, billybob
    Du bist Spitze, die Seite sieht jetzt schon mal gut aus.
    Die error-redirects habe ich auch geändert.
    Trotzdem kann ich mich nicht einloggen und die Pages ab MEIN KONTO
    gehen auch nicht.
    Wo muss ich noch was ändern?

    billybob

    • Fördermitglied
    • Beiträge: 563
    Re: Installation in subdirectory ( /shop/
    Antwort #7 am: 22. Januar 2013, 19:15:34
    Hi aquarius,
    in der configure.php erstmal https ausschalten, denn wenn ich https://bavaria.... eingebe lande ich auf sonstwelchen Seiten, oder die Umleitung in der .htaccess ausschalten. SEHR MERKWÜRDIG!!!
    Jedenfalls landet man nicht auf Deiner Seite.
    Gruß
    billybob

    Das macht keinen Seriösen Eindruck, wenn man plötzlich zu
    Zitat
    "crt.comodoca.com", "w ww.gogvo.com" "ww w.lof-ig.com", "ww w.auxmoney-partnerprogramm.de", "arbeitsgemeinschaft-private-krankenversicherung.org"
    und weitere Seiten weiter und umgeleitet wird.
    Werbung / Banner buchen
    30 Antworten
    6566 Aufrufe
    24. November 2016, 12:45:00 von fishnet
    28 Antworten
    12605 Aufrufe
    30. Oktober 2014, 11:28:06 von Guenter59
    9 Antworten
    2408 Aufrufe
    28. Oktober 2016, 00:59:45 von Repo
               
    anything