1
peterr
Can't access admin ?
  • 2010/2/15 11:08

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


I can login to our XOOPS website (it gives the msg about successful login), but it then won't display the admin side of things.

If I try http://example.com/admin.php , it says "You do not have the right to access this area".

The website has been moved to another server some months ago, and I haven't logged in for a while, so may be permissions ?

I use protector.

There is only one user (me), and the rank is 7 , and the level is 5.

If I lookup the XXXXXXX_ranks table, number 7 is the highest rank.

Any ideas of why I can't access admin ?

Pete


2
ghia
Re: Can't access admin ?
  • 2010/2/15 11:28

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
The website has been moved to another server some months ago
Did you erase the contents of the cache directories (except index.html)?

3
peterr
Re: Can't access admin ?
  • 2010/2/15 11:42

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


No, I didn't do that.

I checked that path, besdies index.html, there was only adminmenu.php. I tried to delete it, no go, it was 444. Changed that to 644, still no go. Changed the cache path from 555 to 755, back into cache path, and still can't delete adminmenu.php

Looks like I'd better contact the chap who looks after the server I think. Seems to be a file perms issue on the cache path.

Thanks for your help,

Pete

4
peterr
Re: Can't access admin ?
  • 2010/2/15 11:54

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Cache has been cleared, and I still get the message ?

5
peterr
Re: Can't access admin ?
  • 2010/2/15 12:30

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


The perms have been changed, still the same message. For some reason, XOOPS doesn't "think" that I am 'admin' ?

6
peterr
Re: Can't access admin ?
  • 2010/2/15 13:06

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


I can login (I get the msg), the db says there is only one user. I login as _that_ user. That user has full admin rights (I checked the db).

So, .......... why does XOOPS think that I'm _not_ admin ?

Also, a check on the db, and no data has been changed, not that I can see anyway. The file perms are okay.

What gives ? :(

Pete

7
Mamba
Re: Can't access admin ?
  • 2010/2/15 13:19

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


* Did you change the PHP version on the new server?
* What version of XOOPS do you use?
* Try change cache to 777
* Did you turn the Debug on? What does it say?

8
ghia
Re: Can't access admin ?
  • 2010/2/15 13:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


PHP and MySQL version?
(If you suspect Protector, you can turn it temporary off in its preferences.)

9
peterr
Re: Can't access admin ?
  • 2010/2/15 13:43

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Quote:

Mamba wrote:
* Did you change the PHP version on the new server?


I don't know if PHP changed at the time of the move. Definitely, both php, MySQL and apache, and kernel changes would have happened since I have last tried to login. The server details now are:

Kernel version    2.6.18-128.7.1.el5
MySQL version    5.0.89
-community
Apache version    2.2.13
PHP version    5.2.10


One thing I have noticed, is that when I do login, it displayed the PHPSESSIONID in the browser. I'm 98% sure it did not do this before, and I _think_ I had XOOPS set not to do that, but to use it's own cookie ID ?? It's been a year or so since I logged in.

Quote:

Mamba wrote:

* What version of XOOPS do you use?


in /modules/system/xoops_version.php, it has

$modversion['version'] = 1.02;


Quote:

Mamba wrote:
* Try change cache to 777


Yes, I did try that, still no go.

Quote:

Mamba wrote:
* Did you turn the Debug on? What does it say?


I can't access admin, so can't turn debug on. I guess I can change it in the db though, as long as it only displays messages (debug) for my session only. I wouldn't want any browser info displaying php stuff.

Thanks,

Pete

10
Mamba
Re: Can't access admin ?
  • 2010/2/15 13:48

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
in /modules/system/xoops_version.php, it has

check /include/version.php
define('XOOPS_VERSION', 'XOOPS XXX');

Login

Who's Online

356 user(s) are online (260 user(s) are browsing Support Forums)


Members: 0


Guests: 356


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