1
chefry
Permissions problems with 2.5.6 RC 1
  • 2013/4/15 23:13

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


XOOPS Version XOOPS 2.5.6-RC1
PHP Version 5.3.5
mySQL Version 5.5.8
Server API apache2handler
OS WINNT

using

###### ApacheFriends XAMPP (Basispaket) version 1.7.4 ######

+ Apache 2.2.17
+ MySQL 5.5.8 (Community Server)
+ PHP 5.3.5 (VC6 X86 32bit) + PEAR
+ XAMPP Control Version 2.5 from www.nat32.com
+ XAMPP Security
+ SQLite 2.8.15
+ OpenSSL 0.9.8o
+ phpMyAdmin 3.3.9

Building a new site, I installed TDMPicture 1.05. and the problems mentioned in
this thread came up. I searched the forums and the last mention of these problems, with no fix or solution ever offered was 2011.

I finally got Tortisesvn to work and I was able to download 1.07, which has NEVER been mentioned in these forums.

I uninstalled 1.05 and deleted it from the local host.

I copied 1.07 to the modules directory and installed it. The problem with the categories has been solved. BUT, the only uploader requires the user to upload photos one at a time, with a maximum of 5. The java uploader is in the subdir, but is not running and does not appear.

I uninstalled 1.07 and went back to 1.05. I thought I might be able to fix the category problem myself.

I could not set the permissions in the module. I keep getting the error
"Could not reset group permission for module TDMPicture(tdmpicture_view)"

I uninstalled it, and re-installed 1.07. same problem
"Could not reset group permission for module TDMPicture(tdmpicture_view)"
and of course the uploader is not there


THen I tried to install Jobs 4.3 RC2 and got the error
"Could not reset group permission for module Job Listings(jobs_view)"
"Could not reset group permission for module Job Listings(jobs_submit)"
etc. etc.

I uninstalled 4.3 and installed mambas new 4.4 beta2
Same problem!

Went back to 4.3 and again, same problem.

I checked the Groups Manager and all the boxes are checked

2
Mamba
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/16 16:05

  • Mamba

  • Moderator

  • Posts: 11251

  • Since: 2004/4/23


We've made some security related changes in XOOPS 2.5.6, which will require slight changes to few existing modules in the permission area.

This will be documented in the release information on how to make those changes yourself, but all the modules that are part of the Basic Module Pack, will be certified for XOOPS 2.5.6

I've been sick with a flu, so I couldn't be as productive lately, but I hope, by the weekend things will speed up again...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
chefry
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/16 16:17

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


So, what do you think? A week?

And are TDMPictore and JObs part of the basic module pack?

4
jlm69
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/17 11:43

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I think I found an easy fix for the jobs module, go to admin/groupperms.php around line 33 and find this line:

include_once XOOPS_ROOT_PATH . "/modules/$mydirname/class/grouppermform.php";

replace it with this:

include_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php';

I think that will fix the problem.

Let me know,

John

5
Cesagonchu
Re: Permissions problems with 2.5.6 RC 1

It seems to work.
Please view following here.

6
chefry
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/17 18:16

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I made that change and I get

Resized Image


No template, no header, just a white page and the above

7
jlm69
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/17 22:14

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Do you have the debugging turned on in the Xoops preferences>general settings?
If not turn it on and see what the errors are, if any, and let me know.

John

8
Peekay
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/17 22:33

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:

Mamba wrote:
We've made some security related changes in XOOPS 2.5.6, which will require slight changes to few existing modules in the permission area.

Mamba, I confess I am a little disturbed by this comment. The user and group permissions features of Xoops is probably the one and only thing that sets it apart from other CMS solutions. It has worked flawlessly for years without any security issues that I am aware of. Tinkering with this and causing a failure (which has clearly happened) is not good to see. Why exactly have these changes been made and to what benefit?.

Quote:
This will be documented in the release information on how to make those changes yourself, but all the modules that are part of the Basic Module Pack, will be certified for XOOPS 2.5.6

That is very nice, but surely the path change alone will cause many other modules to fail?. This dependence on 'official' module packs is damaging Xoops reputation as a development platform. This type of change should have been documented *before* this particular version of Xoops was released.

9
chefry
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/18 1:00

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Quote:

jlm69 wrote:
Do you have the debugging turned on in the Xoops preferences>general settings?
If not turn it on and see what the errors are, if any, and let me know.

John


Fatal error: Class 'XoopsFormHiddenToken' not found in C:\xampp\htdocs\class\xoopsform\grouppermform.php on line 75

10
chefry
Re: Permissions problems with 2.5.6 RC 1
  • 2013/4/18 1:02

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Quote:

Peekay wrote:
[quote]

That is very nice, but surely the path change alone will cause many other modules to fail?. This dependence on 'official' module packs is damaging Xoops reputation as a development platform. This type of change should have been documented *before* this particular version of Xoops was released.


I have to agree. it seems to me that most modules will fail if they haven't been specifically designed or altered for 2.5.6. Sounds like the "Blue Move" project will be never ending

Login

Who's Online

72 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 72


more...

Donat-O-Meter

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

Latest GitHub Commits