61
peterr
Re: Can't access admin ?
  • 2010/2/16 3:05

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Having the modified php.ini in a temp folder did set the session.use_only_cookies to 'On", but even after I also copied it to /include and the web root path, I still wasn't able to access admin, despite the fact that I was logged in.

Is there any way to see why XOOPS won't let me into admin ?

Pete



62
peterr
Re: Can't access admin ?
  • 2010/2/16 2:34

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Have checked the php settings from an old .htaccess file, to the servers php.ini , and the only setting that actually needs changing is

session.use_only_cookies 1


to ..

session.use_only_cookies 1


Hopefully that will fix the problem.

Pete



63
peterr
Re: Can't access admin ?
  • 2010/2/15 13:57

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Quote:

ghia wrote:
Quote:
it displayed the PHPSESSIONID in the browser
You mean in the URL?
That is not normal, XOOPS uses cookies for that.
Check the documentation of your hoster about sessions.


Yes, it displays it in the URL. Cookies, yes, I'm sure I had XOOPS configured so that it used a different cookie name also, but if i check cookies in the browser (firefox), only PHPSESSIONID is there, not the one I setup in XOOPS.

I will check a few things with the hoster about sessions.

Quote:

ghia wrote:
XOOPS version is in /include/version.php


Thanks, that was just posted, in the previous post.

Pete




64
peterr
Re: Can't access admin ?
  • 2010/2/15 13:52

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


<?php

// $Id: version.php 1236 2008-01-08 23:00:25Z phppp $

define("XOOPS_VERSION","XOOPS 2.0.18.1");

?>




65
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



66
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



67
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' ?



68
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 ?



69
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



70
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 tryhttp://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





TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 49 »



Login

Who's Online

195 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

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

Latest GitHub Commits