Startschwierigkeiten - Fehler beim aufrufen vom wcms

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
blackapple
Posts: 13
Joined: Sat 16. Dec 2006, 11:41

Startschwierigkeiten - Fehler beim aufrufen vom wcms

Post by blackapple »

Hallöchen!

ich verwende jetzt schon zum zweiten mal phpwcms für einen webauftritt und bin seit anfang an begeistert!

doch jetzt habe ich ein paar schwierigkeiten.
vor zwei tagen hatte ich das problem dass nach dem einloggen auf der login.php ein NOT FOUND error 404 bekam die darauf verwies, dass die phpwcms.php nicht vorhanden sei. Jedoch war diese aber vorhanden.
Da ich bemerkt hab, dass die zugriffrechte anderst gesetzt waren als wie auf meiner anderen installation (bei einem andern hoster, bei der ich noch nie probleme hatte).
Nun habe ich die rechte im root verzeichnis vom nichfunktionierenden wcms mit der anderen abgelichen.
nun funktioniert garnichts mehr... nachdem ich /cms (da liegt es drinn) aufrufe bekomme ich

Code: Select all


Warning: main(config/phpwcms/conf.inc.php): failed to open stream: Permission denied in /var/*****/*****/*****/cms/index.php on line 62

Fatal error: main(): Failed opening required 'config/phpwcms/conf.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/*****/*****/*****/cms/index.php on line 62

***** -> habe ich für die tatsächlichen verzeichnisnamen ersetzt


in der index.php zeile 62 steht

Code: Select all

require_once ('config/phpwcms/conf.inc.php');
soweit ich denken kann, doch was soll mit der sein? ist da etwas falsch drin ? habe ich etwas übersehn?

danke fürs durchlesen

wäre supi wenn ihr mir dabei helfen könntet
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

Hallo Blackapple,

es klingt als hätte das damit etwas zu tun, dass
du ein Unterverzeichnis benutzt.

Hast du das bei der Installation berücksichtig?
In der conf.inc.php

// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "cms";


Aus der Doku:
Aufrufen der Installation
Nun rufen Sie in Ihrem Browser das Installationsscript auf, dessen Pfad wie folgt lautet:
http://www.ihre-domian.tld/setup/index.php

Hierbei gehen wir davon aus, dass Sie phpWCMS im Root (Hauptverzeichnis) Ihres Webspaces hochgeladen haben.
Falls das nicht der Fall ist, muß der Pfad so aussehen:

http://www.ihre-domian.tld/ihr_unterordner/setup/index.php

Nach dem Durchlesen der Lizenzbestimmung drücken Sie einfach auf die Schaltfläche
"I AGREE (CONTINUE)". So gelangen Sie zum nächsten Schritt.

Hier:
http://www.phpwcms-docu.de/inst_de.phtml
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
blackapple
Posts: 13
Joined: Sat 16. Dec 2006, 11:41

Post by blackapple »

genau das hab ich auch in meiner config.inc.php stehn..

Code: Select all

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]         		= "cms";         //default: ""
oder soll ich statt "cms"

Code: Select all

$phpwcms["root"]         		= "var/*****/*****/*****/cms";         //default: ""
eintragen?

das problem ist, dass ich diesmal die installtion nicht druchgeführt habe sondern ein kollege.
blackapple
Posts: 13
Joined: Sat 16. Dec 2006, 11:41

Post by blackapple »

mhh irgendwie hab ich das gefühl dass das ganze was mit zugriffsrechten zu tun hat,... ich hab jetzt mal alles im rootverzeichnis und die config.inc.php auf 777 gesetzt
und jetzt geht die seite an sich und die login.php wieder ... aber jetzt hab ich wieder das problem das nach dem login die phpwcms.php nich gefunden wird..

Code: Select all

The requested URL /cms/phpwcms.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hoffentlich nicht Strato?

Lass doch bitte einmal die Datei document_root.php in deinem CMS-root Verzeichnis laufen.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
blackapple
Posts: 13
Joined: Sat 16. Dec 2006, 11:41

Post by blackapple »

was wäre denn das problem bei Strato?

document_root.php kopiert und ausgeführt..

Code: Select all

This file has to be placed in your web root - do not
put it into any subdir of your webspace

1) your default $_SERVER['DOCUMENT_ROOT']: /var/*****/*****/*****/
2) real DOCUMENT_ROOT based on this file : /var/*****/*****/*****/cms

If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":

$_SERVER['DOCUMENT_ROOT'] = '/var/*****/*****/*****/cms';

Check if this is corresponding with the subdir
in which phpwcms is installed:

$phpwcms['root'] = "cms";

If so - everything is fine too, also if this is empty.
Maybe some leading/ending slash "/" is there.
That's no problem here, but remove leading or
ending slashes. Do never use the backslash "\"
in paths on Windows - this may fail.


-> conf.inc.php rausgesucht, ganz nach unten gescrollt,

Code: Select all

// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = '/var/*****/*****/*****/cms';

?>
überprüft, stimmt doch soweit? (ist es richtig dass es auskommentiert ist?*dooffrag*)
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

Bei Strato

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

sonst schau mal hier rein:

http://www.phpwcms.de/forum/viewtopic.p ... ght=strato

Lars
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
blackapple
Posts: 13
Joined: Sat 16. Dec 2006, 11:41

Post by blackapple »

der fehler ist so peinlich dass ich am überlegen bin ob ich ihn hier überhaupt posten soll^^

Jedoch für die prävention:
ursache dafür war ein fehler im Host-eintrag(C:\WINDOWS\system32\drivers\etc\hosts), nachdem ich das "www." vor der domain weggenommen hab gings.
obwohl das für mich dann immernoch unverständlich ist, denn die webseite an sich ging ja

danke für eure bemühungen!!!
Post Reply