Home / Forum / Install Probleme

Install Probleme

Um Zugang zu den Foren zu erhalten, müssen Sie angemeldet sein

Autor Nachricht

Thomas Geisler

Registriert seit: 14.02.2006

Beiträge: 3

Dienstag, 14. Februar 2006 18:39:29

Hallo hier ein Neuer.

Habe intallationsprobleme.
Muß der Save mode unbedingt auf off stehen.
Und noch eins sehe bei den chmod rechten nicht ganz durch.
Bin Neuling.
Also ich entpacke.
Zweitens auf den Sever .
index.php
Und dann kommen die Fehlermeldungen.
Was soll ich tun?

Danke Tommy


Thomas Nunninger

Thomas  Nunninger

Registriert seit: 10.01.2006

Beiträge: 52

Dienstag, 14. Februar 2006 20:06:02

Hi Tommy,

welche Fehlermeldungen bekommst du denn? In welcher Umgebung (shared Host, dedizierter Server) hast du das denn installiert? Welche PHP- bzw. eZ publish Version benutzt du denn?

Viele Grüße

Thomas

Thomas Geisler

Registriert seit: 14.02.2006

Beiträge: 3

Dienstag, 14. Februar 2006 20:46:51

Hallo Thomas

Hier meine Fehlemeldungen

Warning

* open_basedir
o open_basedir is in use and can give problems running eZ publish due to bugs in some PHP versions.
o It's recommended that it is turned off if you experience problems running eZ publish.

System check

There are some important issues that have to be resolved. A list of issues / problems is presented below. Each section contains a description and a suggested / recommended solution.

Once the problems / issues are fixed, you may click the Next button to continue. The system check will be run again. If everything is okay, the setup will go to the next stage. If there are problems, the system check page will reappear.

Some issues may be ignored by checking the Ignore this test checkbox(es); however, this is not recommended.

It is also possible to do some finetuning of your system, click Finetune instead Next if you want to see the finetuning hints.
Issues
1. Insufficient directory permissions

eZ publish cannot write to some important directories, without this the setup cannot finish and parts of eZ publish will fail.
The affected directories are: settings settings/override var var/storage var/cache settings/siteaccess settings/siteaccess/admin design
Shell commands

These shell commands will give proper permission to the webserver.

cd /srv/www/htdocs/xxxx/html/shop
chmod -R ug+rwx settings settings/override var var/storage var/cache settings/siteaccess settings/siteaccess/admin design
chown -R wwwrun:www settings settings/override var var/storage var/cache settings/siteaccess settings/siteaccess/admin design

Alternative shell commands

If you don't have permissions to change the ownership you can try these commands.

cd /srv/www/htdocs/xxxx/html/shop
chmod -R a+rwx settings settings/override var var/storage var/cache settings/siteaccess settings/siteaccess/admin design

Ignore this test

2. PHP safe mode is enabled

eZ publish may work with safe mode on, however there might be several features that will be unavailable. Some of the things that might occur are:

* Not possible to extend time limits
o Some parts of eZ publish relies on cronjobs to handle workflows etc., and may require a longer time to run than normal page loads. With this on the cronjob scripts will not succeed.
* Wrong permissions
o If the site is not setup correctly eZ publish will not be able to work with files correctly, this could mean file uploads, image handling and cache creation. Safe mode requires that the same owner is set on the index.php script and all other files for the site.
* File uploading
o Uploading files trough the web will not possible unless configured correctly. This means that images, files and media will not be possible to use.

It's recommended that the option is turned off. To turn it off edit your php.ini configuration and set safe_mode to Off. More information on the subject can be found at php.net.
php.ini example:

safe_mode = 0

If you're not able to turn safe mode off you should try to fix the following issues.
Permissions

To make sure that all files have the correct user and group owner run the following commands.

cd /srv/www/htdocs/xxxx/html/shop
chown nouser.nouser *.php
chown -R nouser.nouser cronjobs design doc lib settings update kernel sdk share var

Alternatively you may run

cd /srv/www/htdocs/xxxx/html/shop
chown nouser.nouser -R *

If you only have access to the site using ftp you will have to consult your ftp client and server to see if it is possible to run the chown command.

Note: The nouser.nouser must be changed to your webserver username and groupname.

Ignore this test

3. allow_url_fopen ini setting is disabled

You need to alter your PHP settings, and enable the 'allow_url_fopen' setting in your php.ini file.
allow_url_fopen = On

Remember to restart your web server afterwards.

Note : Failure here will also cause failure to the accept_path_info test.
Ignore this test

4. AcceptPathInfo disabled or running in CGI mode

You need to enable AcceptPathInfo in your Apache config file, if you're using apache 2.x. If you're running apache 1.3, eZ publish will not run in CGI mode.

Check the Apache documentation, or enter the following into your httpd.conf file.
AcceptPathInfo On

Remember to restart your web server afterwards.

Ich bin bei netroom.de

Danke im vorraus vieleicht geht es ja garnicht bin noch am testen aber ezP sagt mir aber zu.
Und wie gesagt Neuling... aber nicht ganz blöd.

Danke
Tommy

Thomas Nunninger

Thomas  Nunninger

Registriert seit: 10.01.2006

Beiträge: 52

Dienstag, 14. Februar 2006 21:49:21

Hi Tommy,

nun ja, die Meldungen sind erstmal ganz normal. eZ publish versucht dir zu helfen, dein System optimal einzurichten. Z.B. (weil du es auch in deiner ersten Mail erwähnt hast) die Rechte: mit den beigefügten Kommandos kannst du die Rechte/Benutzer so anpassen, dass der Webserver beispielsweise im var-Verzeichnis gecachte Daten ablegen kann. Die erste Möglichkeit ändert die Besitzer - was das sicherste ist. Die zweite Variante verteilt sehr großzügige Rechte (für alle), was nicht sonderlich toll ist, aber in shared Umgebungen oft nicht anders geht.

Bezüglich der anderen Punkte ist allgemein zu sagen, dass es natürlich das beste ist, wenn du die entsprechenden Änderungen an der php.ini vornehmen kannst. (Kann sein, dass du das teilweise auch in der .htaccess erledigen kannst - aber da kenne ich mich nicht so aus.) Vielleicht hilft dein Provider dir dabei weiter.

Grundsätzlich ist zu sagen, dass eZ publish sehr mächtig ist. Dies erfordert allerdings umgekehrt einiges an Ressourcen und Rechten am Server. Vielleicht findest du auch auf der Partnerliste auf ez.no einen Hostinganbieter, der dir eine Installation hosten kann. Zum Testen würde ich dir erst mal eine lokale Installation empfehlen (siehe auch den Installer für Windows - unter Linux sollten Apache, PHP und MySQL vergleichsweise schnell eingerichtet sein).

Eine Anmerkung (weil häufig übersehen): eZ publish benötigt (zwingend) folgende PHP-Versionen:

eZ publish <= 3.6.x: PHP 4.3.x
eZ publish 3.7.x: PHP 4.4.x

PHP 5 wird erst ab dem kommenden eZ publish 4 unterstützt

Einen schönen Abend

Thomas

Thomas Geisler

Registriert seit: 14.02.2006

Beiträge: 3

Samstag, 18. Februar 2006 09:36:02

Hallo Thomas

Danke für die Antwort.
Aber meinen Server beibt der Safe mode auf on.
Ist für mich sicherer. Siehe dazu http://www.heise.de/ct/02/14/072/ oder http://www.heise.de/newsticker/meldung/41472.
Danke nochmals.
Tommy

Björn Dieding

Björn Dieding

Registriert seit: 06.10.2002

Beiträge: 110

Mittwoch, 22. Februar 2006 01:14:25

Nah soviel scheint der ja doch nicht zu bringen, wenn wir den bald nicht mehr brauchen.

Looking for a new job? http://www.xrow.de/xrow-GmbH/Jobs
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
http://www.xrow.com Lösungen für Internet, Intranet und Extranet.
http://www.hostingezpublish.com eZ Publish Hosting

Um Zugang zu den Foren zu erhalten, müssen Sie angemeldet sein