Fatal error: main(): Failed opening required 'include/inc_fr

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
Chilly_Bang
Posts: 61
Joined: Mon 18. Apr 2005, 14:05
Location: Berlin
Contact:

Fatal error: main(): Failed opening required 'include/inc_fr

Post by Chilly_Bang »

Hallo an alle!
das passiert beim Versuch phpwcms_1.2.3-DEV/index.php, also die Startseite aufzurufen:

Warning: main(include/inc_front/front.func.inc.php): failed to open stream: No such file or directory in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/index.php on line 136

Fatal error: main(): Failed opening required 'include/inc_front/front.func.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/index.php on line 136

line 136 im phpwcms_1.2.3-DEV/index.phpsieht so aus:

136 require_once ("include/inc_front/front.func.inc.php");

chmod für diese datei - rwx rx rx...hab versucht auf 777 zu schalten - ohne Erfolg. php-version:PHP/4.3.11
backend läuft einwandfrei. domain wird ganz ordentlich gepingt. (ich hab eine Weile gedacht - Server könnte verrückt spielen, passiert manchmal)...

das ganze ist passiert, nachdem ich versucht habe, in der rechten Spalte per wysiwyg_html ein Bild mit einer Unterschrift hinzuzufügen...
was ist da zu machen, PPL?
wißt Ihr Bescheid?
Last edited by Chilly_Bang on Fri 3. Jun 2005, 04:05, edited 3 times in total.
Pappnase

Post by Pappnase »

hallo

ich glauben icht das es ein bug ist! sondern eher ein pfadproblem!
Chilly_Bang
Posts: 61
Joined: Mon 18. Apr 2005, 14:05
Location: Berlin
Contact:

Post by Chilly_Bang »

was hab ich falsch gemacht? auf einmal geht alles nicht mehr:( kann man das aus der Fehlermeldung entziffern? ich habe ja nur über backend eingegriffen, index.php und front.func.inc.php gar nicht angetastet...:(
Pappnase

Post by Pappnase »

hallo

hmm keine eingriffe ausser das du content erstellt hast!?

schalte mal einfach die cache funktion aus und schaue mal ob dann der fehler noch kommt!
Chilly_Bang
Posts: 61
Joined: Mon 18. Apr 2005, 14:05
Location: Berlin
Contact:

Post by Chilly_Bang »

hähä, genau...aber content zu erstellen gehört ja ein bißchen dazu, oder? cache ist überall abgeschaltet, dazu noch einige 100 Mal zurückgesetzt und gelöscht...Fehler ist immer noch da...heul

mein conf.inc.php:

Code: Select all

 <?php

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]         		= "phpwcms_1.2.3-DEV";         //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"]      = "de";  //default language
$phpwcms["charset"]           = "utf-8";  //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']   = 'bezpardon@gmail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'bezpardon'; // 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']     = '/var/www/html/home1246/html/a';


?>
Pappnase

Post by Pappnase »

hallo

isnur ein experiment! ;-)
aber probiere es mal in dem du das hier veränderst

Code: Select all

$phpwcms["root"]               = "phpwcms_1.2.3-DEV";         //default: ""
nach

Code: Select all

$phpwcms["root"]               = "";         //default: ""
und

Code: Select all

$phpwcms["cache_timeout"]     = 14400;  //default cache timeout setting in seconds - 0 = caching Off 
nach

Code: Select all

$phpwcms["cache_timeout"]     = 0;  //default cache timeout setting in seconds - 0 = caching Off 
Chilly_Bang
Posts: 61
Joined: Mon 18. Apr 2005, 14:05
Location: Berlin
Contact:

Post by Chilly_Bang »

Noch mehr Fehler:

auf index.php:

Warning: main(/var/www/html/home1246/html/a/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/var/www/html/home1246/html/a/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(include/inc_front/front.func.inc.php): failed to open stream: No such file or directory in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/index.php on line 136

Fatal error: main(): Failed opening required 'include/inc_front/front.func.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/index.php on line 136

und im backend:

Warning: main(/var/www/html/home1246/html/a/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/var/www/html/home1246/html/a/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/home1246/html/a/phpwcms_1.2.3-DEV/include/inc_lib/imagick.convert.inc.php on line 34

und übrigens: bei mir liegt folder "inc_front" nicht in, sondern neben "include"...und zwar direkt im "phpwcms_1.2.3-DEV"...vielleicht liegt darin das Problem? im Fehler steht ja, dass der Pfad so heisst:'include/inc_front/front.func.inc.php' ...???
Pappnase

Post by Pappnase »

Chilly_Bang wrote:Noch mehr Fehler:

und übrigens: bei mir liegt folder "inc_front" nicht in, sondern neben "include"...und zwar direkt im "phpwcms_1.2.3-DEV"...vielleicht liegt darin das Problem? im Fehler steht ja, dass der Pfad so heisst:'include/inc_front/front.func.inc.php' ...???
hallo

das ist der fehler würde ich mal sagen! :-)

verschiebe das mal in den include folder!
Chilly_Bang
Posts: 61
Joined: Mon 18. Apr 2005, 14:05
Location: Berlin
Contact:

Post by Chilly_Bang »

hm, ja jetzt geht es wie es sein soll.:) um himmels willen - warum hat es auf ein Mal aufgehört zu funktionieren? habe ich etwas angestellt, dass Folder anders platziert wurde? Gibt es vielleicht etwas in Zukunft zu beachten, was zu meiden ist, damit sowas nicht vorkommt? ist es wieder mal ein Fall von komputermystik? wäre vielleicht ein Sicherheitskurs angebracht, was eben AUF KEINEM FALL zu machen ist, damit aales gut läuft?
ich lese immer wieder von path-problemen - wie entstehen diese, wenn man angenommen nur backend nutzt und keine Eingriffe im code unternimmt? (ich meine, backend tut ja auch was im code, nur diese änderungen sind ja vom programmierer "reglamentiert" so zu sagen)? zu viel gefragt?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Ich würde sage: Flinkklicking und -dragging - also mangelnde Koordination von Maus-Klick-Ziehen ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked