Opened 16 years ago

Closed 16 years ago

#2111 closed Bug (invalid)

File upload problem when using tilde in path

Reported by: Atul Owned by:
Priority: Normal Milestone:
Component: File Browser Version:
Keywords: Pending WorksForMe Cc: ai4u@…


I have a site on IP and the DNS is not resolved on Linux server using PHP . It is like : http://an.I.P.Address/~username

When I use FCKEDITOR and go to File Manager it shows Permission Denied and would not let me upload the files/images .

However I have the "image" folder on public_html with 777 permission.

As soon as the DNS is resolved the problem goes away automatically .

Any help will be appreciated

Change History (4)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Pending WorksForMe added
Priority: HighNormal

The error occurs probably due to your server side configuration. Check lines 38 and 44 in config.php (editor\filemanager\connectors\php\config.php) and see what path is set in: $Config['UserFilesPath'] = '/' ; and $Config['UserFilesAbsolutePath'] = '' ;

If you'll set them the properly it's mostly possible that the bug will no longer occur. Let us know what are your results.

comment:2 Changed 16 years ago by Atul

Thanks for the Inputs . Can you please inform what should I write in these becuase my Server Guys say that In preview mode(using tilde) you should use Absolute Path and not the Relative Path .

My Absolute web path is :


and my Document Root when DNS is resolved is : "/home/username/public_html" and without DNS resolved is : "/usr/local/apache/htdocs"

At present my settings are :

$ConfigUserFilesPath? = '/' ; $ConfigUserFilesAbsolutePath? = ;

I tried writing $ConfigUserFilesAbsolutePath? = 'http://IPADDRESS/~username/' ; But it gave me wrror that Directory "http:/" cannot be created.

Please help.

comment:3 Changed 16 years ago by Wiktor Walc

Set $Config['UserFilesAbsolutePath'] to the absolute server path (not the url), e.g.: /usr/local/apache/htdocs/

comment:4 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed


Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy