Login nicht möglich - localhost kann nicht gefunden werden

Alle installationsbezogenen Probleme hier posten. Dies sollte die erste Anlaufstelle bei Problemen sein.
Post Reply
Cantanero
Posts: 5
Joined: Mon 19. Oct 2009, 11:28

Login nicht möglich - localhost kann nicht gefunden werden

Post by Cantanero »

Hallöle und Guten Morgen.

Erstmal ich bin ganz neu hier, und habe auch recht wenig Ahnung von phpwcms.
Beginne grade erst damit, ein erstes Projekt um zusetzten.

Zum testen hab ich phpwcms auf xampp installiert. Hat auch soweit alles geklappt, hab mich an die Vorgaben gehalten die ich in der Doku gefunden hab.
Jetzt steh ich nur vor einem Problem das wahrscheinlich total simpel ist...aber ich krieg es nicht gelöst. Wenn ich auf Login klicke und mich einloge kommt immer der Fehler:

"Safari kann die Seite „http://localhost/phpwcms/login.php“ nicht öffnen, da Safari den Server „localhost“ nicht finden kann."
Das gleiche passiert auch im Firefox...

Jetzt...die Frage, was kann ich dagegen machen?

Gruß, Cantanero.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by Oliver Georgi »

Das ist erst mal kein phpwcms Problem.

Prüfe mal, was passiert, wen Du http://localhost eingibst.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Cantanero
Posts: 5
Joined: Mon 19. Oct 2009, 11:28

Re: Login nicht möglich

Post by Cantanero »

Also das Problem hat sich inzwischen gelöst...was auch immer der Fehler war.
Nun komm ich zur Login Maske aber sobald ich mich einloge kommt:


Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php on line 93

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/backend.functions.inc.php on line 573

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/backend.functions.inc.php on line 573

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php on line 408

Ich versteh leider nur Bahnhof...
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by flip-flop »

Ändere in der /config/phpwcms/conf.inc.php bitte einmal folgende Zeilen:

Code: Select all

$phpwcms['site']              = 'http://'.$_SERVER['SERVER_NAME'].'/'; 

$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = 'phpwcms';         //default: ''
Vorher die alten Zeilen sichern (einfach zwei // an den jeweiligen Zeilenanfang setzen).

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Cantanero
Posts: 5
Joined: Mon 19. Oct 2009, 11:28

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by Cantanero »

Heyo,

nun naja...eine Fehler Zeile ist verschwunden... nun steht da nur noch:

Deprecated: Assigning the return value of new by reference is deprecated in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php on line 93

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/default.inc.php:215) in /Applications/XAMPP/xamppfiles/htdocs/phpwcms/include/inc_lib/dbcon.inc.php on line 44

Ich komm nicht mal mehr zur login Maske.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by flip-flop »

Irgendetwas klappt mit deinem Xampp nicht.

Funktionieren denn die Beispielprogramme unter http://localhost/xampp/* ?

Also die /config/phpwcms/conf.inc.php hast du nach dem Durchlauf des Setups (letztes Bild mit den hoffentlich grünen Markern) aus der /setup/setup.conf.inc.php erzeugt?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Cantanero
Posts: 5
Joined: Mon 19. Oct 2009, 11:28

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by Cantanero »

Ja irgendwas scheint wirklich mit Xampp nicht zustimmen. Die test.php z.B. wird gar nicht ausgegeben. Er gibt zwar keine Fehlermeldung an, aber das echo gibt er nicht aus. Aber ich habs ganz normal installiert. Runtergeladen, dmg gestartet und fertig.

Und ja die conf.inc.php habe ich nach dem Durchlauf des Setups aus der aus der /setup/setup.conf.inc.php erzeugt. Und natürlich war auch alles grün markiert ;)
Cantanero
Posts: 5
Joined: Mon 19. Oct 2009, 11:28

Re: Login nicht möglich - localhost kann nicht gefunden werden

Post by Cantanero »

Sorry für Doppelpost, aber wollte nur Bescheid geben, die Fehler sind behoben und ich kann mich anmelden.
Hab xampp nochmal neu installiert und nun läuft phpwcms.

Danke vielmals für die Hilfe :)
Post Reply