11
zyspec
Re: The process has been expired, please go back to try again.
  • 2010/9/6 14:58

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


XOOPS has had SESSION problems in the past - have you tried disabling the use of 'custom sessions'?

12
GPboarder
Re: The process has been expired, please go back to try again.

Thanks, but still no luck.

Custom session or not, same error.

I have a site I use for development, (dev.mysite.ca) it has 2.3.1 on it and the registration works perfectly so I think that rules out the server.

I haven't had the time to disable the modules one at a time. Will try that next.
Optimism is the mother of disappointment.

13
GPboarder
Re: The process has been expired, please go back to try again.

I disabled all modules but the system and profile. Still the same result.

Do you think upgrading to the latest version is likely to sort the problem for me?
Optimism is the mother of disappointment.

14
ghia
Re: The process has been expired, please go back to try again.
  • 2010/9/7 6:37

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I don't think any of the modules can influence on this.
It is a fundamental problem with a security handler in XOOPS, that makes use of the session variables.
If your session table is somehow broken or you have other session related problems (cookies, session settings of XOOPS and of the server), then you can have that message.
Did you a repair of the table?
Sometimes a drop of the table and a recreate of the table can be a solution. For the recreate get the create table SQL code from a known good backup or from /install/sql (prefix!).
Do you have additional data (field sess_data) in your sessions table record (see your IP in sess_ip), before and after you display the register form?
The message is generated by:
if ($current_step && !$GLOBALS['xoopsSecurity']->check()) {
    
redirect_header('user.php'5_PROFILE_MA_EXPIRED);
    exit();
}
in /modules/profile/register.php

Where there some messages under the Extra section in the debug?
Beware: only to see when the redirect is done after the submit of the form! (Use stop or enlarge the time in the redirect_header.)

15
GPboarder
Re: The process has been expired, please go back to try again.

I did a repair of the database.

Creating a table is not something I am comfortable with. I'll have to work on that.

There were three messages under the Extra in the debug:

Token Validation: No valid token found in request/session
Included files: 55 files
Memory usage: 3163136 bytes

Quote:
Do you have additional data (field sess_data) in your sessions table record (see your IP in sess_ip), before and after you display the register form?


I don't have the technical knowledge to know how to answer this as I don't understand the question.
Optimism is the mother of disappointment.

16
ghia
Re: The process has been expired, please go back to try again.
  • 2010/9/8 3:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I did a repair of the database.
You have to do specific a repair table in phpMyAdmin.
It is the same as executing following SQL:
REPAIR TABLE `xoops_session`
(xoops is to be replaced by your prefix.)
Quote:
I don't have the technical knowledge to know how to answer this as I don't understand the question.
It is also in phpMyAdmin and browsing the sessions table, where you look for your record by the ip field. Then you see some data in the data field and when you display your register form and you look again to that data it should be changed.

17
GPboarder
Re: The process has been expired, please go back to try again.

Managed to drop the sessions table and recreate it from scratch using the working dev one as a template.

I guess it worked because I can still login to the site but new registration still not working.

Optimism is the mother of disappointment.

18
GPboarder
Re: The process has been expired, please go back to try again.
  • 2010/9/14 12:43

  • GPboarder

  • Friend of XOOPS

  • Posts: 248

  • Since: 2006/10/6


In viewing that table, it looks that the IP is not registering when I fill in the first registration page and enter the captcha. So when I am receiving the error, looks like the data is not getting to that table.
Optimism is the mother of disappointment.

19
ghia
Re: The process has been expired, please go back to try again.
  • 2010/9/14 13:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


From the moment, you go to the registration form in your browser (/register.php), you should have a sessions record with your IP in the sessions table.

20
GPboarder
Re: The process has been expired, please go back to try again.
  • 2010/9/14 16:59

  • GPboarder

  • Friend of XOOPS

  • Posts: 248

  • Since: 2006/10/6


I can't check immediately, but will look at it again when I get home. I don't believe I am getting that entry in the table.

Does the entry occur only for registration, or whenver someone logs in?
Optimism is the mother of disappointment.

Login

Who's Online

405 user(s) are online (309 user(s) are browsing Support Forums)


Members: 0


Guests: 405


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