Page 1 of 1
articel edit doesnt'work
Posted: Thu 30. Dec 2004, 16:06
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
Posted: Thu 30. Dec 2004, 16:18
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.
Re: articel edit doesnt'work
Posted: Thu 30. Dec 2004, 17:27
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
Re: articel edit doesnt'work
Posted: Thu 30. Dec 2004, 17:40
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!

Posted: Thu 30. Dec 2004, 19:12
by Karla
No problem sweetie! You are ~quite~ the busy moderator and some things "hide" within the printed text <({*WINK*})>
Posted: Mon 3. Jan 2005, 12:56
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
Posted: Mon 3. Jan 2005, 14:25
by Pappnase
hallo
wenn du in der conf.inc.phpz eilen doppelt definierst kann es nicht gehen!
siehe 16 und 74
Posted: Mon 3. Jan 2005, 15:33
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
Posted: Mon 3. Jan 2005, 15:37
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
Posted: Mon 3. Jan 2005, 15:58
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
Posted: Mon 3. Jan 2005, 16:31
by Pappnase
hallo
habe dir gerade mal eine pn geschickt!
Lösung gefunden!
Posted: Tue 4. Jan 2005, 09:04
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