articel edit doesnt'work

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
joachim_cms
Posts: 18
Joined: Wed 29. Dec 2004, 17:30
Location: München

articel edit doesnt'work

Post by joachim_cms »

i just started to create articels.
this did work , but now I like to edit the article.
pressing the edit button in the article menue I got follwing error

Code: Select all

Warning: Failed opening '/srv/www/htdocs/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
the file exists with follwing rights :

Code: Select all

rw-rw-rw-    1 hwstat   hwadmin     18535 2004-11-06 10:03 articlecontent.list.tmpl.php
any ideas ???
thanks Joachim
Pappnase

Post by Pappnase »

hello

one qustion was this an new install or an updated version!
and wich client did you use for upload! maybe there happen some time outs so the files are not correctly uploaded.
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Re: articel edit doesnt'work

Post by Karla »

joachim_cms wrote:

Code: Select all

Warning: Failed opening '/srv/www/htdocs/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
any ideas ???
thanks Joachim
Paths or Document_Root not right in "config.inc.php":
/srv/www/htdocs/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php

/srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php
Pappnase

Re: articel edit doesnt'work

Post by Pappnase »

Karla wrote:
joachim_cms wrote:

Code: Select all

Warning: Failed opening '/srv/www/htdocs/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
any ideas ???
thanks Joachim
Paths or Document_Root not right in "config.inc.php":
/srv/www/htdocs/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php

/srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php
hello karla

thanks for the improvement! i was blind as i read the errormessage! ;-)
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

No problem sweetie! You are ~quite~ the busy moderator and some things "hide" within the printed text <({*WINK*})>
joachim_cms
Posts: 18
Joined: Wed 29. Dec 2004, 17:30
Location: München

Post by joachim_cms »

hallo,

there seems a generell bug with paths in my environment .
here are the facts and files :
conf_inc.php

Code: Select all

15 // paths
16 $phpwcms["root"]              = "phpwcms";         //default: ""
17 $phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
18 $phpwcms["file_tmp"]          = "phpwcms_tmp";     //default: "phpwcms_tmp"
19 $phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
20 $phpwcms["dir_thlist"]        = "thumb_list";   //default: "thumb_list"
21 $phpwcms["dir_preview"]       = "thumb_preview";  //default: "thumb_preview"
22 $phpwcms["content_path"]      = "content"; //default: "content"
23 $phpwcms["cimage_path"]       = "images";  //default: "images"
24 $phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"
...
71 //$_SERVER['DOCUMENT_ROOT']     = '/srv/www/htdocs';
72 $_SERVER['DOCUMENT_ROOT']       = '';
73 // $phpwcms["root"]             = "";         //default: ""
74  $phpwcms["root"]               = "";         //default: ""
75
76 ?>
"
using this code login.php is working but 'anmelden' produces folowing error

Code: Select all

The requested URL /phpwcms.php was not found on this serv


using following code in conf_inc.php

Code: Select all

74   $phpwcms["root"]               = "/hwdocs/phpwcms";         //default
produces follwing url

Code: Select all

http://mmvm008.mn-man.biz//hwdocs/phpwcms/phpwcms.php
this works for the welcome page

but "Artikel bearbeiten" produces follwing error

Code: Select all

Artikelzentrale	
Neuer Artikel	

Benutzer Online

webmaster 		
Warning: Failed opening '//hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
something strange happens , what can I do , what are the correct values for the conf_inc.php ???
any help is welcome
Pappnase

Post by Pappnase »

hallo

wenn du in der conf.inc.phpz eilen doppelt definierst kann es nicht gehen!

siehe 16 und 74
joachim_cms
Posts: 18
Joined: Wed 29. Dec 2004, 17:30
Location: München

Post by joachim_cms »

hallo pappnase,

ich habe jetzt Zeile 16 auf

Code: Select all

16 $phpwcms["root"]              = "hwdocs/phpwcms";         //default: ""
die Zeilen 73 und 74 habe ich gelöscht .

der Fehler lautet leider immer noch

Code: Select all

Warning: Failed opening '/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
die Datei ist vorhanden

Code: Select all

hwstat@mmvm008:/srv/www/hwdocs/phpwcms/include/inc_tmpl> 
rw-rw-rw-    1 hwstat   hwadmin     18535 2004-11-06 10:03 articlecontent.list.tmpl.php
so sieht Zeile 223 bei mir aus

Code: Select all

		include_once PHPWCMS_ROOT."/include/inc_tmpl/articlecontent.list.tmpl.php";
soll ich die Zeile 223 mal ändern ???

danke für den Support

Joachim
Pappnase

Post by Pappnase »

hallo joachim

ich weiß nicht was du machst aber wenn der fehler kommt hast du immernoch ein pfadproblem weil zeile 16 falsch!
Warning: Failed opening '/hwdocs/phpwcms/include/inc_tmpl/articlecontent.list.tmpl.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/hwdocs/phpwcms/include/inc_lib/article.editcontent.inc.php on line 223
http://www.phpwcms-docu.de/conf.inc.php_de.phtml wrote:$phpwcms["root"] = ""; Wenn Sie phpWCMS in ein Unterverzeichnis installieren tragen Sie hier den namen des Unterverzeichnises ein
http://www.phpwcms-docu.de/conf.inc.php_de.phtml
joachim_cms
Posts: 18
Joined: Wed 29. Dec 2004, 17:30
Location: München

Post by joachim_cms »

hallo Pappnase,

es ist zum Mäusemelken :-(
ich habe jetzt fast alle Kombinationen versucht.
mal geht das eine nicht ,mal das andere nicht.
Muss man da vielleicht etwas am Apache drehen ????
alias oder so ???

Joachim
Pappnase

Post by Pappnase »

hallo

habe dir gerade mal eine pn geschickt!
joachim_cms
Posts: 18
Joined: Wed 29. Dec 2004, 17:30
Location: München

Lösung gefunden!

Post by joachim_cms »

es liegt definitiv an den Pfad Angaben.
-ich denke man sollte einen eigenen Pfad eintichten-

ich habe folgendes getan : (Linux )

Code: Select all

1.) einen neuen Pfad - Alias in Apache einrichten lassen
  phpwcms
2.) wie beschrieben die Daten in den neuen Pfad kopiert
3.) einige Dateien mit chmod geändert 
4.) seup gestartet - 
     alle notwendigen Felder ergänzt
     - leider sind auf der letzten Seite weiterhin alle Felder rot
5.) die ../include/inc_con/conf.inc.php mit der vom Setup erstellte Datei setup/setup.conf.inc.php überschrieben
6.) die letzte Zeile in der conf.inf.inc.php wird auf 
   
6./ mit http:/mysystem/phpwcms/login.php angemeldet
7 . sieht bisher gut aus 
Dank an alle die mir die notwendigen Anregungen gegeben haben, vor allem an Pappnase
Post Reply