1
mitty
wmpdownloads permission problem
  • 2005/3/30 11:29

  • mitty

  • Just popping in

  • Posts: 8

  • Since: 2004/9/12


Hi,
I just moved my XOOPS site to a new server and for some strange reason whenever anyone tries to view a category or download a file in the wmpdownloads module, it shows the XOOPS permission denied page. The group permissions are set right and I have no idea what's causing this. Any similar problems or solutions?

2
brash
Re: wmpdownloads permission problem
  • 2005/3/30 13:17

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Weird . What version of PHP and MySQL is the new server running? Do any of the debug modes show anything? Are you able to verify from looking at your wmpdownload tables directly that the permissions are set correctly in the database?

3
fredski
Re: wmpdownloads permission problem
  • 2005/3/30 13:54

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


Try using WF-Downloads instead.

It has a better permission system so that you can set different permissions for each download category.

Also it has an upload feature that wmp dosn't have. wmp will only allow users to link to a download (leech) from another site.

4
mitty
Re: wmpdownloads permission problem
  • 2005/3/30 20:18

  • mitty

  • Just popping in

  • Posts: 8

  • Since: 2004/9/12


The server has PHP 5 and MySql 4.1 (I think it's 4.1).
I copied the sql table directly from the other server so it should work the same, and I copied the module files directly too. What's really weird is that if I set it so anonymous users can access the download module, it works. What do you mean by debug modes? There aren't any PHP errors on the page, so I'm assuming you meant that :/

And I would consider another module if I didn't have like 400+ files in the downloads section. I also wouldn't want an upload feature; I'm dealing with big files and upload them via FTP to my server and then link to them.

5
astaldaran
Re: wmpdownloads permission problem
  • 2005/3/30 21:32

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


I use wf-downloads and when you go to download something it always tells me "headers already sent" so yeah hassn't gone live yet...

6
mitty
Re: wmpdownloads permission problem
  • 2005/4/1 21:24

  • mitty

  • Just popping in

  • Posts: 8

  • Since: 2004/9/12


Well since I couldn't afford the downtime, I reinstalled another dl module and re-added all the files. Thanks for your help anyway though.

7
dpawlowski
Re: wmpdownloads permission problem
  • 2006/2/2 12:43

  • dpawlowski

  • Just popping in

  • Posts: 1

  • Since: 2006/2/2 9


groupaccess.php

There is problem with array_merge() in PHP5.

You have to change line:

$grps = array_merge( $xoopsUser->getGroups(), XOOPS_GROUP_ANONYMOUS);

to line:

$grps = array_merge( $xoopsUser->getGroups(),
(array)XOOPS_GROUP_ANONYMOUS);

Regards,
Dariusz,

8
drkih
Re: wmpdownloads permission problem
  • 2007/12/17 6:04

  • drkih

  • Just popping in

  • Posts: 1

  • Since: 2007/2/22


I had the same problem, and now I have fixed it using the above mentioned method. Thanks for providing the solution. It is really helpful!

Login

Who's Online

316 user(s) are online (248 user(s) are browsing Support Forums)


Members: 0


Guests: 316


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits