[RESOLVED] installationsprobleme (include paths)

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
burna
Posts: 13
Joined: Tue 3. Jan 2006, 18:26
Location: NÖ/Austria

[RESOLVED] installationsprobleme (include paths)

Post by burna »

hy!

ich habe bei der installation auf einem apache webserver folgendes problem. nach beendigung der setup-routine erscheinen alle files als rot.

hab schon danach im forum gesucht, aber nichts gefunden.
untenstehend meine conf.inc.php.

php_info: http://www.compufit.at/~bstranz/info.php
kann das sein dass das ganze mit dem "~" zusammenhängt? ich hab das ganze schon mal auf nem anderen rechner lokal getestet, hat einwandfrei funktioniert....

ziemlich irritierend ist für mich auch die zeile in schritt 5:
path: /home/bstranz/public_html/setup/~bstranz

irgendwie nicht ganz korrekt?!

fehlermeldung (eine von vielen) der index.php:

Code: Select all

Warning: main(/home/compufit/public_html/~bstranz/config/phpwcms/conf.pagelayout.inc.php): failed to open stream: No such file or directory in /home/bstranz/public_html/include/inc_front/content.func.inc.php on line 172

Warning: main(): Failed opening '/home/compufit/public_html/~bstranz/config/phpwcms/conf.pagelayout.inc.php' for inclusion (include_path='.:') in /home/bstranz/public_html/include/inc_front/content.func.inc.php on line 172

Warning: main(/home/compufit/public_html/~bstranz/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /home/bstranz/public_html/include/inc_front/content.func.inc.php on line 266

Warning: main(): Failed opening '/home/compufit/public_html/~bstranz/include/inc_front/content.article.inc.php' for inclusion (include_path='.:') in /home/bstranz/public_html/include/inc_front/content.func.inc.php on line 266
   

kann mir jemand helfen?

lg, bernhard



Code: Select all

<?php

// database values
$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "***";
$phpwcms["db_pass"]           = "***";
$phpwcms["db_table"]          = "***";
$phpwcms["db_prepend"]     = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://www.compufit.at/~bstranz/";
$phpwcms["admin_email"]       = "blabla@blabla.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"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 2; //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
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 2;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "de";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 1;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"]       = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"]     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"]     = 0;  //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"]   = '';  //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"]    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'blabla@blabla.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'admin'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
$_SERVER['DOCUMENT_ROOT'] = '/home/bstranz/public_html';


?>
Last edited by burna on Tue 3. Jan 2006, 19:57, edited 1 time in total.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hallo !

das ist ein Problem mit der document root.

Wenn du kein weiteres Unteverzeichnis hast, wovon ich ausgehe, wäre mein Vorschlag :

Code: Select all

$phpwcms["DOC_ROOT"]          ="/home/compufit/public_html/~bstranz" ;

Sollte funktionieren ...

Testhalber:

Code: Select all

<? echo $_SERVER['DOCUMENT_ROOT']; ?>
nenne das riesenprogramm doc.php und lass es im root mal laufen.

Vermute er hat diesen "~" Schnörkel dann unterschlagen.

Dann mußt du die CHMODS (kann vermutlich dein FTP wenn du die rechte Maustatste drückst) so setzen wie in der docu angegeben ...

Eins von beiden wird es sein :-)
Jürgen



[/code]
burna
Posts: 13
Joined: Tue 3. Jan 2006, 18:26
Location: NÖ/Austria

Post by burna »

hy jürgen.
danke für deine antwort.

leider, kein erfolg.
zur info: hab das natürlich mit dem folgenden file vorher getestet:
http://www.compufit.at/~bstranz/setup/document_root.php

er kann im frontend und im phpwcms die abhängigen dateien nicht finden anscheinend.... das betrifft die angesprochenen include dateien...

noch ein anderer vorschlag?

lg, bernhard
burna
Posts: 13
Joined: Tue 3. Jan 2006, 18:26
Location: NÖ/Austria

Post by burna »

hy nochmals.

hat mit folgenden auf einmal funktioniert:

Code: Select all

$phpwcms["DOC_ROOT"]          = "/home/bstranz/public_html"; //$_SERVER['DOCUMENT_ROOT']
jedoch im phpwcms bei änderung eines artikels kommt folgende fehlermeldung:

Code: Select all

Warning: main(include/inc_tmpl/article.editcontent.inc.php): failed to open stream: No such file or directory in /home/bstranz/public_html/phpwcms.php on line 421

Warning: main(): Failed opening 'include/inc_tmpl/article.editcontent.inc.php' for inclusion (include_path='.:') in /home/bstranz/public_html/phpwcms.php on line 421
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Schlag mich jemand,

aber wenn ich jetzt nicht total bescheuert bin, sollte (immer vorausgesetzt die chmods stimmen !) dann solltest du dieses ~bstranz als Unterverzeichnis eingeben. Da hat dir jemand ein Unterverzeichnis im web0 geschalten, oder so etwas...

Wenn man die Hauptdomain aufruft sieht das auch hoch merkwürdig aus..

Also die doc root stimmt lt phpinfo, bleibt dir nur den ~bstranz als Unterverzeichnis einzugeben..

Jürgen
Post Reply