This page has moved


This page can now be found on the Wikka Documentation Server.
Thanks for updating your bookmarks!

An archive of old revisions of this page is still available for reference.

 


CategoryMigratedDocs
Comments
Comment by ChrisH
2005-12-19 15:38:05
Is there anyway to allow any registered user to upload a file?
Comment by NilsLindenberg
2005-12-19 16:02:26
Chris, take a look at the comments on http://wikka.jsnx.com/FilesAction
Comment by KraaK
2006-03-22 08:49:15
hello, there's one thing i don't get...
in wikka.config.php i have set 3 admins, let's say:
"admin_users" => "AdminOne, AdminTwo, AdminThree",
but only AdminOne will get the {{ files }} action to work...
if AdminTwo or AdminThree puts the action in any page, the file manager appears as an empty list with no upload button... and these two admins have no access to upload or delete to the files action created by AdminOne...
what am i missing..???
thanks,
Comment by NilsLindenberg
2006-03-23 11:08:08
It works for me so I don't know. Anybody else with this problem?
Comment by 212.254.172.236
2006-03-27 06:07:45
it's ok now, after i re-wrote the config file...
thanks, KraaK
Comment by 59.167.6.55
2006-05-23 04:20:26
yeah I had troubles initially also.
Variable admin_users values are CASE-SENSITIVE.
Comment by BrianKoontz
2006-09-23 11:51:35
Note that if you use the links generated by the action in external sites, the page itself must be world-readable! Be careful: If you still have access cookies from a previous session with Wikka in your browser cache, it might *appear* that all is well when you test your links from an external site. If you find others complaining that they can't view the linked images, check the ACLs on the page.
Comment by Newb2Wiki
2007-02-07 15:26:06
What if you only want say User1 & User2 to be able to access uploaded files, but not User3? If the folder is world-readable, how do you block User3 from accessing the file. I imagine the .htaccess file has something to do with this however, I'm not savvy on how to manipulate that.
Comment by DarTar
2007-02-08 03:25:57
Hi Newb2Wiki,

currently Wikka doesn't have ACLs at file-level so the only way to control who has access to uploaded files is to change the ACL of the page. We are all aware that fine-grained ACL for files would be an important enhancement and should look into this issue once the next release is out.
Comment by TmO
2007-03-08 11:28:00
Hello all..have a problem with files (or files download) actions and Firefox 2.. The last forward slash gets "translated" to a backslash..Works fine in IE. In files.php I am using the code to create download links that uses base_url & upload_path to create the links (the code using files.xml wouldn't create usable inks) - any ideas?
Thansk,
TmO
Comment by NilsLindenberg
2007-03-09 09:40:23
TmO, please try the solution from http://wush.net/trac/wikka/ticket/89 and tell us if that helps.
Comment by TmO
2007-03-09 11:36:55
Nils..Tried, but that did not do it. IE still worked, but FireFox had 2 backslashes (instead of 1). I am running Apache on CentOS 4.4 with Wikka 1.1.6.2 - TmO
Comment by TmO
2007-03-09 16:41:05
Nils - Got it, in the files.php it was .$this->config["base_url"].$upload_path."\\". changed to .$this->config["base_url"].$upload_path."/". works now in both browsers
Comment by FkleiN
2007-05-10 04:53:17
Hello,

I have a problem with the files action.
I am on a redhat entreprise linux 4 with php 4 ,apache 2 and mysql 5.
And when i upload some files ,the files are not in order with the "date added".
The order of the file in ramdom.
Can you help me? i don't understand. On my Debian serveur (unbuntu), the files action work and the files are in order, but not on my RHEL. Why?

Excuse my english, i'm a french student.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki