You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Wenn ich eine Datei erstelle mit $objFile = new \File(pfad, true)
und dann Daten hineinschreibe (wie in der Combiner Klasse) $objFile->append($daten)
funktioniert es.
Wenn ich aber Daten an den Anfang schreiben will oder die bereits geschriebenen Daten wieder lesen möchte $objFile->prepend($daten) $data = $objFile->getContent()
führt daszu einem Fehler: failed to open stream: No such file or directory in system/modules/core/library/Contao/File.php on line 599
Wenn man in die core/library/Contao/File.php hineinschaut, dann wird bei getContent() das File neu geöffnet und die Daten gelesen. Allerdings wird eine temporäre Datei bei append() und write() verwendet und erst bei close() die Datei am richtigen Pfad erstellt wenn $blnDoNotCreate gesetzt ist. Sollte da die getContent() Methode nicht ebenfalls auf die temporäre Datei zugreifen??
The text was updated successfully, but these errors were encountered:
### 4.1.2 (2016-03-22)
* Handle derived classes in the exception converter (see #462).
* Prevent the autofocus attribute from being added multiple times (see contao/core#8281).
* Respect the SSL settings of the root page when generating sitemaps (see contao/core#8270).
* Read from the temporary file if it has not been closed yet (see contao/core#8269).
* Always use HTTPS if the target server supports SSL connections (see contao/core#8183).
* Adjust the meta wizard field length to the column length (see contao/core#8277).
* Correctly handle custom mime icon paths (see contao/core#8275).
* Show the 404 error page if an unpublished article is requested (see contao/core#8264).
* Correctly count the URLs when rebuilding the search index (see contao/core#8262).
* Ensure that every image has a width and height attribute (see contao/core#8162).
* Set the correct mime type when embedding SVG images (see contao/core#8245).
* Handle the "float_left" and "float_right" classes in the back end (see contao/core#8239).
* Consider the fallback language if a page alias is ambiguous (see contao/core#8142).
* Fix the error 403/404 redirect (see contao/website#74).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Wenn ich eine Datei erstelle mit
$objFile = new \File(pfad, true)und dann Daten hineinschreibe (wie in der Combiner Klasse)
$objFile->append($daten)funktioniert es.
Wenn ich aber Daten an den Anfang schreiben will oder die bereits geschriebenen Daten wieder lesen möchte
$objFile->prepend($daten)$data = $objFile->getContent()führt daszu einem Fehler: failed to open stream: No such file or directory in system/modules/core/library/Contao/File.php on line 599
Wenn man in die core/library/Contao/File.php hineinschaut, dann wird bei getContent() das File neu geöffnet und die Daten gelesen. Allerdings wird eine temporäre Datei bei append() und write() verwendet und erst bei close() die Datei am richtigen Pfad erstellt wenn $blnDoNotCreate gesetzt ist. Sollte da die getContent() Methode nicht ebenfalls auf die temporäre Datei zugreifen??
The text was updated successfully, but these errors were encountered: