Fehler bei PDF Erstellung bzw. Templatebasis funktioniert ni

Hallo zusammen, erhalte Fehlermeldung, wenn ich die neue Templatevasis für PDF’s erstellen möchte. Parse error: syntax error, unexpected T_STRING in /home/micthi37/www/tiffani.ch/engine/Shopware/Controllers/Backend/Document.php on line 344 [color=red]Line 342: [/color]$style = "style=\"margin-left:10px;$opacity;cursor:pointer\""; $onclick = "onclick=\"sTranslations('$field','$key','$id','$object','{$language["isocode"]}','$secondkey')\""; [color=red]Line 344:[/color] $element .= " ![]()path."engine/backend/img/default/icons/flags/{$language["flagbackend"]}\" $style $onclick\>"; } return $element; } } Was kann ich tun? Danke und Gruss Tiffani

Hast du mal die Systemvoraussetzungen geprüft? Evtl. passt eine Einstellung bei deinem Hostingpaket nicht. Sieht schon fast so aus. allow_url_fopen PHP-Version usw.

Ist eigentlich eingestellt: PHP max_execution_time Maximum execution time of each script, in seconds memory_limit Maximum amount of memory a script may consume (8MB) register_globals Whether or not to register the EGPCS variables as global variables. You may want to turn this off if you don’t want to clutter your scripts’ global scope with user data. This makes most sense when coupled with track_vars - in which case you can access all of the GPC variables through the $HTTP_*_VARS, variables. You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. magic_quotes_gpc Magic quotes for incoming GET/POST/Cookie data. upload_max_filesize Maximum allowed size for uploaded files. [color=red]allow_url_fopen Whether to allow the treatment of URLs (like http:// or ftp://) as files.[/color]

Allow_URL_fopen wird benötigt. Wenn das nicht aktiviert ist, kann sich das auf die PDF Erstellung auswirken…

Wenn ich allow_url_fopen im mit dem Hauptverzeichnis verlinke, kann ich die ganze Website und Admin nicht mehr aufrufen. Fehlermeldung: Fatal error: Class ‚Enlight_Hook_HookManager‘ not found in /home/micthi37/www/tiffani.ch/engine/Enlight/Enlight/Application.php on line 74 Laut Hoster: Dann kann das Problem aber nicht an allow_url_fopen liegen sondern muss irgendwo in Ihrer Konfiguration oder dem CMS ein Fehler vorhanden sein. Wer kann helfen? LG;