Error bei Artíkelerstellung

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Volk
Posts: 15
Joined: Sun 20. Feb 2005, 19:08

Error bei Artíkelerstellung

Post by Volk »

Nachdem ich auf einem Windows XP-System keine Artikel erstellen konnte, habe ich auf einem anderen Rechner mit einem anderen Betriebssystem (Windows 98 SE) PHPWCMS installiert.

Installation verlief ohne Probleme, aber auch hier gibt es Probleme mit der Artikelerstellung.

Bei Artikel Basisinformation bearbeiten erhalte ich im Bereich Schlagtext folgende Fehlermeldung:

Warning: main(include/inc_lib/wysiwyg.editor.inc.php): failed to open stream: No such file or directory in e:\programme\apache group\apache\htdocs\phpWCMS\include\inc_tmpl\article.editsummary.tmpl.php on line 186

Warning: main(): Failed opening 'include/inc_lib/wysiwyg.editor.inc.php' for inclusion (include_path='e:\php4\includes') in e:\programme\apache group\apache\htdocs\phpWCMS\include\inc_tmpl\article.editsummary.tmpl.php on line 186

Wenn ich diese Warnmeldung ignoriere und über den Butto Hinzufügen klicke, um einen neuen Inhaltsabschnitt hinzuzufügen, kommt die folgende Fehlermeldung:

Warning: main(include/inc_tmpl/content/cnt0.inc.php): failed to open stream: No such file or directory in e:\programme\apache group\apache\htdocs\phpWCMS\include\inc_tmpl\articlecontent.edit.tmpl.php on line 189

Warning: main(): Failed opening 'include/inc_tmpl/content/cnt0.inc.php' for inclusion (include_path='e:\php4\includes') in e:\programme\apache group\apache\htdocs\phpWCMS\include\inc_tmpl\articlecontent.edit.tmpl.php on line 189

Ich kann mit diesen Fehlermeldungen leider nichts anfangen. Wo liegt das Problem und wie kann es behoben werden?

Gruß
Volk :( :(
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

check your Pathes in conf.inc.php

Code: Select all

// site values
$phpwcms["site"]              = "http://www.myweb.xx/";
$phpwcms["admin_email"]       = "info@simondigital.de";

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "";
the best way for a working System - make a Virtual Server on your Machine so that your conf looks like this Example.

it is alway a Problem on Windows with the Pathes like in your Error's
Warning: main(include/inc_lib/wysiwyg.editor.inc.php): failed to open stream: No such file or directory in e:\programme\apache group\apache\htdocs\phpWCMS\include\inc_tmpl\article.editsummary.tmpl.php on line 186
look at all the mixed Slashes and Backslashes :wink: :cry:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Volk
Posts: 15
Joined: Sun 20. Feb 2005, 19:08

Post by Volk »

Hi Pico,

thanks for your quick reply.
check your Pathes in conf.inc.php
I'm running PHPWCMS local on Win 98 SE with Apache and I have checked the conf.inc.php. But I cannot find any mistake:
<?php

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

// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "webmaster@testsystem.de";

// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpWCMS"; //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"] = 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
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 1; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 0; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //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"] = 0; //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"] = 14400; //default cache timeout setting in seconds - 0 = caching Off

// 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'] = 'info@testsystem.de'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'phpwcms webmaster'; // 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'] = 'e:/programme/apache group/apache/htdocs';


?>
Any other suggestions?

Volk
kiwix
Posts: 65
Joined: Fri 25. Feb 2005, 09:40

Post by kiwix »

I found the following in your conf:

Code: Select all

$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "phpWCMS"; //default: ""
on my machine (WinXP, Apache2) I've to change it to:

Code: Select all

$phpwcms["DOC_ROOT"]          = 'C:/Inetpub/wwwroot/wcms/';
$phpwcms["root"]         		= "";         //default: "" 
to work in the right way.

C:/Inetpub/wwwroot/ is the document root of apache and phpwcms is installed in the subdirectory /wcms/.

Cheers
KiWiX
Post Reply