31
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/7 10:15

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Hi Anakin :d
The php version of jadoogaran website is 5.2.17 as i mentioned in the first post.
XOOPS Version XOOPS 2.5.5
PHP Version 5.2.17
mySQL Version 5.0.92-community
Server API cgi
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc Off
allow_url_fopen Off
fsockopen On
post_max_size 8M
max_input_time 60
output_buffering
max_execution_time 30
memory_limit 32M
file_uploads On
upload_max_filesize 100M

the server information is not related to this specific problem because i install a test website just inside the root.
main website: jadoogaran.org
test website: jadoogaran.org/test255

It seems the problem in xoops.ir is related to something else because many links are blank and if you just update the php version so obviously it is related to this recent upgrade.

در ضمن من بهت زنگ زدم یه کم باهات کار دارم
D:

32
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/8 5:37

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


finally the problem is solved.
i deactivate all modules one by one and found that the problem is "mediawiki 1.71"
https://xoops.org/modules/repository/singlefile.php?cid=101&lid=1772

after deactivate this module everyone can see other profiles both with 1.63 and 1.76.

please change the status of this topic to solved.

Edit:
@ Mamba:
btw you still use mediawiki in xoops.org and i suspect that you compatible it with the recent xoops core

33
Mamba
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/8 7:01

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Quote:
btw you still use mediawiki in xoops.org and i suspect that you compatible it with the recent xoops core

No, we didn't touch Mediawiki for several years now.

While I am glad that it's being solved, I am curious what was the reason in Mediawiki...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

34
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/8 8:02

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

Mamba wrote:
While I am glad that it's being solved, I am curious what was the reason in Mediawiki...

Thanks very much.
now I found it too
There is a line in /modules/mediawiki/LocalSettings.php that set the memory_limit
It was 20M in my website therefore the root of the issue of the memory allocation error comes from this setting.
I just change the line as below and extend the memory_limit:

# If PHP's memory limit is very low, some operations may fail.
@ini_set( 'memory_limit', '32M' );

35
Mamba
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/8 8:05

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Quote:
It was 20M in my website therefore the root of the issue of the memory allocation error comes from this setting.

Excellent! I am glad that the reason has been found, and that it was not XOOPS
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

36
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/8 8:20

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


while it is a setting issue but please note that this is the default setting of mediawiki module. ( I download the zip file now and check the line in modules/mediawiki/LocalSettings.php and it is 20M )


Therefore IMO users of mediawiki should be notified about changing this setting after upgrade to xoops 2.5.X 2.5.4 2.5.5 and others. ( I hoped they can google and find this topic )

37
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/6/9 6:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


After some more blank pages occurs for some users belonged to groups Numbered 29 and 30 i have to increase this value to 64M now.
64M is really high memory usage.
this module is old and need an urgent develop

38
trabis
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/11/26 13:54

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I suposed the blank page comes from the "Recent Activities" box when it tries to get info from mediawiki. Mediawiki seems to be using getObjects wich can easily exhaust memory if not using limits.

Perhaps you should deactivate the mediawiki seach function in xoops_version.php
Change
$modversion['hasSearch'] = 1;

To
$modversion['hasSearch'] = 0;

39
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/11/27 4:50

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


my server increase the RAM so i think i cannot test it.
but anyway i did it and will tell you the result.

Login

Who's Online

165 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

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

Latest GitHub Commits