Keep server disk filename same as Original upload filename

More
10 years 4 months ago #52266 by jeffhoneyager
SOLVED!

That did the trick.

Thank you so much for your help.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52268 by ggppdk
Hello

do you allow frontend users to submit content ?

we will need to test more,

and also provide parameter for this
see new enhancement issue here:
github.com/FLEXIcontent/flexico ... issues/118


please do not make any other hacks, you will not be able to upgrade !!!


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52273 by jeffhoneyager
The site will allow front end users to submit content - but registered and above only.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52364 by jeffhoneyager
Not quite solved...

The file will not download and the front end shows (0KBs) for every file.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52368 by ggppdk
Hello

inside plugin file

plugins/flexicontent_fields/file.php

we have:

$abspath = str_replace(DS, '/', JPath::clean($basePath.DS.$file_data->filename));


thus the UTF-8 filename is damaged

you can try replacing it with:
$abspath = str_replace(DS, '/', $basePath.DS.$file_data->filename);


and test, still will need to add extra checks for filename to avoid security issues,

so your hack in helper upload functions, even if they work, we can not say if they are safe


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.275 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save