Fatal error: main(): Failed opening required

Gesperrt
neu@cidnet.de
Beiträge: 356
Registriert: Do 15. Jan 2004, 21:32
Wohnort: Mönchengladbach
Kontaktdaten:

Fatal error: main(): Failed opening required

Beitrag von neu@cidnet.de »

Warning: main(/.2/www/dewio/kirchekelzenberg/kirchekelzenberg.de/cms/contenido/includes/globals_off.inc.php): failed to open stream: No such file or directory in /.1/www/dewio/kirchekelzenberg/kirchekelzenberg.de/cms/contenido/includes/config.php on line 22

Fatal error: main(): Failed opening required '/.2/www/dewio/kirchekelzenberg/kirchekelzenberg.de/cms/contenido/includes/globals_off.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /.1/www/dewio/kirchekelzenberg/kirchekelzenberg.de/cms/contenido/includes/config.php on line 22

die Dateien sind alle da, und sehen für mich auch korrekt aus. hat jemand en tipp worans liegt?
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

wie sehen denn die berechtigungen aus ?
für die cms/contenido/includes/globals_off.inc.php
die laut system nicht vorhanden ist...
*** make your own tools (wishlist :: thx)
neu@cidnet.de
Beiträge: 356
Registriert: Do 15. Jan 2004, 21:32
Wohnort: Mönchengladbach
Kontaktdaten:

Beitrag von neu@cidnet.de »

777 :-/
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

hast du zugriff auf die shell?

was mich wundert ist, daß bei dem einen pfad ein ".1" davor ist und beim zweiten ein ".2"
neu@cidnet.de
Beiträge: 356
Registriert: Do 15. Jan 2004, 21:32
Wohnort: Mönchengladbach
Kontaktdaten:

Beitrag von neu@cidnet.de »

shell habe ich nicht,
habe aber gerade mit meinem provider gepsprochen,
die haben etwas umgestellt. aber die regeln das jetzt
wulf
Beiträge: 35
Registriert: Mo 20. Okt 2003, 10:25
Kontaktdaten:

Hi Habe das selbe Problem

Beitrag von wulf »

Hi Habe das selbe Problem,
was ist denn jetzt die Loesung?
Auf was soll ich jetzt meinen Provider ansprechen?

gruß Wulf
24 hours are not enough...
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Wenn Du wirklich genau das gleiche Problem hast (dass die Pfade variieren und/oder irgendwelche Zahlen am Anfang tragen), solltest Du Deinen Provider auf dieses Pfadproblem ansprechen...

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
wulf
Beiträge: 35
Registriert: Mo 20. Okt 2003, 10:25
Kontaktdaten:

Beitrag von wulf »

Nicht zu 100% dieselbe fehlermeldung aber sie ist ähnlich.
Ich habe folgendes Überprüft:
- Die php seite ist an der genannten position.
- Eine Änderung der rechtevergabe auf 777 bringt nichts.
- was mir aufgefallen ist, ist das es den ersten genannten pfad nicht gibt
main(/srv/www/htdocs/web15/html/web/contenido/includes/globals_off.inc.php)
jedoch finde ich keine Möglichkeit den anzupassen.

Warning: main(/srv/www/htdocs/web15/html/web/contenido/includes/globals_off.inc.php) [function.main]: failed to create stream: No such file or directory in /srv/www/htdocs/web15/html/page/cms/config.php on line 22

Fatal error: main() [function.main]: Failed opening required '/srv/www/htdocs/web15/html/web/contenido/includes/globals_off.inc.php' (include_path='.:/usr/share/php') in /srv/www/htdocs/web15/html/page/cms/config.php on line 22

gruß wulf
24 hours are not enough...
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

D.h. den Pfad mit page gibt es, den mit web nicht? D.h. Du rufst Contenido über .../html/page/contenido auf, richtig?

Kontrolliere auf jeden Fall noch einmal die Einstellungen in der contenido\includes\config.php.

Kannst Du Dich an Contenido anmelden? Welche Angaben stehen unter Administration -> System?

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
wulf
Beiträge: 35
Registriert: Mo 20. Okt 2003, 10:25
Kontaktdaten:

Beitrag von wulf »

ich hatte in
/html/page/cms/config.php.
noch eine Config gibt es zwei?

na ja nachdem ich die beiden Configs die Pfade geändert habe bekomme ich zwar die Seite angezeigt, habe aber darüber folgende Fehlermeldung:
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/php/includes/config.php) is not within the allowed path(s): (/srv/www/htdocs/web15/) in /srv/www/htdocs/web15/html/page/cms/front_content.php on line 17

Warning: main(includes/config.php) [function.main]: failed to create stream: Operation not permitted in /srv/www/htdocs/web15/html/page/cms/front_content.php on line 17

Warning: main() [function.main]: Failed opening 'includes/config.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/web15/html/page/cms/front_content.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web15/html/page/cms/front_content.php:17) in /srv/www/htdocs/web15/html/page/conlib/session.inc on line 467
Was zum teufel hat das jetzt auf sich?

in front_content.php steht in zeile 17 folgendes :
include_once ($contenido_path . "includes/config.php");
dank schon mal in voraus Wulf
24 hours are not enough...
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Bitte poste beide config.php-Dateien (ohne die DB-Angaben) - wir wissen ja nun nicht, wie Du die Pfade geändert hast.

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
wulf
Beiträge: 35
Registriert: Mo 20. Okt 2003, 10:25
Kontaktdaten:

Beitrag von wulf »

Die Config ist an beiden stellen gleich.
Pos1. /html/page/contenido/includes/
Pos2. /html/page/cms/


<?php

/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* © four for business AG
******************************************/



/* Current Contenido Version. You shouldn't change this
value unless you know what you are doing :). The reason
why it is placed in the top of this file is to easier
get out the contenido version. */

$cfg['version'] = "4.4.5";

/* "Workaround" for register_globals=off settings. */
require_once '/srv/www/htdocs/web15/html/page/contenido/includes/globals_off.inc.php';


/* Section 1: Path settings
* ------------------------
*
* Path settings which will vary along different
* Contenido settings.
*
* A little note about web and server path settings:
* - A Web Path can be imagined as web addresses. Example:
* http://192.168.1.1/test/
* - A Server Path is the path on the server's hard disk. Example:
* /var/www/html/contenido for Unix systems OR
* c:/htdocs/contenido for Windows systems
*
* Note: If you want to modify the locations of subdirectories for
* some reason (e.g. the includes directory), see Section 8.
*/

/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/srv/www/htdocs/web15/html/page/contenido/';

/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = 'http://www.www.XXX.de/page/contenido/';

/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/srv/www/htdocs/web15/html/page';

/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/srv/www/htdocs/web15/html/page/conlib/';

/* The root server path to the pear directory */
$cfg['path']['pear'] = '/srv/www/htdocs/web15/html/page/pear/';

/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/srv/www/htdocs/web15/html/page/contenido/external/wysiwyg/spaw/';

/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = 'http://www.XXX.de/page/contenido/external/wysiwyg/spaw/';






/* Section 3: Misc settings
* ----------------------------------
*
* Misc user defined settings.
*/

/* Thumbnail width, in pixels */
$con_cfg['thumb']['width'] = 50;

/* Thumbnail height, in pixels */
$con_cfg['thumb']['height'] = 50;







/* Section 4: Error handling settings
* ----------------------------------
*
* Actually no variables, but important settings
* for error handling and logging.
*/

/* Don't display errors */
ini_set("display_errors",true);

/* Log errors to a file */
ini_set("log_errors",true);

/* The file in which we write the error log */
ini_set("error_log",$cfg["path"]["contenido"]."logs/errorlog.txt");

/* Report all errors except warnings */
error_reporting (E_ALL ^ E_NOTICE);

/* Various base API functions */
require_once ('/srv/www/htdocs/web15/html/page/contenido/includes/api/functions.api.general.php');

usw......

?>
Zuletzt geändert von wulf am Do 31. Mär 2005, 19:02, insgesamt 1-mal geändert.
24 hours are not enough...
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

wulf hat geschrieben:Die Config ist an beiden stellen gleich.
Pos1. /html/page/contenido/includes/
Pos2. /html/page/cms/
Das ist falsch. Meine config im cms-Verzeichnis sieht so aus:

Code: Alles auswählen

<?php

//path to contenido, for all inclusions
$contenido_path = "../contenido/";
$errorfont = "font3";
//fo the language file
$language="de";

/* Required: language and client */
$load_lang = "1";
$load_client = "1";

/* idcatart of the newsletter control page */
$newsletteridcatart = 37;

$frontend_debug["container_display"] = false;
$frontend_debug["module_display"] = false;
$frontend_debug["module_timing"] = false;

/*
* Uncomment this to benefit from the "alldebug" functionality :)

if ($HTTP_GET_VARS["alldebug"] == 1)
{
$frontend_debug["container_display"] = true;
$frontend_debug["module_display"] = true;
$frontend_debug["module_timing"] = true;
$force = 1;
} 
*/


?>
So etwas muesste es auch bei dir geben ...
wulf
Beiträge: 35
Registriert: Mo 20. Okt 2003, 10:25
Kontaktdaten:

Beitrag von wulf »

Jo passt ich habe einfach meinen Config text bei /html/page/cms/
mit deinem Überschrieben. Jetzt passt's...

dank Wulf :roll:
24 hours are not enough...
Gesperrt