Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 + 9 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: I have an error in the profile module when I close session and user registration
by oswaldo on 2021/7/20 1:43:26

Thanks for the info, I will do everything you tell me and I will update the core
Re: I have an error in the profile module when I close session and user registration
by geekwright on 2021/7/19 19:47:13

No, it isn't really OK.

To use XoopsCore25 2.5.11-Beta2 you need to take the complete latest master branch from https://github.com/XOOPS/XoopsCore25

You have a newer version of htdocs/modules/profile while the rest of htdocs is older. You should find xoops_setcookie() used nearly everywhere, as setcookie() is avoided in core except in very limited cases and in the implementation of xoops_setcookie() in htdocs/include/xoopssetcookie.php included by htdocs/include/common.php

This is a very important change for compatibility with newer PHP versions and evolving web standards.

See: https://github.com/XOOPS/XoopsCore25/pull/1026 for details on this new function and the reasons for it
Re: I have an error in the profile module when I close session and user registration
by oswaldo on 2021/7/18 15:33:28

A question to the masters

I have been looking for the xoops_setcookie function in the entire htdocs folder, using Replace Studio and I only found it in the user.php file in the profiles module and in main.php in system module preferences, in the files checklogin.php, common.php, functions.php, session.php, smarty.class.php, cookie.php, user.php and others from the core, only setcookie appears, I deleted xoops_ from the word xoops_setcookies from lines 88 and 89 of the user.php file of the profiles module, leaving only setcookies and the error disappeared.

Is it okay to leave it like that or not?

I'm using
XOOPS 2.5.11-Beta2
PHP 8.0.3
mySQL 5.5.5-10.4.18-MariaDB
Profiles 1.91
Re: I have an error in the profile module when I close session and user registration
by oswaldo on 2021/7/17 15:14:32

Thanks i will do IT
I'm using te bootstrap 3 theme
Re: I have an error in the profile module when I close session and user registration
by goffy on 2021/7/17 7:40:35

hi oswaldo

theme: i meant whether you are using xbootstap, xswatch or what else.

because if it is the same with another theme we would know whether the problem is located in the theme files or not ;)

as I also cant reproduce your error I think that there is a problem with your XOOPS installation, maybe is one of the necessary files or folders broken or not readable. maybe you should overwrite your XOOPS with the actual version from https://github.com/XOOPS/XoopsCore25

Who's Online

656 user(s) are online (610 user(s) are browsing Support Forums)


Members: 0


Guests: 656


more...

Donat-O-Meter

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

Latest GitHub Commits