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

Wir haben in letzter Zeit festgestellt, dass die Kommunikation via Slack viel schneller und zielführender ist als ein Beitrag im Forum. Aufgrund der neuen und besseren Möglichkeiten der Kommunikation haben wir uns entschlossen das Forum nur noch als Archiv zur Verfügung zu stellen. Somit bleibt es weiterhin möglich hier nach Lösungen zu suchen. Neue Beiträge können nicht mehr erstellt werden.

Wir empfehlen, für deine Fragen/Probleme Slack zu nutzen. Dort sind viele kompetente Benutzer aktiv und beantworten jegliche Fragen, gerne auch von REDAXO-Anfängern! Slack wird von uns sehr intensiv und meistens "rund um die Uhr" benutzt :-)
Selbst einladen kannst Du dich hier: https://redaxo.org/slack/
silvers
Beiträge: 4
Registriert: 8. Mär 2010, 13:02

Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechner

8. Mär 2010, 16:27

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?

Benutzeravatar
timo.huber
Beiträge: 305
Registriert: 22. Dez 2009, 13:26

8. Mär 2010, 16:53

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
$glaskugel = new rex_glaskugel();
$loesung = $glaskugel->getLoesung("problem");
foreach ($loesung as $l)
{
echo $l;
}

Benutzeravatar
Xong
Beiträge: 2081
Registriert: 5. Jun 2008, 08:30
Wohnort: Halle (Saale)

8. Mär 2010, 16:58

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
LG,
Xong

[ externes Bild ] Määääääääääääääääääääääääh!

silvers
Beiträge: 4
Registriert: 8. Mär 2010, 13:02

8. Mär 2010, 17:10

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.

Benutzeravatar
timo.huber
Beiträge: 305
Registriert: 22. Dez 2009, 13:26

8. Mär 2010, 17:15

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
$glaskugel = new rex_glaskugel();
$loesung = $glaskugel->getLoesung("problem");
foreach ($loesung as $l)
{
echo $l;
}

Benutzeravatar
timo.huber
Beiträge: 305
Registriert: 22. Dez 2009, 13:26

8. Mär 2010, 17:19

silvers hat geschrieben: error_reporting = E_ALL
Versuch mal

Code: Alles auswählen

error_reporting = E_ALL & ~E_STRICT 
mfg
$glaskugel = new rex_glaskugel();
$loesung = $glaskugel->getLoesung("problem");
foreach ($loesung as $l)
{
echo $l;
}

silvers
Beiträge: 4
Registriert: 8. Mär 2010, 13:02

8. Mär 2010, 17:29

@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

Benutzeravatar
timo.huber
Beiträge: 305
Registriert: 22. Dez 2009, 13:26

8. Mär 2010, 17:45

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
$glaskugel = new rex_glaskugel();
$loesung = $glaskugel->getLoesung("problem");
foreach ($loesung as $l)
{
echo $l;
}

silvers
Beiträge: 4
Registriert: 8. Mär 2010, 13:02

8. Mär 2010, 17:59

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.

fritze
Beiträge: 24
Registriert: 31. Dez 2005, 12:29

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

21. Jun 2012, 09:40

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 ;-)

dodo66
Beiträge: 3
Registriert: 2. Mär 2009, 23:43

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

13. Feb 2013, 19:17

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???

Joachim.Dörr
Beiträge: 1403
Registriert: 7. Apr 2006, 01:49
Kontaktdaten: ICQ Website

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

13. Feb 2013, 22:08

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
Doerr Softwaredevelopment | GitHub
Beati pauperes spiritu.

chrissies
Beiträge: 3
Registriert: 24. Mär 2016, 20:33

Re:

24. Mär 2016, 21:01

vielen dank @xong! :mrgreen: du hast mir das leben gerettet *lol

Benutzeravatar
JeGr
Beiträge: 63
Registriert: 15. Jun 2013, 16:50

Re: Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechne

10. Mai 2016, 23:30

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

Zurück zu „Allgemeines [R4]“