- Posts: 12822
- Thank you received: 1660
All questions about EDocman extension
Filename changed
- Mr. Dam
- Offline
- Administrator
Less
More
4 years 8 months ago #133556
by Mr. Dam
Replied by Mr. Dam on topic Filename changed
Hi Dim,
You can try this way to store original file name.
1. Open file: root -> administrator -> components -> com_edocman -> model -> common -> document.php
2. Find:
$fileName = JFile::makeSafe($fileName);
and change to
//$fileName = JFile::makeSafe($fileName);
Then, you can try to upload Files with non-utf8 characters to see if the your problem is solved
Thanks
Dam
You can try this way to store original file name.
1. Open file: root -> administrator -> components -> com_edocman -> model -> common -> document.php
2. Find:
$fileName = JFile::makeSafe($fileName);
and change to
//$fileName = JFile::makeSafe($fileName);
Then, you can try to upload Files with non-utf8 characters to see if the your problem is solved
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Dim Galan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 8 months ago #133561
by Dim Galan
Replied by Dim Galan on topic Filename changed
Hi Dam,
Yes, commenting it out, works fine.
The question is, is it safe to do so?
Thanks
Yes, commenting it out, works fine.
The question is, is it safe to do so?
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12822
- Thank you received: 1660
4 years 8 months ago #133562
by Mr. Dam
Replied by Mr. Dam on topic Filename changed
Hi,
I think there are some potential issues, but in case, you only allow to upload documents from Backend side, i think it is ok
Thanks
Dam
I think there are some potential issues, but in case, you only allow to upload documents from Backend side, i think it is ok
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Dim Galan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 8 months ago #133563
by Dim Galan
Replied by Dim Galan on topic Filename changed
Hi,
All is good then!
Thank you for the great support and keep up the good work!
All is good then!
Thank you for the great support and keep up the good work!
Please Log in or Create an account to join the conversation.
- Dim Galan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 2 months ago - 4 years 2 months ago #138116
by Dim Galan
Replied by Dim Galan on topic Filename changed
Hi,
Everything was working fine until in the configuration the "Make filename safely" was added.
It created a mess and changed all filenames.
This is what I had done the last time according to your instructions:
"You can try this way to store original file name.
1. Open file: root -> administrator -> components -> com_edocman -> model -> common -> document.php
2. Find:
$fileName = JFile::makeSafe($fileName);
and change to
//$fileName = JFile::makeSafe($fileName);"
Now this was added in the configuration and changed all my filenames! Also, no matter if I turn it off or on, it changes the file name!
Thanks
Everything was working fine until in the configuration the "Make filename safely" was added.
It created a mess and changed all filenames.
This is what I had done the last time according to your instructions:
"You can try this way to store original file name.
1. Open file: root -> administrator -> components -> com_edocman -> model -> common -> document.php
2. Find:
$fileName = JFile::makeSafe($fileName);
and change to
//$fileName = JFile::makeSafe($fileName);"
Now this was added in the configuration and changed all my filenames! Also, no matter if I turn it off or on, it changes the file name!
Thanks
Last edit: 4 years 2 months ago by Dim Galan.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12822
- Thank you received: 1660
4 years 2 months ago #138168
by Mr. Dam
Replied by Mr. Dam on topic Filename changed
Hi Dim,
It's strange, please submit ticket and provide your site url with super admin account. We will check the issue for you
Thanks
Dam
It's strange, please submit ticket and provide your site url with super admin account. We will check the issue for you
Thanks
Dam
The following user(s) said Thank You: Dim Galan
Please Log in or Create an account to join the conversation.
- Dim Galan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 1 month ago #139218
by Dim Galan
Replied by Dim Galan on topic Filename changed
Hi Dam,
I have solved the issue.
This time It was due to my db collation. Now it is working ok.
But I would definitely suggest that you do the same (make filename safely) for the directories (make directoryname safely) as characters (e.g. as Greek in my case) are changed to latin.
Thanks
I have solved the issue.
This time It was due to my db collation. Now it is working ok.
But I would definitely suggest that you do the same (make filename safely) for the directories (make directoryname safely) as characters (e.g. as Greek in my case) are changed to latin.
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12822
- Thank you received: 1660
4 years 1 month ago #139238
by Mr. Dam
Replied by Mr. Dam on topic Filename changed
OK Dim
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.