Hello everyone,
I upgrade from version 1.2.18 to version 2.25.2.
After the upgrade, an error appeared that the attached image for the problem (stored in the database) could not be displayed, nor could the image attached for the new issue be attached.
Thanks everyone for the help!
Unable to display images or attachments for the problem
Moderators: Developer, Contributor
Unable to display images or attachments for the problem
- Attachments
-
- Attachments cannot be displayed
- File.png (25.76 KiB) Viewed 4510 times
Re: Unable to display images or attachments for the problem
Even deploying new version 2.25.2 (initial blank) still does not attach files
Re: Unable to display images or attachments for the problem
did you check the php error log?
Also you can add the following line to core/config_inc.php:
$g_show_detailed_errors = ON;
This will provide a better error message.
Also you can add the following line to core/config_inc.php:
$g_show_detailed_errors = ON;
This will provide a better error message.
Re: Unable to display images or attachments for the problem
Sorry, I've been away for a while (personal work).
After I further configure $g_show_detailed_errors = ON;
The detailed information is as follows (Figure).
I don't know how to adjust this!
Help me! Thank you very much!
After I further configure $g_show_detailed_errors = ON;
The detailed information is as follows (Figure).
I don't know how to adjust this!
Help me! Thank you very much!
- Attachments
-
- Class 'finfo' not found
- 2022-02-08_083326.png (73.75 KiB) Viewed 4318 times
Re: Unable to display images or attachments for the problem
within your php installation is the finfo module missing.
See here (as an example):
https://community.xibo.org.uk/t/how-do- ... -in-php/78
See here (as an example):
https://community.xibo.org.uk/t/how-do- ... -in-php/78
Re: Unable to display images or attachments for the problem
Thanks.
I'm trying to figure out how to fix it.
I'm trying to figure out how to fix it.
Re: Unable to display images or attachments for the problem
My system is running:cas wrote: ↑08 Feb 2022, 07:21 within your php installation is the finfo module missing.
See here (as an example):
https://community.xibo.org.uk/t/how-do- ... -in-php/78
The AppServ Open Project - 9.3.0 for Windows
Now you running on PHP 7.3.10
Re: Unable to display images or attachments for the problem
did you check php.ini and is the fileinfo.dll available on your system?
Re: Unable to display images or attachments for the problem
As recommended in Admin Guide, run also admin/check/index.php
I assume you will get a message that PHP fileinfo extension is not installed and maybe some more errors and warnings you shuold fix.
I assume you will get a message that PHP fileinfo extension is not installed and maybe some more errors and warnings you shuold fix.
Re: Unable to display images or attachments for the problem
Thanks cas and atrol.
I have opened the fileinfo library in the php.ini file and have performed the operation on the file.
PS: Why does the php.ini configuration show the extension=fileinfo command, unlike the extension=php_fileinfo.dll instruction?
I have opened the fileinfo library in the php.ini file and have performed the operation on the file.
PS: Why does the php.ini configuration show the extension=fileinfo command, unlike the extension=php_fileinfo.dll instruction?
- Attachments
-
- 2022-02-09_100810.png (9.7 KiB) Viewed 4248 times