Hoi

der neue Spaw ermittelt seine benötigten Ordner und URL's automatisch. Während den Betatests hat das auch auf allen Servern einwandfrei funktioniert.
Es ist aber durchaus möglich, dass versch. Server da nicht mitspielen, leider fehlte uns da aber die Möglichkeit zum testen...
Auch den Entwicklern des Spaw ist das Problem anscheinend bekannt und sie haben Vorbereitungen getroffen:
http://www.spaweditor.com/spaw/spaw2/docs/documentation/integrators.html Path Related Settings
These settings determine locations SPAW uses to load it's files. These are automatically calculated in most instances, but if you get errors in demo script or can't see button images, etc. this is where the problem most likely is.
DOCUMENT_ROOT
Specifies a file system path to the root directory of your website. On most Apache/PHP installations this is calculated automatically
SPAW_ROOT
Specifies a file system path to the SPAW directory. Automatically calculated.
SPAW_DIR
Specifies a path from web site root to the SPAW directory, that is if you access demo script by pointing your browser to http://mydomain.com/spaw/demo/demo.php SPAW_DIR should be set to '/spaw/'. Automatically calculated
Konkret, würde das heissen, dass man die /spaw/config/config.php manuell anpassen kann, um das Problem zu lösen. Es handelt sich um folgende komplett auskommentierte Zeilen:
/*
// semi-automatic path calculation
// comment the above settings of DOCUMENT_ROOT, SPAW_ROOT and SPAW_DIR
// and use this block if the above fails.
// set SPAW_DIR manually. If you access demo page by http://domain.com/spaw2/demo/demo.php
// then set SPAW_DIR to /spaw2/
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw2/');
// and the following settings will be calculated automaticly
SpawConfig::setStaticConfigItem('SPAW_ROOT', str_replace("\\","/",realpath(dirname(__FILE__)."/..").'/'));
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', substr(SpawConfig::getStaticConfigValue('SPAW_ROOT'),0,strlen(SpawConfig::getStaticConfigValue('SPAW_ROOT'))-strlen(SpawConfig::getStaticConfigValue('SPAW_DIR'))));
*/
/*
// under IIS you will probably need to setup the above paths manually. it would be something like this
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', 'c:/inetpub/wwwroot/');
SpawConfig::setStaticConfigItem('SPAW_ROOT', 'c:/inetpub/wwwroot/spaw2/');
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw2/');
*/
Wie und was man da jetzt bei den einzelnen Servern einstellen muss kann ich so pauschal nicht sagen.
Probiert doch mal und berichtet....
Wenn nicht, dann gebt mir mal einer von Euch nen Admin u. FTP-Zugang, dass ich das selbst probiere...
PS:
Im Spaw Forum gibt es etliche Einträge zu dem Thema, einfach dort mal nach SPAW_ROOT suchen.
z.B.:
http://forums.solmetra.com/viewtopic.php?t=7965&highlight=spawrootPS2:
diese config.php kann insgesamt komplett individuell angepasst werden, so wie in der Anleitung beschrieben. Bei evtl. Updates von pragmaMx wird die dann nicht mehr mitgeliefert, so dass eigene Änderungen nicht überschrieben werden.