1
jochen2011
Login fails 2.5x
  • 2011/7/16 22:55

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Since some days I cannot login anymore, neither as admin nor as a user.

After click on login, I see the message "Thank you for logging in...." and then it redirects to the index.php, but iI am not logged in.

I tryed already with another user.php-file and userinfo.php-file, but still the same.

Anyone an idea ?

Thanks in advance, Jochen

xoops 2.5.0
php5
mysql4

2
Mamba
Re: Login fails 2.5x
  • 2011/7/17 5:06

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Assuming that you haven't touch your site and didn't do changes recently, there could be three options:

1) your Sessions table needs to be repaired --> go to Admin and Maintenance and repair all the tables from there

2) You host changed your configuration (PHP or MySQL) and there is some kind of incompatibility. Check with your host about it.

3) You host moved you to another server and the sessions table is out of sync. Check with them and if they did, empty it and see if it helps. Also make sure that your /cache permissions are correct.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 10:02

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi Mamba, the problem is, Icannot login, so how to go on now ?

4
Mamba
Re: Login fails 2.5x
  • 2011/7/17 10:22

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You can repair the tables in phpMyAdmin
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 11:32

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


just repaired all tables vie phpmyadmin, but still the same

6
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 12:10

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


it started as follows:

when I was able to login (some days ago) I clicked on my username and I got a blank page only. Then I could not login anymore

So I replaced user.php and userinfo.php and still no login possible.

So all my work is for nothing ? Will I have to reinstall everything ?

7
markesh
Re: Login fails 2.5x
  • 2011/7/18 8:53

  • markesh

  • Just popping in

  • Posts: 79

  • Since: 2007/7/14


Hi, jochen,

some time ago I had the same problem.

There's a lot of possibilities causing the same result. In most cases it's a corrupted php file (e.g. main.php).

If you search this forum or GGL, you'll find a lot of solutions and suggestions. There's a chance that one of this will be *your* solution, but it's rather frustrating to try and try without success.

Though rather old, this page helped me to find out the cause for my problem.


hth & good luck
markesh
First German XOOPS book: XOOPS-Buch.de

8
ddmaxwell
Re: Login fails 2.5x
  • 2011/7/20 12:20

  • ddmaxwell

  • Just popping in

  • Posts: 15

  • Since: 2011/7/14


Quote:

jochen2011 wrote:
it started as follows:

when I was able to login (some days ago) I clicked on my username and I got a blank page wimdu. Then I could not login anymore

So I replaced user.php and userinfo.php and still no login possible.

So all my work is for nothing ? Will I have to reinstall everything ?


That is a real shame, hope that works out for you though!

9
Mamba
Re: Login fails 2.5x
  • 2011/7/20 19:23

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
So I replaced user.php and userinfo.php and still no login possible.

Did you run filecheck to make sure that all files are correct? Some of them, by its nature, like the mainfile.php will be different, but at least it will give you an indication that the files are not corrupted.

The next place will be to look at database.

If you repaired all tables, you might then deactivate all modules except the System module, by setting "isactive" in "modules" table to 0, and then see if it works.

If yes, then try to add one module at a time (be setting "isactive" to 1, and see if XOOPS shows up again. You might find one module that is causing the problems.

Before you test by adding the modules in the database, you might also have to delete all files from your /cache directories, except "index.html" files.

Let us know if any of these steps helped.

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

10
jochen2011
Re: Login fails 2.5x
  • 2011/7/22 10:06

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


After setting debug mode via phpmyadmin to 1 i get the following

Fehler
Hinweis: Use of undefined constant _OXYGEN_NEWS - assumed '_OXYGEN_NEWS' in Datei /modules/system/themes/default/default.php Zeile 89
Hinweis: Use of undefined constant _OXYGEN_SYSOPTIONS - assumed '_OXYGEN_SYSOPTIONS' in Datei /modules/system/themes/default/default.php Zeile 102
Hinweis: Use of undefined constant _OXYGEN_GENERAL - assumed '_OXYGEN_GENERAL' in Datei /modules/system/themes/default/default.php Zeile 174
Hinweis: Use of undefined constant _OXYGEN_USERSETTINGS - assumed '_OXYGEN_USERSETTINGS' in Datei /modules/system/themes/default/default.php Zeile 179
Hinweis: Use of undefined constant _OXYGEN_METAFOOTER - assumed '_OXYGEN_METAFOOTER' in Datei /modules/system/themes/default/default.php Zeile 184
Hinweis: Use of undefined constant _OXYGEN_CENSOR - assumed '_OXYGEN_CENSOR' in Datei /modules/system/themes/default/default.php Zeile 189
Hinweis: Use of undefined constant _OXYGEN_SEARCH - assumed '_OXYGEN_SEARCH' in Datei /modules/system/themes/default/default.php Zeile 194
Hinweis: Use of undefined constant _OXYGEN_MAILER - assumed '_OXYGEN_MAILER' in Datei /modules/system/themes/default/default.php Zeile 199
Hinweis: Use of undefined constant _OXYGEN_AUTHENTICATION - assumed '_OXYGEN_AUTHENTICATION' in Datei /modules/system/themes/default/default.php Zeile 204
Hinweis: Use of undefined constant _OXYGEN_MODULESETTINGS - assumed '_OXYGEN_MODULESETTINGS' in Datei /modules/system/themes/default/default.php Zeile 209
Hinweis: Use of undefined constant _OXYGEN_SYSOPTIONS - assumed '_OXYGEN_SYSOPTIONS' in Datei /modules/system/themes/default/default.php Zeile 216
Hinweis: Use of undefined constant _OXYGEN_SITEPREF - assumed '_OXYGEN_SITEPREF' in Datei /modules/system/themes/default/default.php Zeile 233
Hinweis: Use of undefined constant _OXYGEN_WEBSITE - assumed '_OXYGEN_WEBSITE' in Datei /modules/system/themes/default/default.php Zeile 239
Hinweis: Use of undefined constant _OXYGEN_XOOPSTHEMES - assumed '_OXYGEN_XOOPSTHEMES' in Datei /modules/system/themes/default/default.php Zeile 244
Hinweis: Use of undefined constant _OXYGEN_XOOPSMODULES - assumed '_OXYGEN_XOOPSMODULES' in Datei /modules/system/themes/default/default.php Zeile 249
Hinweis: Use of undefined constant _OXYGEN_SOURCEFORGE - assumed '_OXYGEN_SOURCEFORGE' in Datei /modules/system/themes/default/default.php Zeile 254
Hinweis: Use of undefined constant _OXYGEN_INTERESTSITES - assumed '_OXYGEN_INTERESTSITES' in Datei /modules/system/themes/default/default.php Zeile 257
abgelehnt
Abfragen
0.000973 - SET NAMES 'utf8'
0.000632 - SET SQL_BIG_SELECTS = 1
0.001485 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000717 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'l3qcro8f5n68ddtdblpiddh120'
0.000942 - SELECT * FROM users WHERE uid = '1'
0.000771 - SELECT * FROM modules WHERE dirname = 'system'
0.000925 - SELECT * FROM config WHERE (conf_modid = '1') ORDER BY conf_order ASC
0.000697 - SELECT * FROM modules WHERE dirname = 'protector'
0.000969 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000668 - SELECT COUNT(*) FROM protector_access WHERE ip='80.136.97.120' AND request_uri='/rlt/modules/system/admin.php?fct=maintenance&PHPSESSID=l3qcro8f5n68ddtdblpiddh120'
0.001020 - SELECT COUNT(*) FROM protector_access WHERE ip='80.136.97.120'
0.000692 - INSERT INTO protector_access SET ip='80.136.97.120',request_uri='/rlt/modules/system/admin.php?fct=maintenance&PHPSESSID=l3qcro8f5n68ddtdblpiddh120',expire=UNIX_TIMESTAMP()+'60'
0.000835 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000735 - SELECT * FROM modules WHERE (hasadmin = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
0.000648 - SELECT COUNT(*) FROM catads_ads WHERE uid = '1'
0.001398 - SELECT * FROM modules WHERE dirname = 'eguide'
0.001608 - SELECT * FROM config WHERE (conf_modid = '26') ORDER BY conf_order ASC
0.000723 - SELECT * FROM eguide_category WHERE catpri=0 ORDER BY weight,catid
0.001806 - SHOW TABLES
0.001253 - SHOW TABLES
0.000716 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
Zusammen: 21
Blöcke
Zusammen: 0
Extras
inbegriffene Dateien: 166 Dateien
Speicher: 5888376 bytes
Zeitmessung
XOOPS brauchte 2.284 Sekunden zum laden.
XOOPS Boot brauchte 0.476 Sekunden zum laden.
Module init brauchte 0.670 Sekunden zum laden.
XOOPS output init brauchte 0.043 Sekunden zum laden.
Module display brauchte 0.871 Sekunden zum laden.
Page rendering brauchte 0.223 Sekunden zum laden.


What is the "Oxygen-thing" ?

all files corupted ?

Login

Who's Online

159 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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