[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/seourls/event/listener.php on line 213: Undefined array key "FORUM_NAME"
REDAXO Forum • Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechner
Seite 1 von 1

Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechner

Verfasst: 8. Mär 2010, 16:27
von silvers
Hallo an alle Forenmitglieder.
Ich versuche das erste mal Redaxo auf meiner lokalen Festplatte zu installieren und ging dabei nach diesen (1); (2) Anleitungen vor.
Leider ging hier irgendwie alles schief.

XAMPP wurde wie oben beschrieben installiert funktioniert.
Eine Datenbank wurde mit phpmyAdmin wie oben beschrieben angelegt.

Jetzt möchte ich Redaxo installieren und kopiere als root den extrahierten Ordner nach /opt/lampp/htdocs/test.
Im Browser gebe ich http://localhost/test ein, und ich erhalte eine Menge Fehler im Browser. Siehe Bild

[/quote]
Strict Standards: Non-static method rex_sql::disconnect() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/functions/function_rex_client_cache.inc.php on line 131

Strict Standards: Non-static method rex_sql::disconnect() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 872


Strict Standards: Non-static method rex_sql::getInstance() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 879

Strict Standards: Non-static method rex_sql::isValid() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 881

Strict Standards: Non-static method rex_sql::disconnect() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 872


Strict Standards: Non-static method rex_sql::getInstance() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 879

Strict Standards: Non-static method rex_sql::isValid() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_sql.inc.php on line 881


Strict Standards: Declaration of OOCategory::hasValue() should be compatible with that of OORedaxo::hasValue() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.oocategory.inc.php on line 233

Strict Standards: Declaration of OOArticle::hasValue() should be compatible with that of OORedaxo::hasValue() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooarticle.inc.php on line 177

Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.oomediacategory.inc.php on line 79


Strict Standards: Declaration of OOPlugin::isAvailable() should be compatible with that of rex_addon::isAvailable() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149

Strict Standards: Declaration of OOPlugin::isActivated() should be compatible with that of rex_addon::isActivated() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149


Strict Standards: Declaration of OOPlugin::isInstalled() should be compatible with that of rex_addon::isInstalled() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149

Strict Standards: Declaration of OOPlugin::getVersion() should be compatible with that of rex_addon::getVersion() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149

Strict Standards: Declaration of OOPlugin::getAuthor() should be compatible with that of rex_addon::getAuthor() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149


Strict Standards: Declaration of OOPlugin::getSupportPage() should be compatible with that of rex_addon::getSupportPage() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149

Strict Standards: Declaration of OOPlugin::setProperty() should be compatible with that of rex_addon::setProperty() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149


Strict Standards: Declaration of OOPlugin::getProperty() should be compatible with that of rex_addon::getProperty() in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 149

Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_form.inc.php on line 1327

Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_list.inc.php on line 100


Strict Standards: Non-static method OOAddon::getAvailableAddons() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/addons.inc.php on line 22

Strict Standards: Non-static method OOAddon::getRegisteredAddons() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooaddon.inc.php on line 32


Strict Standards: Non-static method rex_addon::isAvailable() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooaddon.inc.php on line 34

Strict Standards: Non-static method rex_addon::isInstalled() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81

Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 105


Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177

Strict Standards: Non-static method rex_addon::isActivated() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81


Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 93

Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177

Strict Standards: Non-static method OOPlugin::getAvailablePlugins() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/addons.inc.php on line 30


Strict Standards: Non-static method OOPlugin::getRegisteredPlugins() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 93

Strict Standards: Non-static method OOPlugin::isAvailable() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 95


Strict Standards: Non-static method rex_addon::isAvailable() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 17

Strict Standards: Non-static method rex_addon::isInstalled() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81

Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 105


Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177

Strict Standards: Non-static method rex_addon::isActivated() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81


Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 93

Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177

Strict Standards: Non-static method rex_pluginManager::addon2plugin() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/addons.inc.php on line 35


Strict Standards: Non-static method OOPlugin::getAvailablePlugins() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/addons/be_style/extensions/function_extensions.inc.php on line 28


Strict Standards: Non-static method OOPlugin::getRegisteredPlugins() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 93

Strict Standards: Non-static method OOPlugin::isAvailable() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 95


Strict Standards: Non-static method rex_addon::isAvailable() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.ooplugin.inc.php on line 17

Strict Standards: Non-static method rex_addon::isInstalled() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81

Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 105


Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177

Strict Standards: Non-static method rex_addon::isActivated() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 81


Strict Standards: Non-static method rex_addon::getProperty() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 93

Strict Standards: Non-static method rex_addon::create() should not be called statically in /opt/lampp/htdocs/test/redaxo/redaxo/include/classes/class.rex_addon.inc.php on line 177
[/quote]

Mache ich etwas falsch oder habe ich etwas nicht berücksichtigt?

Verfasst: 8. Mär 2010, 16:53
von timo.huber
Hallöle,

bei deiner Xampp Installation werden anscheinend PHP Fehler mit dem Level "E_STRICT" ausgegeben.

Du kannst dies unterbinden indem du deine php.ini änderst.
z.b. so:

Code: Alles auswählen

error_reporting = E_ALL
Wenn du in deiner php.ini einfach nach "error_reporting" suchst, bekommst du auch einige Beispiele und Vorschläge.

MFG

Verfasst: 8. Mär 2010, 16:58
von Xong
Als Ergänzung:
Das sind keine Fehler, sondern Warnungen. Diese Warnungen zeigen auf, wo PHP-Befehle (Funktionen, Methoden, etc.) verwendet werden, die als deprecated gekennzeichnet sind.

Normalerweise ist dieses Warnlevel ausgeschaltet. Erst mit PHP 6 wird es per Default an sein.
Bedenklich sind diese Meldungen nicht.
Nur im Hinblick auf PHP 6 sollten laufende (Weiter-)Entwicklungen auf diese Hinweise achten.

http://de.php.net/manual/errorfunc.conf ... -reporting

Verfasst: 8. Mär 2010, 17:10
von silvers
Mmhh. Also in der php.ini habe ich mal nach error-reporting gesucht und die erste Zeile auskommentiert und ergänzt. Und zwar so:

error_reporting = E_ALL
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED

Na ja, die angeblichen Fehler sind halt immer noch da.

Seltsam ist auch, daß ich, nachdem ich die Sprache ausgewählt habe, das Setup nicht weiterführen kann, weil bei mir der Link "Setup starten und Lizenzbestimmungen akzeptieren" fehlt. Wie hier.

Darum dachte ich, es hängt mit den Fehlermeldungen zusammen.

Verfasst: 8. Mär 2010, 17:15
von timo.huber
hm,

es gibt das Level "E_DEPRECATED", irgendwie wird in deinem Link "E_STRICT" falsch beschrieben.

http://php.net/manual/de/errorfunc.constants.php

Man kann Funktionen static aufrufen, geht in PHP 5 ohne Probleme.
Da dies aber in PHP 4 noch nicht so war, würden diese Fehlermeldungen natürlich überhand nehmen.
Daher ist E_STRICT Standardmäßig ausgeschaltet.


Beispiel:


Code: Alles auswählen

<?php
error_reporting(E_ALL | E_STRICT);

class MyClass {
//normal
public function test()
{
	echo "test";
}
//static
public static function test2()
{
	echo "test aus static";
}
}


echo "objekt: <br />";
$obj = new MyClass();
$obj->test();

echo "<br /><br />";
$obj->test2();

echo "<hr />static:<br />";
MyClass::test2();

echo "<br />";

MyClass::test(); //<< hier der Fehler
?>
mfg

Verfasst: 8. Mär 2010, 17:19
von timo.huber
silvers hat geschrieben: error_reporting = E_ALL
Versuch mal

Code: Alles auswählen

error_reporting = E_ALL & ~E_STRICT 
mfg

Verfasst: 8. Mär 2010, 17:29
von silvers
@timo.huber
timo.huber hat geschrieben:hm,

Beispiel:

Code: Alles auswählen

<?php
error_reporting(E_ALL | E_STRICT);

class MyClass {
//normal
public function test()
{
	echo "test";
}
//static
public static function test2()
{
	echo "test aus static";
}
}


echo "objekt: <br />";
$obj = new MyClass();
$obj->test();

echo "<br /><br />";
$obj->test2();

echo "<hr />static:<br />";
MyClass::test2();

echo "<br />";

MyClass::test(); //<< hier der Fehler
?>
mfg
Ich verstehe nicht gerade viel von php. Wollte Redaxo mal ausprobieren, da ich schon viel Gutes drüber gehört habe. Muß ich deinen Code in die php.ini einfügen?

Code: Alles auswählen

error_reporting = E_ALL & ~E_STRICT 
Hat leider nix gebracht.

Viele Grüße

Verfasst: 8. Mär 2010, 17:45
von timo.huber
Hey silvers,

dann sorry für die Verwirrung :wink:

Also das einfügen von "error_reporting = E_ALL & ~E_STRICT" in die php.ini + anschließendem Apache Neustart hätte etwas bewirken sollen.

Mir würde da nur noch das "alte" Problem einfallen, dass es 2 php.ini's auf deinem System gibt, und du ausversehen die falsche bearbeitest.

Lege dir mal bitte eine neue PHP Datei mit diesem Inhalt an:

Code: Alles auswählen

<?php
phpinfo();
?>
Nun siehst du dort den Speicherort deiner ini-Datei (Loaded Configuration File)

mfg

Verfasst: 8. Mär 2010, 17:59
von silvers
Also das einfügen von "error_reporting = E_ALL & ~E_STRICT" in die php.ini + anschließendem Apache Neustart hätte etwas bewirken sollen.
Mir würde da nur noch das "alte" Problem einfallen, dass es 2 php.ini's auf deinem System gibt, und du ausversehen die falsche bearbeitest.
Ich habe die Datei /opt/lampp/etc/php.ini verändert. Denke, das war die Richtige - oder etwa nicht? Anschließend ein sudo /opt/lampp/lampp restart ausgeführt - leider ohne Erfolg.

Ich habe jetzt Redaxo mal gleich auf den Hoster gepackt. Und nach der Rechtevergabe einiger Dateien läufts zumindest auf dem Hoster.

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

Verfasst: 21. Jun 2012, 09:40
von fritze
Nur zur Info: die php.ini liegt jetzt bei XAMPP im PHP Ordner.

error_reporting = E_ALL & ~E_NOTICE

einstellen und XAMPP neu starten.

Ferig ;-)

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

Verfasst: 13. Feb 2013, 19:17
von dodo66
Hallo,

ich habe das gleiche Problem.

Xampp 1.8.1 (Windows 8 auf nem Laptop)
error_reporting in der php.ini im Xampp/php Verzeichnis angepasst (habe nur die eine)
mehrere Möglichkeiten getestet (Apache auch immer neu gestartet)
E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
E_ALL & ~E_DEPRECATED & ~E_STRICT
E_ALL
auch auskommentiert
;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

immer das gleiche Ergebnis.
Unzählige
Strict Standards: Non-static method
Meldungen.

Ich würde aber gerne mal was zeigen/arbeiten ohne online zu sein :cry:

Vielleicht hatte ja jemand das gleiche Problem und konnte es lösen???

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

Verfasst: 13. Feb 2013, 22:08
von Joachim.Dörr
Das kann auch an der php Version liegen, bei PHP 5.4 gibt es wohl zahlreiche Komplikationen mit redaxo4 hierfür wird aber bald eine neue Rex Version komme durch die das behoben wird. Siehe: https://github.com/redaxo/redaxo4

lg
Joachim

Re:

Verfasst: 24. Mär 2016, 21:01
von chrissies
vielen dank @xong! :mrgreen: du hast mir das leben gerettet *lol

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

Verfasst: 10. Mai 2016, 23:30
von JeGr
Um das kurz noch zu ergänzen:

in eurer Xampp php.ini sollte nur ein einziger Eintrag auskommentiert sein beim Error Reporting:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

Nur dieser hier entfernt alle Notice, Strict und Deprecated Meldungen (durch die VerUNDung mit ~). Dann aber nicht vergessen Webserver und ggf. PHP (bei FPM o.ä.) neu zu starten, damit die Änderungen auch greifen.

Grüße