Zitat von
bubblez
Okey. Ich kann gerade nicht nachvollziehen wo das Problem liegt. Vielleicht helfen die folgenden Fragen weiter:
1. Hast du mal in die PHP Error-Logfiles geschaut?
2. Wieviel Dateien werden im backend in der meta datei angezeigt?
3. Hast du versucht andere meta dateien (sprache, ordner) anzulegen?
4. Hast du die möglichkeit die Erweiterung bei dir lokal oder sonstwo zu installieren und testen?
5. Für welche Sprache hast du die meta Datei anelegt?
Also ich habe jetzt noch mal etwas intensiver geforschte und konnte es darauf zurückführen, dass keine Schreibberechtigungen existieren, weshalb in meiner Installation ja auch der SafeModeHack aktiviert ist, was die Erweiterung aber offenbar nicht weiter berücksichtigt.
Code:
Runtime notice: Declaration of MetaFile::write() should be compatible with that of File::write() in /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/MetaFile.php on line 208
#0 /var/www/vhosts/xxx/httpdocs/system/functions.php(57): __error(2048, 'Declaration of ...', '/var/www/vhosts...', 208, Array)
#1 /var/www/vhosts/xxx/httpdocs/system/functions.php(57): __autoload()
#2 /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/meta_editor.php(643): __autoload('MetaFile')
#3 /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/meta_editor.php(417): meta_editor->writeMetaFile(Object(DB_Mysql_Result), 'tl_files/xxx...')
#4 /var/www/vhosts/xxx/httpdocs/system/drivers/DC_Table.php(1765): meta_editor->onsubmit_metaitem(Object(DC_Table))
#5 /var/www/vhosts/xxx/httpdocs/system/modules/backend/Backend.php(234): DC_Table->edit()
#6 /var/www/vhosts/xxx/httpdocs/contao/main.php(101): Backend->getBackendModule('meta_editor')
#7 /var/www/vhosts/xxx/httpdocs/contao/main.php(304): Main->run()
#8 {main}
Warning: file_put_contents(/var/www/vhosts/xxx/httpdocs/tl_files/xxx/gfx/gallery/xxx/meta_de.txt) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/MetaFile.php on line 180
#0 [internal function]: __error(2, 'file_put_conten...', '/var/www/vhosts...', 180, Array)
#1 /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/MetaFile.php(180): file_put_contents('/var/www/vhosts...', '20110116_muench...')
#2 /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/meta_editor.php(644): MetaFile->write(Array, true)
#3 /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/meta_editor.php(417): meta_editor->writeMetaFile(Object(DB_Mysql_Result), 'tl_files/xxx...')
#4 /var/www/vhosts/xxx/httpdocs/system/drivers/DC_Table.php(1765): meta_editor->onsubmit_metaitem(Object(DC_Table))
#5 /var/www/vhosts/xxx/httpdocs/system/modules/backend/Backend.php(234): DC_Table->edit()
#6 /var/www/vhosts/xxx/httpdocs/contao/main.php(101): Backend->getBackendModule('meta_editor')
#7 /var/www/vhosts/xxx/httpdocs/contao/main.php(304): Main->run()
#8 {main}
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxx/httpdocs/system/modules/meta_editor/MetaFile.php:208) in /var/www/vhosts/xxx/httpdocs/system/drivers/DC_Table.php on line 1787
#0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/vhosts...', 1787, Array)
#1 /var/www/vhosts/xxx/httpdocs/system/drivers/DC_Table.php(1787): setcookie('BE_PAGE_OFFSET', '0', 0, '/')
#2 /var/www/vhosts/xxx/httpdocs/system/modules/backend/Backend.php(234): DC_Table->edit()
#3 /var/www/vhosts/xxx/httpdocs/contao/main.php(101): Backend->getBackendModule('meta_editor')
#4 /var/www/vhosts/xxx/httpdocs/contao/main.php(304): Main->run()
#5 {main}
Kann es also sein, dass bei aktiviertem SMH der Schreibvorgang anders vorgenommen werden müsste?
Grüße,
Fabio
Lesezeichen