Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Image upload warnings
What do the following warnings mean after every image upload?
Notice “tempnam(): file created in the system’s temporary directory”
in /srv/on.lt/textpattern/lib/txplib_admin.php at line 1014.
adminErrorHandler()
textpattern/lib/txplib_admin.php:1014 tempnam()
textpattern/include/txp_image.php:900 get_uploaded_file()
textpattern/include/txp_image.php:64 thumbnail_insert()
textpattern/index.php:228 include()
The warnings lead every upload after Textpattern upgrade to 4.8.0.
Images are stored correctly, with no errors nor warnings on an article page.
Would this happen because of separated domains for a public-side (http://on.lt) and for an admin-side (https://txp.on.lt)? Until TxP 4.8.0 both worked harmoniously, with no warnings.
Diagnostics are quite clear:
Textpattern version: 4.8.0 (3a700fa86044132fa6b97439de8272c7)
Last update: 2020-02-29 20:27:04/2020-02-29 14:55:25
Site URL: on.lt
Admin URL: on.lt/textpattern
Document root: /srv/on.lt
$path_to_site: /srv/on.lt
Textpattern path: /srv/on.lt/textpattern
Article URL pattern: title_only
Production status: debug
Temporary directory path: /srv/on.lt/textpattern/tmp
PHP version: 7.4.5
GD Graphics Library: 2.2.5; Supported formats: GIF, JPEG, PNG, WebP.
Server timezone: Europe/Helsinki
Server local time: 2020-05-06 12:37:56
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): Europe/Vilnius (7200)
MySQL: 5.5.5-10.1.44-MariaDB-0+deb9u1 (Debian 9.11)
Database server time: 2020-05-06 12:37:55
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_US.UTF-8
Site / Admin language: en-us / en-us
Web server: Hiawatha v10.10
PHP server API: fpm-fcgi
RFC 2616 headers: 0
Server OS: Linux 4.9.0-12-686-pae
Admin-side theme: hive 4.8.0
Active plugins: cfm_videoplayer-0.2.14 (modified)
Pre-flight check:
————————————
Site URL preference might be incorrect: txp.on.lt
————————————
Offline
Re: Image upload warnings
This notice seems to be issued when tempnam()
can not write to the requested directory and uses the system’s one. But then txp should alert you that tmp directory is not writeable. But I have no idea of how it works on separated public/admin domains.
I don’t remember of any important change in images upload between 4.7 and 4.8. Could it be that you have upgraded php too?
Offline
Pages: 1