-
Neu an Board
JInstaller::install Fehler bei Installation von Modulen oder Komponenten
Bei der Installation von Modulen, Komponenten und Plugins kommt manchmal eine Fehlermeldung dieser Art:
* JInstaller::install: File '/var/www/web14/html/cms/tmp/install_49ec4bc378e12/subinstall.php' does not exist.
* Component Install: Could not copy PHP install file.
Die aktuelle Meldung stammt von AVReloaded 1.1.
Ds Problem tritt aber mit der Mehrzahl der Module auf. Auch beim Löschen von AVReloaded 1.0ß konnten viele Dateien wohl nicht gelöscht werden, was ich dann hänisch durchgeführt habe.
Die Rechte aller Verzeichnisse liegen alle bei web14.
Safe-Mode ist erstmal auf OFF
Schreibrechte testhalber durchweg auf 777
Als mein alter Server noch lief ging alles. Ich habe dann den Backup auf den neuen Server gespielt und einen Update auf die 1.5.10 gemacht. Alle Rechte gesetzt.
Wie schon beim alten Server konnte ich auch auf dem neuen keinen FTP-User funktionierend einbinden. Der Server ist mit confixx installiert und der ftp user heißt daher web14f1 und ich hatte das Verzeichnis /var/www/web14/html/cms/ und 127.0.0.1 verwendet. Leider geht es mit diesen Daten nur im Browser oder ftp-Clienten. Das nur als Zusatzinfo, falls jemand zu ftp raten möchte.
Irgendwie habe ich den Eindruck, dass es sich um ein Problem mit den Rechten handeln könnte, da von Joomla angelegte neue Dateien immer auf www-data gesetzt werden.
-
-
Neu an Board
Im Wiki Habe ich den Grund gefunden und verstehe leider die Erklärung nur prinzipiell:
http://docs.joomla.org/Incorrect_Install_File
Incorrect Install File
This error will occur when the <installfile> tag in the XML install file for a component is incorrectly specified. Commonly this occurs when an extension developer specifies the files in their administrator files section in addition to specifying an install file. Typically this doesn't cause an issue because the installer would silently ignore the error and continue working, however due to a change in 1.5.10 to fix an issue when the tag is used properly this may cause issues with extensions that use 'method="upgrade"' for the extension install files.
The <installfile> tag itself will handle copying the file denoted by that location from the root of the installation package (where the XML install file is) to the administrator section of the component.
Everything that is stated about the installfile is the same as the uninstallfile.
Putting the installfile in a different directory
Say for example you didn't want the install files to live in the root of your extension but wanted to put them in a subfolder in your administrator section. You may already be doing this for pre-1.5.10 in an incorrect way.
If you create in the root of your install package a folder matching your preferred target folder (e.g. "install") and then locate the install and uninstall files in that directory then you can specify the following:
<installfile>install/install.php</installfile>
Doing this alone will cause your installation to still fail because in the administrator directory there still won't be an 'install' folder created. To solve this, create an 'install' folder in your administrator folder of the package and also place an 'index.html' file into this folder. Then in the files section for the administrator put the following line:
<folder>install</folder>
This will automatically create the install folder for you and copy the index.html file across. Then when the installer comes to copy the install file across both the source and destination files will exist properly.
Ich verstehe noch nicht, was ich genau wohin kopieren muss, welche Änderungen ich im XML-File machen muss etc. oder ob das eigentlich nur durch den Ersteller der Module und Komponenten zu machen ist.
Jedenfalls ist es ziemlich anstrengend wenn man alle Module überarbeiten muss, damit sie mit der 1.5.10 kompatibel sind. Ich finde es schon bel, dass man so einen massiven Fehler in einem neuen Release hat. Da hilft es wenig, wenn man erklärt, dass die Ersteller der Extensions fehlerhaft gearbeitet hätten. Man sollte da wohl erst die Programmierer zur Korrektur ihrer Module bringen und DANN die Funktionsweise ändern.
Als Workaround sehe ich wohl nur den Downgrade von der 1.5.10 Version auf die 1.5.09. Kennt da jemand einen Trick ohne Backup? Ich hab seit dem Backup leider zig neue Texte / Artikel eingefügt. Kann ich einfach eine leere 1.59 drüberspielen?
-
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
Foren-Regeln
Lesezeichen