4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: TCA on June 27, 2002, 09:47:25 PM

Title: Verzeichnis Prob.
Post by: TCA on June 27, 2002, 09:47:25 PM
Wie bereits erwähnt, hab ichs noch nicht ganz drauf, aber werde mich bemühen! *VERSPRECH*

Also habe meine WYSWIG Seiten im Verzeichnis: /home/html/index.php

möchte nun dort:  /home/php/bilder/index.php   "includen", sollte also mal das Verzeichnis wechseln.

DIE FRAGE: Kann ich das pauschal irgendwo einstellen, oder wie hätte das nun auszusehen? Probier schon zwei Stündchen rum, aber bekomme das irgendwie nicht so hin  :cry:

Dieser Include ist irgendwie nur die halbe Miete:

<?php
chdir("../");                    //raus aus "html"
chdir("php/bilder");         //rein nach "php/bilder"
include("index.php");      // UND DER REST FEHLT - ABER WARUM???
?>




Danke!
Gruss TCA
Title: Verzeichnis Prob.
Post by: Jan on June 27, 2002, 11:44:08 PM
Warum machst Du nicht einfach:

include("/home/php/bilder/index.php ");

Gruß Jan
Title: Verzeichnis Prob.
Post by: TCA on June 28, 2002, 12:55:40 PM
Danke Jan, aber leider funzt das auch nicht...:


Warning: Unable to access ./global.php in /home/php/bilder/index.php on line 30

Warning: Failed opening './global.php' for inclusion (include_path='.:/usr/lib/php') in /home/php/bilder/index.php on line 30

Warning: Unable to access .//includes/sessions.php in /home/php/bilder/index.php on line 31

Fatal error: Failed opening required './/includes/sessions.php' (include_path='.:/usr/lib/php') in /home/php/bilder/index.php on line 31


Noch eine Idee?

DANKE!
Gruss
Carsten (TCA)
Title: Verzeichnis Prob.
Post by: Jan on June 28, 2002, 01:05:54 PM
Nur mal zum Verständnis: Du willst aber nicht die ganze Galerie in eine andere Seite includen, oder? Das geht nämlich nicht ;)

Gruß Jan
Title: Verzeichnis Prob.
Post by: TCA on June 28, 2002, 01:13:00 PM
doch das hatte ich vor - betonung liegt dann wohl auf hatte...

Ich hätte gemeint, dass das gehen sollte..., kann aber alternativ auch die betroffene Seite in das Frame laden...

Schade -  Danke für den wertvollen Hinweis! - Hätte mich sicher noch ein paar Stündchen gekostet... :lol:

Gruss Carsten