11
rossb
Re: New users: cannot register with firefox, chrome, can with explorer
  • 2019/12/20 16:24

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


If I comment the opname check:
if (isset($_SESSION[$opkey])) {
    
$current_opname $_SESSION[$opkey];
    unset(
$_SESSION[$opkey]);
    
//if (!isset($_POST[$current_opname])) {
    //    $_POST = array();
    //}
} else {
    
$_POST          = array();
    
$current_opname 'op'// does not matter, it isn't there
}


registration proceeds; proving that $_SESSION and $_POST are outa sync.

It comes down to how / where does the registration submit button get the op POST variable?

Need some help here...

Regards;
Bill

12
geekwright
Re: New users: cannot register with firefox, chrome, can with explorer

Looking at the network log in both chrome and firefox, there are two fetches to modules/profile/register.php each time it is accessed. There is no redirect involved, but register.php is being run twice. This would account for the difference in the variable name.

This does not happen anywhere else I have checked, including xoops.org.

13
geekwright
Re: New users: cannot register with firefox, chrome, can with explorer

Possibly this line in the rendered pages:
<div style="background: #F1F1F1 url('')">
A blank url equates to the same url as the page.

14
rossb
Re: New users: cannot register with firefox, chrome, can with explorer
  • 2019/12/20 20:22

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


The load twice is because (I think) of the op value mismatch causing fail and reload
Hi Geekwright;

First time through:
$_POST: [op97211] => register
$_SESSION: [profile_opname] => op67782

not equal.

The submit button is instantiated in modules/profile/include/forms.php. I am unsure how / where from the $_POST [op97211] is for the button.

changed <div style="background: #F1F1F1 url('')"> to <div style="background: #F1F1F1">. No behavioral change. Verified changed in page source.

Would it help you to have remote access to my sys?

Regards;
Bill

15
rossb
Solved: New users: cannot register with firefox, chrome, can with explorer
  • 2019/12/20 21:04

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


Hi Geekwright;

Allofa sudden started working.
Reverted all my instrumentation changes, back to original register.php

Can complete registration process with both chrome and FF.

<div style="background: #F1F1F1 url('')">


must have been the offender. Just took time to ripple through the caches.

You da man. In a million or so years, I MIGHT have found the issue. THANK YOU very much...

Regards;
Bill

16
geekwright
Re: Solved: New users: cannot register with firefox, chrome, can with explorer

Awesome! Good to hear it is working.

17
goffy
Re: New users: cannot register with firefox, chrome, can with explorer
  • 2019/12/21 10:09

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


who can fix this?
it seems that some of my clients have same problems

sorry, didn't see last answers.

then I have to investigate what is the problem with my clients

18
rossb
Re: New users: cannot register with firefox, chrome, can with explorer
  • 2019/12/21 11:34

  • rossb

  • Just popping in

  • Posts: 77

  • Since: 2006/8/28


my issue was in custom theme code, doubt it is yours:

<div style="background: #F1F1F1 url('')">


... causing a double reload of all pages

fix:

<div style="background: #F1F1F1">


This also appears to be the cause of performance issues I have been chasing for some time.

Regards;
Bill

Login

Who's Online

177 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 177


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