Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
I have KC Finder installed and up until this morning it was working fine.
I added some images to the server via ftp and then went to select them from within couch on a page I was building. When I clicked on browse server I was greeted with this screen shot.

It happens on all browsers.

Any ideas?

Thanks
Tony

Attachments

Looks like a permission problem to me.

Please try setting 766 or 777 permission on the 'uploads' folder.
Thanks. 766 does not work, 777 does, but isn't that quite insecure…?
Code: Select all
but isn't that quite insecure…?
Well, I think you should take that up with your hosting provider.

Couch can only help mitigating this risk by -
1. not allowing any executable content to be uploaded to that folder using KCFinder
2. by disabling PHP altogether from the uploads folder (you should find a .htaccess file in there that does it).
Thanks for the tips
Got the same error. Was working fine, then this morning I went to edit an image for a repeatable row and for the image I clicked Browse Server:
browse_server.png
browse_server.png (17.56 KiB) Viewed 2776 times

I tried changing uploads from 766 to 777 temporarily and even that didn't help. I get the message either when I browse server from an editable image or from within the nicedit editor. My config.php hasn't been touched lately and it looks ok.
@wysocki, the PHP warning visible in the screenshot shows the actual reason behind the problem.

It seems you have managed to introduce some whitespaces, newlines or the utf BOM characters at the gbeginning of your 'couch/config.php' file line 1.

Please check that file for any visible characters. If there are none, make sure you have saved the file as 'UTF without BOM'. More details at - viewtopic.php?f=4&t=53

Hope it helps.
7 posts Page 1 of 1