so genial eure IPSLibrary auch ist - ich habe manchmal so meine „Herausforderungen“ damit…
Ich wollte mal meine Module updaten und habe in der Wiki folgendes Skript dazu gefunden:
IPSUtils_Include ("IPSModuleManager.class.php","IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('');
$moduleManager->UpdateAllModules();
Gesagt, getan, das Skript erzeugt aber folgende Fehlermeldung:
IPSModuleManager-Log-IPSFileVersionHandle2012-11-18 20:55:19.39 Set Version IPSModuleManager=2.50.2..Loading
IPSModuleManager-Log-IPSFileHandler 2012-11-18 20:55:19.50 Create Directory D:\IP-Symcon\Installation\backup\IPSLibrary_Load\IPSLibrary_2012-11-18_2055\IPSLibrary\install\DownloadListFiles
IPSModuleManager-Log-IPSFileHandler 2012-11-18 20:55:19.80 Copy D:\IP-Symcon\Installation\scripts\IPSLibrary\install\DownloadListFiles\IPSModuleManager_FileList.ini --> D:\IP-Symcon\Installation\backup\IPSLibrary_Load\IPSLibrary_2012-11-18_2055\IPSLibrary\install\DownloadListFiles\IPSModuleManager_FileList.ini
IPSModuleManager-Log-IPSFileHandler 2012-11-18 20:55:19.82 Copy https://raw.github.com/brownson/IPSLibrary--Test-/master/IPSLibrary/install/DownloadListFiles/IPSModuleManager_FileList.ini --> D:\IP-Symcon\Installation\scripts\IPSLibrary\install\DownloadListFiles\IPSModuleManager_FileList.ini
Fatal error: Uncaught exception 'IPSFileHandlerException' with message 'File D:\IP-Symcon\Installation\scripts\IPSLibrary\install\DownloadListFiles\IPSModuleManager_FileList.ini could NOT be found on the Server !!!' in D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php:151
Stack trace:
#0 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php(206): IPSFileHandler->CopyFile('https://raw.git...', 'D:\IP-Symcon\In...')
#1 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php(220): IPSFileHandler->CopyFiles(Array, Array)
#2 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(618): IPSFileHandler->LoadFiles(Array, Array)
#3 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(641): IPSModuleManager->LoadModuleFiles('DownloadFiles', 'Install', 'https://raw.git...', false)
# in D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php on line 151
Abort Processing during Error: Uncaught exception 'IPSFileHandlerException' with message 'File D:\IP-Symcon\Installation\scripts\IPSLibrary\install\DownloadListFiles\IPSModuleManager_FileList.ini could NOT be found on the Server !!!' in D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php:151
Stack trace:
#0 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php(206): IPSFileHandler->CopyFile('https://raw.git...', 'D:\IP-Symcon\In...')
#1 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php(220): IPSFileHandler->CopyFiles(Array, Array)
#2 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(618): IPSFileHandler->LoadFiles(Array, Array)
#3 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(641): IPSModuleManager->LoadModuleFiles('DownloadFiles', 'Install', 'https://raw.git...', false)
#
Error in Script D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSFileHandler\IPSFileHandler.class.php on Line 151
Es läuft eine Menge an Meldungen - offenbar positive - durch, deswegen hier mal das Ende:
IPSModuleManager-Log-IPSFileVersionHandle2012-11-18 21:13:49.28 Set Version IPSLogger=2.50.1.Beta.Loaded
IPSModuleManager-Log-IPSFileVersionHandle2012-11-18 21:13:49.33 Set Version IPSLogger=2.50.1.Beta.Installing
Fatal error: Uncaught exception 'IPSConfigurationException' with message 'Configuration Value with Key=TabPaneItem could NOT be found (Section="WFC10")' in D:\IP-Symcon\Installation\scripts\IPSLibrary\app\core\IPSConfigHandler\IPSConfigHandler.class.php:70
Stack trace:
#0 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(196): IPSConfigHandler->GetValue('TabPaneItem', 'WFC10')
#1 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\InstallationScripts\IPSLogger_Installation.ips.php(45): IPSModuleManager->GetConfigValue('TabPaneItem', 'WFC10')
#2 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(674): include('D:\IP-Symcon\In...')
#3 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(696): IPSModuleManager->InstallModule(false)
#4 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(714): IPSModuleManager->UpdateModule()
#5 D:\IP-Symcon\Insta in D:\IP-Symcon\Installation\scripts\IPSLibrary\app\core\IPSConfigHandler\IPSConfigHandler.class.php on line 70
Abort Processing during Error: Uncaught exception 'IPSConfigurationException' with message 'Configuration Value with Key=TabPaneItem could NOT be found (Section="WFC10")' in D:\IP-Symcon\Installation\scripts\IPSLibrary\app\core\IPSConfigHandler\IPSConfigHandler.class.php:70
Stack trace:
#0 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(196): IPSConfigHandler->GetValue('TabPaneItem', 'WFC10')
#1 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\InstallationScripts\IPSLogger_Installation.ips.php(45): IPSModuleManager->GetConfigValue('TabPaneItem', 'WFC10')
#2 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(674): include('D:\IP-Symcon\In...')
#3 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(696): IPSModuleManager->InstallModule(false)
#4 D:\IP-Symcon\Installation\scripts\IPSLibrary\install\IPSModuleManager\IPSModuleManager.class.php(714): IPSModuleManager->UpdateModule()
#5 D:\IP-Symcon\Insta
Error in Script D:\IP-Symcon\Installation\scripts\IPSLibrary\app\core\IPSConfigHandler\IPSConfigHandler.class.php on Line 70
Offenbar ist es noch nicht erfolgreich durchgelaufen?
Sollte ich etwas an der „Repository“ verändern??
Da ist Dein Ini Filer veraltet!
–> Kopier das File IPSLogger.ini aus dem Default Verzeichnis in darunterliegende Verzeichnis und ersetze die bestehende Datei.
Danach Update des Loggers nochmals starten:
IPSUtils_Include ("IPSModuleManager.class.php","IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('IPSLogger', 'https://raw.github.com/brownson/IPSLibrary/Development');
$moduleManager->UpdateModule();