Brauche Hilfe bei: $phpwcms["DOC_ROOT"]

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Tolkien
Posts: 8
Joined: Sun 3. Jul 2005, 12:48
Location: Frankfurt
Contact:

Brauche Hilfe bei: $phpwcms["DOC_ROOT"]

Post by Tolkien »

Habe bei einen Provider mehrere Domainadressen und der Provider bietet eine Domainweiterleitung auf einen Unterordner an.
Gebe ich folgendes an läuft die Adminumgebung.

Code: Select all

// site values
$phpwcms["site"]              = "http://www.pimp-your-life.com/";
$phpwcms["admin_email"]       = "admin@pimp-your-life.com";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]         	  = "pimpyourlife";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"
bekomme aber einen Fehler wenn ich zum Beispiel einen Artikel einstelle und absende: The requested URL /pimpyourlife/phpwcms.php was not found on this server. Ist mir auch klar das dort /pimpyourlife/ nicht auftauchen darf!

Lasse ich $phpwcms["root"] im default-Wert:

Code: Select all

// site values
$phpwcms["site"]              = "http://www.pimp-your-life.com/";
$phpwcms["admin_email"]       = "admin@pimp-your-life.com";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]         	  = "";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"
Bekomme ich folgendes auf der Seite:
document_root sieht so aus: Habe das Forum schon durchforstet aber nichts passendes gefunden! Hoffe man kann mir weiterhelfen! Danke!
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

if you have installed phpWCMS in the root of your Webspace then this is the right conf or if you have redirected a URL to a sub-Folder - means that you reach phpWCMS with http://www.pimp-your-life.com without any folder like http://www.pimp-your-life.com/myphpwcms

Code: Select all

// site values
$phpwcms["site"]              = "http://www.pimp-your-life.com/";
$phpwcms["admin_email"]       = "admin@pimp-your-life.com";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"
check your Permissions for all Folders and Files like described in the Docu.
http://www.phpwcms-docu.de/index.php?dev_1_x_de
Turn off the use of Imagick

Code: Select all

$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
check that this Line is Commented out in your conf.inc.php

Code: Select all

//$_SERVER['DOCUMENT_ROOT']     = 'C:/apache/xampp/htdocs';
check that all Folders are created right - also the emty Folders !!!
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply