-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File upload throws tempnam() error #316
Labels
Comments
Yes indeed, this appears since php 7.1. Here is a good description of the same "problem": Glavin001/atom-beautify#1108 (comment) I am going to oppress notice messages of tempnam with "@". A temporary fix would be to use php 7.0 or change the error reporting level. |
Thanks, gonna try a different level. |
nadar
added a commit
that referenced
this issue
Jun 12, 2019
slowfox089
pushed a commit
to slowfox089/luya-module-admin
that referenced
this issue
Dec 10, 2020
slowfox089
pushed a commit
to slowfox089/luya-module-admin
that referenced
this issue
Dec 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the problem?
Upload a file using the file browser / open the file browser.
What is the expected result?
Uploaded files should appear in the file browser and in public_html/storage.
What do you get instead? (A Screenshot can help us a lot!)
Uploading a file causes an error 500 to be returned by the data-files call.
code: 8 file: "/Applications/XAMPP/xamppfiles/htdocs/thatproject/vendor/luyadev/luya-module-admin/src/storage/BaseFileSystemStorage.php" line: 674 message: "tempnam(): file created in the system's temporary directory" name: "PHP Notice"
Uploaded files appear in public_html/storage, but not in the file browser.
LUYA Check ouput (run this script and post the result: luyacheck.php)
1: [ini_get('short_open_tag')] '1' 2: [ini_get('error_reporting')] '22527' 3: [phpversion()] '7.1.28' 4: [php_ini_loaded_file()] '/Applications/XAMPP/xamppfiles/etc/php.ini' 5: [php_sapi_name()] 'cgi-fcgi' 6: [isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : unknown] 'PhpStorm 2018.3.6'
Had to comment out
apache_get_modules()
, because it threw an undefined error.Additional infos
The text was updated successfully, but these errors were encountered: