1
tan60
Re: Modules permission not working when moving on new server
  • 2008/9/16 5:22

  • tan60

  • Just popping in

  • Posts: 4

  • Since: 2008/9/9 6


i ve found a temporary solution. It seems that in the file xoopsgroups.php, where it manages the permission of groups there s some inconvinience in the function &getByUser(&$user, $asobject=false)

in the condition:
if ( get_class($user) == "xoopsuser" )

it was always returning false, so no giving permission to anything to users and hence no blocks or modules displaying. If somebody knows why this can occur it can be interesting. Meanwhile i overpassed the condition with if(1).
Strange?



2
tan60
Re: Modules permission not working when moving on new server
  • 2008/9/15 15:45

  • tan60

  • Just popping in

  • Posts: 4

  • Since: 2008/9/9 6


I adapted the mainfile, with all the settings fine. It even can read from database, cause i can log in users, but is like they are not allowed with any permission (even when the table groups_users_link, groups_modules_link and groups_blocks_link are not corrupted, in the sense that i can make a query on them on any db manager. The site is:http://d12492.u38.baehost.com.ar/
You can try login in with:
user: rcm
password: pass12345
You will see thatyou are logged in and you cant see any block in mainpage or access any module.
About cache i deleted files in the cache folder of the main directory. Are there more folders? thanks!



3
tan60
Modules permission not working when moving on new server
  • 2008/9/15 4:26

  • tan60

  • Just popping in

  • Posts: 4

  • Since: 2008/9/9 6


Hi everybody. There was some migration on the server of my site, and i copied all the files, backed up and transfered the db of my site to the new server (php 5), and i can log in, but:
1) when i log in as administrator it doesnt gives me the option of Control Panel.
2) I cant access modules pages (forums, news...), with any kind of user.

Seems it s a permission problem, but i have no idea where to fix it.
If somebody can give me some advice i would appreciate it.
Thanks a lot



4
tan60
Modules access problems and administrator not recognized
  • 2008/9/9 6:22

  • tan60

  • Just popping in

  • Posts: 4

  • Since: 2008/9/9 6


Hi everybody. There was some migration on the server of my site, and i copied all the files, backed up and transfered the db of my site to the new server (php 5), and i can log in, but:
1) when i log in as administrator it doesnt gives me the option of Control Panel.
2) I cant access modules pages (forums, news...), with any kind of user.

Seems it s a permission problem, but i have no idea where to fix it.
If somebody can give me some advice i would appreciate it.
Thanks a lot




TopTop



Login

Who's Online

193 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

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

Latest GitHub Commits