1
deka87
Registration issue with 2.4.0
  • 2009/10/27 17:54

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi guys,

i've upgraded to 2.4.0 on my local pc. everything seems to be perfect, however there is an issue with the profile module:

registration. the first step is alright but when i click submit and am supposed to be redirected to fill in complementary fields i get a blank page.


2
deka87
Re: Registration issue with 2.4.0
  • 2009/10/27 19:49

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


alright the issue is extended. when an anonymous user's trying to view a user's profile page he gets a blank page, though permissions are set alright.

3
wishcraft
Re: Registration issue with 2.4.0

Okey I will look into it now for you..

Thanks,

wishcraft

4
wishcraft
Re: Registration issue with 2.4.0

I could not reproduce the error, it is unusual what you say you are experiencing as the same routine produces the forms on both sides, perhaps you are missing a file or something

Resized Image

5
colossus
Re: Registration issue with 2.4.0
  • 2009/10/28 10:44

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Quote:
when an anonymous user's trying to view a user's profile page he gets a blank page, though permissions are set alright.


This error was to be found in XOOPS 2.3.1 also, and was fixed in later versions. Now, I can see it in XOOPS 2.4 too.

I think problem is in line 105 of /modules/profile/userinfo.php:

if ($GLOBALS['xoopsUser']->IsAdmin()) {


Changing it to this seems to solve the problem:

if ( is_object($GLOBALS['xoopsUser']) && $GLOBALS['xoopsUser']->IsAdmin() ) {


Hope this helps.

Regards: Colossus

PD: On your first report "blank page in registration process", as wishcraft states, I cannot reproduce it neither. It's working for me.

6
deka87
Re: Registration issue with 2.4.0
  • 2009/10/28 11:05

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


thanks guys!

Quote:

I think problem is in line 105 of /modules/profile/userinfo.php:


you're absolutely right! this solved the problem with the access.

Quote:

I could not reproduce the error, it is unusual what you say you are experiencing as the same routine produces the forms on both sides, perhaps you are missing a file or something


turned out that
AddType php4-script .php
Action php4
-script /cgi-php/php4
wasn't for good in my .htaccess. it was used to get my content module working since it works under php4 only. i put this lines under the content module folder and it fixed the problem with complementary fields.

now im absolutely happy with the upgrade especially as it fixed an issue with the profile search that hadn't worked after my upgrade to 2.3.3 from 2.2.4.

7
trabis
Re: Registration issue with 2.4.0
  • 2009/10/29 21:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Thanks guys!

8
rich1785
Re: Registration issue with 2.4.0
  • 2009/11/21 16:57

  • rich1785

  • Just popping in

  • Posts: 10

  • Since: 2004/1/3 1


I have just done a full new install, and what I find is that when a user gets to do a registration, and fill out the forms, then does the CAPCHA, then they get a blank screen. I have checked out the issue above, and the USERINFO.php is correct on line 105.

Any ideas? I am running 2.4.1 with php 4.49 and sql 4.1.22


Login

Who's Online

325 user(s) are online (187 user(s) are browsing Support Forums)


Members: 0


Guests: 325


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