Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechner

Probleme beim Installieren. Servereinstellungen etc.

Installationsprobleme mit Redaxo4_2_1 auf lokalem Rechner

Beitragvon silvers » 8. Mär 2010, 15: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?
[url][/url]
silvers
 
Beiträge: 4
Registriert: 8. Mär 2010, 12:02

Beitragvon timo.huber » 8. Mär 2010, 15: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
timo.huber
 
Beiträge: 305
Registriert: 22. Dez 2009, 12:26

Beitragvon Xong » 8. Mär 2010, 15: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.configuration.php#ini.error-reporting
LG,
Xong

Bild Määääääääääääääääääääääääh!
Benutzeravatar
Xong
 
Beiträge: 1560
Registriert: 5. Jun 2008, 07:30
Wohnort: Hohndorf in Sachsen

Beitragvon silvers » 8. Mär 2010, 16: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.
silvers
 
Beiträge: 4
Registriert: 8. Mär 2010, 12:02

Beitragvon timo.huber » 8. Mär 2010, 16: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, 12:26

Beitragvon timo.huber » 8. Mär 2010, 16: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;
}
Benutzeravatar
timo.huber
 
Beiträge: 305
Registriert: 22. Dez 2009, 12:26

Beitragvon silvers » 8. Mär 2010, 16: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
silvers
 
Beiträge: 4
Registriert: 8. Mär 2010, 12:02

Beitragvon timo.huber » 8. Mär 2010, 16: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;
}
Benutzeravatar
timo.huber
 
Beiträge: 305
Registriert: 22. Dez 2009, 12:26

Beitragvon silvers » 8. Mär 2010, 16: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.
silvers
 
Beiträge: 4
Registriert: 8. Mär 2010, 12:02


Zurück zu Installation [R4]

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast