Error: You do not have the required permissions to view a downloadable file

M.J.
Joined: 20 Apr 2009

Error: You do not have the required permissions to view a downloadable file

Posted:20 Apr 2009 (17:51 UTC)
Hello everybody

I`ve just installed bitweaver 2.6 with IIS (5.2) and MySQL on a Windows machine. The installation process was running fine and everything went through without any mistakes.

When bitweaver was installed I was a bit confused to see this:



But I went on with a testupload (treasury package) because I had several problems with it on other installations. And thats the main reason why I`m writing here. When I upload a file to a file gallery (as admin) I got the error:

"You do not have the required permissions to view a downloadable file"


The admin account has all permissions so there must be an other problem. I`ve tried nearly everything the last week (also installtion on apache causes this mistake.)

Is there any solution to this problem?

best regards,
apsit
Lester Caine
Joined: 24 Apr 2004

Re: Error: You do not have the required permissions to view a downloadable file

Posted:21 Apr 2009 (13:59 UTC)
I am afraid none of the main developers have access to IIS, which is making testing some of these problems a little difficult. We have been trying to establish what IIS is doing with the .css files, and need to know if the location provided in the page source actually exists on the IIS site. These should be cached via the storage directory.

I've standardised on fisheye for file gallery so can't comment on treasury. Too much flecability that one can't test every combinations :(
Bobby Richardson
Joined: 15 Aug 2006

Re: Error: You do not have the required permissions to view a downloadable file

Posted:24 Apr 2009 (15:20 UTC)
When you created the gallery, did you make it Publically Visible?
M.J.
Joined: 20 Apr 2009

Aw: Error: You do not have the required permissions to view a downloadable file

Posted:27 Apr 2009 (14:51 UTC)
Yes the gallery was Publically Visible.

I`ve tested it with the fisheye package and there the upload worked fine...So if I could fix the problem with the topbar I would be happy.
Lester Caine
Joined: 24 Apr 2004

Re: Error: You do not have the required permissions to view a downloadable file

Posted:27 Apr 2009 (18:57 UTC)
I do recall a problem with downloading when PEAR:HTML is not installed. That affected treasury but not fisheye if I remember. But I had thought that the LibertyMime upgrade replaced it ...
M.J.
Joined: 20 Apr 2009

Aw: Error: You do not have the required permissions to view a downloadable file

Posted:12 May 2009 (09:12 UTC)
Hey guys,

thanks for your help. Finally I have decided to install a virtual machine with Ubuntu on it. Installation of Bitweaver has worked fine on Ubuntu but still I had some issues with uploading files. I have found a solution online, where someone has just deleted some code:

If I change line 244 of TreasuryItem.php from:
foreach( $pStoreHashmap_store>'map_store'galleryContentIds>'galleryContentIds' as $gcid ) {
to
foreach( $pStoreHashgalleryContentIds>'galleryContentIds' as $gcid ) {

(Hope I am allowed to post that here!?)

For me this has worked great!
Lester Caine
Joined: 24 Apr 2004

Re: Error: You do not have the required permissions to view a downloadable file

Posted:13 May 2009 (15:37 UTC)
This has been identified and cleared up in HEAD
The problem is actually between tags and treasury, and tags is using the same
['map_store']
as treasury - so the tags ones have been changed to
['tag_map_store']

Maxim

Re: Error: You do not have the required permissions to view a downloadable file

Posted:09 Jun 2009 (11:45 UTC)
Lester,

Any idea when a fix for this will come through is an official release? We can upload files but they cannot be added to galleries, and cannot be deleted. File uploading is mission critical for us.
Lester Caine
Joined: 24 Apr 2004

Re: Error: You do not have the required permissions to view a downloadable file

Posted:12 Jun 2009 (15:01 UTC)
Just drop into tags/LibertyTags.php and make the above change - there are 12 entries to change, but replace all should do it ;)

Release is likely to be a bit longer as a few other changes need checking.
Maxim

Re: Error: You do not have the required permissions to view a downloadable file

Posted:23 Jun 2009 (01:23 UTC)
In my file tags/LibertyTag.php there seemed to be only 3 instances that needed to be changed.... does that sound right? Most references in the file were correct in my version.
  Page 1 of 2 »1 2