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
Hi,
When i use Mysql connector I can do anythink. I can upload file also but the only problem, is for download file (or make a preview).
If i make a double click (or right click and download) the file is downloaded but it's blank (0Ko).
I've no error on javascript console and also on php (I've error_reporting(-1)) and no error also on mysql (I've enabled the query log and there is no error on Query SELECT content FROM files WHERE id=78 for example)
The only preview that work is for the txt file but if I download this file it make also a 0 Ko file.
I've changed the configuration to FTP and in this mode no problem. All is good.
If anybody have an idea where is my mistake. Thanks
PS: PHP 7.2.7 - Mysql 5.7.11 (My database is on utf8 -- UTF-8 Unicode utf8_general_ci) - Codeigniter 3.1.10 - Jquery 3.3.1 . Tested on Windows 10 (ver 1809) and Ubuntu 18.10
The text was updated successfully, but these errors were encountered:
@Nounours13 I found typo while checking the source file.
Line 670 of php/elFinderVolumeMySQL.class.php $fp = $this->tmbPath
Change to $fp = $this->tmpPath
Please try to fix it. Are there any changes in the results?
Hi,
When i use Mysql connector I can do anythink. I can upload file also but the only problem, is for download file (or make a preview).
If i make a double click (or right click and download) the file is downloaded but it's blank (0Ko).
I've no error on javascript console and also on php (I've error_reporting(-1)) and no error also on mysql (I've enabled the query log and there is no error on Query SELECT content FROM files WHERE id=78 for example)
The only preview that work is for the txt file but if I download this file it make also a 0 Ko file.
I've changed the configuration to FTP and in this mode no problem. All is good.
If anybody have an idea where is my mistake. Thanks
PS: PHP 7.2.7 - Mysql 5.7.11 (My database is on utf8 -- UTF-8 Unicode utf8_general_ci) - Codeigniter 3.1.10 - Jquery 3.3.1 . Tested on Windows 10 (ver 1809) and Ubuntu 18.10
The text was updated successfully, but these errors were encountered: