1
davidtillyer
Can NOT log into Administration Menu

I'm having a BIG problems with the latest vision of XOOPS that I have uploaded.

I have given it an administrator user name & PW I login with this and see the "Administrator Menu" tab. However when I click on this to enter the admin section, I get the message "I'm not authorized"

How do I rectify this problem.
Kind Regards
David

2
jensclas
Re: Can NOT log into Administration Menu

if you are referring to 2.0.15 please make sure you have read related posts as some issues have been resolved. make sure you have followed this:
Quote:
Well the good news is that there is a fix for this.

Now - please note: this hasn't been fully tested as of yet, but it should sort out the problem.

I would recommend you fully backup database & site of course before usage....

Anyway - download this file - and replace the current version of /class/xoopsform/form.php with this. You will need to right click 'save as' and select all files as the file choice in order to save it as a .php file ready to upload.


Failing this:


Please help us help you: have you done this?
Before posting please do a search in the XOOPS top right "Search" box using appropriate "keywords" and find out if the subject has been dealt with before. Also look through the FAQ’s, especially if you're unsure what search words to use.

I couldn’t find any related issues by searching what next?
Give information about your site
Copy the following template into your post and fill-in as much information as possible. The more information you give, the more likely you will receive a quick and effective reply to your post.

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

Cheers

3
davidtillyer
Re: Can NOT log into Administration Menu

Thank you, for this I have done what you surggested with the form.php file and the problem still remains.

What is the next thing I can do?
Kind Regards
David

4
McNaz
Re: Can NOT log into Administration Menu
  • 2006/10/19 8:12

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Are you running any firewall software on your machine (ZoneAlarm... etc) ? If so then you might need to add your XOOPS site to your firewall's trusted sites list.

5
davidtillyer
Re: Can NOT log into Administration Menu

Thank you for that tip, I have tried that and its still the same. I want you all to be clear of the problem. I have a user name and password that I login with, then see the shot menu, I click on the "Administration Menu" tab and then I just get the message at the top of the page "You do NOT have the permission to access this page" and throws me out.

And I can NOT do anything to my site until I can access to the admin section.

PLEASE HELP.
Kind Regards
David

6
McNaz
Re: Can NOT log into Administration Menu
  • 2006/10/19 9:34

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Could be a case of your mainfile.php has a XOOPS_URL of www.mydomain.com but you have mydomain.com in your browser.

Check that the URL to your site on your browser is the same as it is in mainfile.php as www.mydomain.com and mydomain.com is not the same address as far as cookies are concerned.

You're not using the dreaded IE7 browser are you? You do know that IE7 is one of the signs of the Apocalypse? .

7
davidtillyer
Re: Can NOT log into Administration Menu

Thank you, for this tip. I have downloded this file "Mainfile.php" and opened this but it's a mass of code and I do not know where spacifcly to look. Can you point me to an area or list the line of code where I can search and see if my WWW is there.
Kind Regards
David

8
McNaz
Re: Can NOT log into Administration Menu
  • 2006/10/19 10:02

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://localhost/xoops');
    
define('XOOPS_URL''http://www.mysite.com');

9
davidtillyer
Re: Can NOT log into Administration Menu

Thank you, for pointing me in the right direction, but all seems to be correct, OR IS IT?
I have listed my examplt from my Mainfile.php.

IF this needs to be changed pls make them.
___________________

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.theeclub.com');
define('XOOPS_URL', 'http://www.theeclub.com');
____________________

Quote:

McNaz wrote:
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://localhost/xoops');
    
define('XOOPS_URL''http://www.mysite.com');
Kind Regards
David

10
McNaz
Re: Can NOT log into Administration Menu
  • 2006/10/19 11:17

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


When you bring your site up in your browser do you typehttp://www.theeclub.com orhttp://theeclub.com

If you bring your site up using the URLhttp://theeclub.com then the login will not "stick". You will need typehttp://www.theeclub.com into the address bar then login.

If this doesn't work then I'm stumped. The only other course of action would be to check the validity of your XOOPS installation by running the MD5 installation checker. I haven't got the instructions for that at hand but I am sure you quickly find it using the search.

Good luck.

Login

Who's Online

236 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

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

Latest GitHub Commits