Page 1 of 1

Pfad-Stress bei der Installation

Posted: Thu 22. Jan 2004, 13:45
by eflexer
Hallo zusammen,

sicher eine echte newbiefrage, aber ich ärgere mich schon einige Zeit
mit der Setup-Routine rum.

Das Ergebnis von Step 5 ist immer:
phpwcms_filestorage FALSE (not existing)
phpwcms_tmp FALSE (not existing)
phpwcms_template FALSE (not existing)
thumb_list FALSE (not existing)
thumb_preview FALSE (not existing)
content FALSE (not existing)
images FALSE (not existing)
phpwcms_ftp FALSE (not existing)

Die Verzeichnisse wurden aber alle von mir im Root-Verzeichnis angelegt.

Der Inhalt meiner config:

---- snip ----
// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "";
// paths
$phpwcms["root"] = "phpwcms";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["file_tmp"] = "phpwcms_tmp";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["dir_thlist"] = "thumb_list";
$phpwcms["dir_preview"] = "thumb_preview";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
--- snap ---

Der URL zu meiner Installation ist also
http://localhost/phpwcms

Darunter liegen die o.g. Verzeichnisse, deshalb verstehe ich jetzt gar nichts mehr :roll:

Schöne Grüße, Tom

Posted: Thu 22. Jan 2004, 14:22
by pSouper
würden Sie Ihr gegründetes System (OS IIS/Apache usw.) und Ihren körperlichen dirveweg von Antriebsbuchstaben zu phpwcmsverzeichnis bitte bekanntgeben

so lang, wie Sie wissen, daß alle Verzeichnisse dann bestehen, ist es eine Wegausgabe, die behoben wird, indem man justiert...

Code: Select all

$$phpwcms["site "] =" http://localhost/"
$$phpwcms["root "] =" phpwcms "
innerhalb inc.conf.php es kann eine Linie in default.inc.php geändert werden auch müssen...

Code: Select all

define ("PHPWCMS_ROOT", "physical path".(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );   // DOCUMENT_ROOT + phpwcms directory
would you post your system setup (OS IIS/Apache etc)
and your physical dirve path
from drive letter to phpwcms directory please

as long as you know all the directories exist then it is a path issue that will be resolved by adjusting...

Code: Select all

$phpwcms["site"] = "http://localhost/";
$phpwcms["root"] = "phpwcms";
within inc.conf.php. it may also need a line in default.inc.php to be changed...

Code: Select all

define ("PHPWCMS_ROOT", "physical path".(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );   // DOCUMENT_ROOT + phpwcms directory

Posted: Thu 22. Jan 2004, 17:35
by adriano
Vielleicht klappt nur der localhost nicht. Kann ein Betriebssystemfehler sein. Versuch doch mal stattdessen die lokale IP 127.0.0.1!

Posted: Thu 22. Jan 2004, 21:39
by Oliver Georgi
das ist egal - ob nun localhost oder nicht. Möglicherweise auch ein DOCUMENT_ROOT Problem.

Welche Plattform? Welche PHP version? usw.

UPDATE: gerade auf Windows XP mit Apache getestet - kein problem.

Oliver

Plattform

Posted: Sat 24. Jan 2004, 12:56
by eflexer
Hallo,

meine Entwicklungsumgebung:

Win2000
PHP Version 4.3.3
IIS 5.0

Soll aber in Produktion dann auf einem LAMP-System laufen.

Gruß

Tom

Posted: Sat 24. Jan 2004, 16:27
by pSouper
Sometimes there seems to be a problem with $_SERVER['DOCUMENT_ROOT'])
this is used includes/inc_lib/in inc.default.php to define the 'DOCUMENT_ROOT'

you could try and replace the $_SERVER['DOCUMENT_ROOT'])
with a hard coded version as follows....

Code: Select all

define ("PHPWCMS_ROOT", "d:\DIR\SUB_DIR\WWWROOT_DIR".(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") );   // DOCUMENT_ROOT + phpwcms directory
please note as IIS lets you set your own directory to use as the root you should use the physical path to YOUR IIS root directory.
Manchmal es scheint, ein Problem mit $_server['document_root ' ]), das dieses verwendetes includes/inc_lib/in inc.default.php zum Definieren des ' DOCUMENT_ROOT ist, ' Sie das $_server['document_root ']) durch eine harte kodierte Version versuchen und ersetzen konnten, wie folgt....,

Code: Select all

define ("PHPWCMS_ROOT ", "D:\DIR\SUB_DIR\WWWROOT_DIR".(($phpwcms["root" ])?  "/"$phpwcms["root"]));
bitte läßt Anmerkung als IIS Sie Ihr eigenes Verzeichnis auf Gebrauch einstellen, während die Wurzel Sie den körperlichen Weg zu IHREM IIS-Wurzelverzeichnis benutzen sollte

Posted: Sat 24. Jan 2004, 20:50
by Pappnase
he psouper!

great translation!*lol*

Pappnase