Seite 1 von 2

Problem nach Installation

Verfasst: Sa 4. Jan 2003, 15:12
von Billahonk
Hallo Forum!

Ich habe auf meiner lokalen Umgebung Contenido 4.2 installiert. Allerdings erhalte ich, nachdem ich das Setup erfolgreich durchlaufen habe und auf Login drücke, folgende Fehlermeldung:

Fatal error: Failed opening required ' c://wampp13cs/htdocs/contenido42/contenido/inc/globals_off.inc.php' (include_path='') in c:\wampp13cs\htdocs\contenido42\contenido\inc\config.php on line 3

Die Zeile 3 in der config.php sieht wie folgt aus: require_once' c:/wampp13cs/htdocs/contenido42/contenido/inc/globals_off.inc.php';

Hier mein Systemdaten: Win XP - Apache/1.3.26 (Win32) - MySQL 3.23.51 - PHP Version 4.2.3

Bitte um Hilfe, da ich schon rumprobiert habe, den Fehler allerdings nicht lösen konnte!
Vielen Dank im voraus

Gruß
Andreas

Verfasst: So 5. Jan 2003, 21:06
von Sven777b
befindet sich die globals_off.inc.php denn in dem genannten Ordner ?

wenn ja , versuche mal den Eintrag in der config.php Zeile 3 umzuschreiben in:

Code: Alles auswählen

require_once 'c:\wampp13cs\htdocs\contenido42\contenido\inc\globals_off.inc.php';

Verfasst: Mo 6. Jan 2003, 12:42
von Billahonk
So hat funktioniert, Ich komme zur Login Maske, allerdings möchte er das PW nicht anerkennen. Habe es mit admin, admin versucht, als Antwort erhalte ich, dass der Benutzername oder das Passwort falsch sind!
Was kann ich machen??
Noch eine Frage: Muss ich die config.php auch auf 777 setzen??

Danke schon mal für Deine Hilfe!!

Verfasst: Mo 6. Jan 2003, 12:50
von Billahonk
Diese Fehlermeldung erscheint: Warning: Access denied for user: 'root@localhost' (Using password: YES) in c:\wampp13cs\htdocs\contenido42\conlib\db_mysql.inc on line 73

Verfasst: Mo 6. Jan 2003, 13:34
von Eppi
Überprüfe nochmal genau die Datenbankverbindung, er findet die Datenbank nicht.

Verfasst: Mo 6. Jan 2003, 13:57
von Billahonk
Wie kann ich das genau überprüfen? In phpmyadmin ist die Datenbank mit 25 Tabellen angelegt.

Das hier steht in der Zeile 73: $this->Link_ID=mysql_pconnect($Host, $User, $Password);

Das hier steht ziemlich am Anfang in db_mysql.inc:
/* public: connection parameters */
var $Host = "";
var $Database = "";
var $User = "";
var $Password = "";
Habe hier mal die gleichen Werte wie in der config.php eingetragen, hat sich allersings auch nichts geändert.

Hoffe ihr könnt mir helfen, da ich das CMS wirklich sehr gerne testen würde.

Danke schon mal für Eure bisherigen Bemühungen!

Gruß

Verfasst: Mo 6. Jan 2003, 14:59
von Björn
Hast Du in der php.ini den include path richtig gesetzt?

Bei mir sieht das so aus:

Code: Alles auswählen

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"  
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = ".;c:\programme\php"

; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues.  The alternate is to use the
; cgi.force_redirect configuration below
doc_root = "C:\Programme\Apache Group\Apache\htdocs"

Verfasst: Mo 6. Jan 2003, 15:08
von Billahonk
Bei mir stand da nix. Habs jetzt abgeändert: ; Windows: "\path1;\path2"
include_path = ".;c:\wampp13cs\php"
Allerdings ändert sich nichts!

Verfasst: Mo 6. Jan 2003, 16:25
von pulk
Billahonk hat geschrieben:Bei mir stand da nix. Habs jetzt abgeändert: ; Windows: "\path1;\path2"
include_path = ".;c:\wampp13cs\php"
Allerdings ändert sich nichts!
das include path darf nicht auskommentiert sein, kein ; am anfang der zeile, aber ich denk das weißt du eh. :roll:

Verfasst: Mo 6. Jan 2003, 18:53
von Björn
Wie sieht es mit der docroot aus?
Müsste bei Dir so aussehen:

doc_root = "'c:\wampp13cs\htdocs"

Verfasst: Mo 6. Jan 2003, 19:59
von Billahonk
Hab die Sachen geändert, allerdings erscheint kein Login Bereich mehr, stattdessen folgende Fehlermeldungen:

Warning: Access denied for user: 'admin@localhost' (Using password: YES) in c:\wampp13cs\htdocs\contenido42\conlib\db_mysql.inc on line 73

Warning: Failed opening 'contenido_crcloginform.inc.php' for inclusion (include_path='c:\wampp13cs\php') in c:\wampp13cs\htdocs\contenido42\conlib\local.php on line 214


Meine php.ini sieht in dem beschriebenen Teil im Moment folgendermaßen aus:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = "c:\wampp13cs\php"

; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
doc_root = "c:\wampp13cs\htdocs"

; The directory under which PHP opens the script using /~usernamem used only
; if nonempty.
user_dir =

; Directory in which the loadable extensions (modules) reside.
extension_dir = ./extensions/

; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On

; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
cgi.force_redirect = 0

; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
; will look for to know it is OK to continue execution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; cgi.redirect_status_env = ;

Hoffe doch, dass sich die Probleme irgendwie lösen lassen können!

Danke!

Verfasst: Mo 6. Jan 2003, 23:20
von Sven777b
also was ich dir erstmal ganz klar sagen kann:
Warning: Access denied for user: 'admin@localhost' (Using password: YES) in c:\wampp13cs\htdocs\contenido42\conlib\db_mysql.inc on line 73
Dein MySQL-Username und/oder Passwort ist definitiv falsch!
Die Datenbank existiert - sonst würde die Fehlermeldung anders lauten. Dieser Fehler besagt eindeutig ein falsches Login.

Verfasst: Mo 6. Jan 2003, 23:43
von Björn
Schließe mich Sven an, allerdings bist Du schon einen großen Schritt weiter, da Du erst jetzt ein vernünftig konfiguriertes PHP hast.

Überprüfe Deine MySqlDaten in der inc/config.php

Verfasst: Di 7. Jan 2003, 12:29
von Billahonk
Mitlerweile hat phpmyadmin keinen Zugriff mehr aud die MySQL Datenbanken. Daher werde ich heut Abend den Wampp noch mal komplett neu installieren.
Oder würdet ihr mir eine andere lokale Serverumgebung vorschlagen?

Verfasst: Mi 8. Jan 2003, 19:23
von Billahonk
Also lokal wird das irgendwie nix bei mir. Installiere Contenido in der nächsten Woche auf meinem VS. Bei neuerlichen Problemen weiß ich ja wo ich Hilfe erhalten kann.
Vielen Dank für Eure Mühe!

Gruß