21
Mamba
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/4/15 13:03

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
but LF files are waste of time on Transifex.

I am not sure I understand it. Why is it "waste of time"?

Reg. the ozp11 quote, he had a problem with his editor "EditPlus", which was back in 2004. Even in 2007 there were issues with EditPlus.

Each good editor should recognize transparently LF or CR+LF and respect it, and nowadays all of them do.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

22
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/4/16 9:49

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

if you like living on the edge , try to update to XOOPS 2.5.5 from the SVN and see if it makes any difference.

I surely will upgrade when i find some time. but i think this issue will not solve.

Quote:

Nowadays everybody is using LF - that's the standard. For example, see Drupal and Typo3.

yes. but what is the technical reason?

i could not reproduce this issue on a fresh install too.

Mamba please let us know whether xoops.org has more than 20 custom groups? also please test with an example user belong to group id 2 and 20 and some others.

i will try to import xoops_user table from jadoogaran.org to my test site to reproduce the issue there.


23
Mamba
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/4/16 10:20

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
yes. but what is the technical reason?

Fromhttp://en.wikipedia.org/wiki/Newline:

Quote:
The seemingly more obvious choice of CR was not used, as a plain CR provided the useful function of overprinting one line with another, and thus it was useful to not translate it. Unix followed the Multics practice, and later systems followed Unix.


I guess, it is also good for consistency...

Quote:
Mamba please let us know whether xoops.org has more than 20 custom groups? also please test with an example user belong to group id 2 and 20 and some others.

Unfortunately, we cannot test it here, because we have different setup here, i.e. Group #2 is the Anonymous Group, so we cannot assign somebody to it.

But I tested it locally on my test site, and there was no problem.

Quote:
i will try to import xoops_user table from jadoogaran.org to my test site to reproduce the issue there.

Please keep us posted...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

24
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/4/21 7:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Finally i could find something to follow.
i upgrade the profile module from 1.62 released in core package to 1.76 by wishcraft
with xoops 2.5.4 and profile 1.76 by wishcraft i have a fatal error just for some non admin users:
Fatal errorAllowed memory size of 20971520 bytes exhausted (tried to allocate 75 bytesin /home/****USER***/public_html/kernel/object.php on line 182

the memory limit in the server is 64 MB.

there is no error for webmasters and guests in browsing profiles.

25
Peekay
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/4/21 10:49

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Do you get the same problem with the official Profile module? I assume it is easy enough to disable one and install the other as they are both working with the same Xoops group structure.
A thread is for life. Not just for Christmas.

26
irmtfan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/6 5:47

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i upgrade to xoops 2.5.5 and the problem still remains.

with profile version 1.63 (the core module) just receive a blank page.

with profile version 1.76 by wishcraft i have the below error:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 72 bytes) in /home/***USER***/public_html/kernel/object.php on line 175

line 173-176 of kernel/object.php:
function initVar($key$data_type$value null$required false$maxlength null$options ''$enumerations '')
    {
        
$this->vars[$key] = array('value' => $value 'required' => $required 'data_type' => $data_type 'maxlength' => $maxlength 'changed' => false 'options' => $options'enumeration' => $enumerations);
    }


27
Mamba
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/6 7:39

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
with profile version 1.63 (the core module) just receive a blank page.

I've tried on several different Websites (locally and on-line), and could not replicate it.

If you want, email me Admin access info to your Website, and I'll take a look.

It's impossible for me to do anything, if I cannot replicate it.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

28
Peekay
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/6 23:50

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


The groups error is almost certainly a bit of flawed logic in the code that only kicks-in when the group number hits 20. If it is a core groups issue (not a Profile module issue) then I think someone in the core team should consider this a bug report and take a look at it.

For blank pages, if there is no PHP or Xoops debug error displayed, often the server log will reveal the problem. Note the time, click the link and check the log.

I think you need to PM the module developer for help with the other Profile module as it is not really a Xoops 2.5 issue.

I really wish this LF issue could be kept out of threads where someone is having a problem with a module because it will have absolutely nothing to do with it. It's a problem encountered by some third-party translation software and has nothing to do with Xoops.

A thread is for life. Not just for Christmas.

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

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


This issue is really complicated because no body can reproduce it until now.
i tried to reproduce it by installing a fresh xoops 2.5.5
i copied following tables from the main website to the test site.
PREFIX_groups
PREFIX_groups_users_link

PREFIX_profile_category
PREFIX_profile_field
PREFIX_profile_profile
PREFIX_profile_regstep
PREFIX_profile_visibility

PREFIX_users

but the test website works without any error both with profile 1.63 and 1.76.
Also it seems the whole setting of profile module is not in the profile tables because after i copied the above mentioned tables i still had to set the accessibility and other settings of profile module in /modules/profile/admin/permissions.php manually.

i will try more to find something to follow but any idea can help me a lot.


30
voltan
Re: userinfo.php blank page for some users in xoops 2.5.4 and profile module
  • 2012/5/7 9:49

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


@ irmtfan : what is your PHP version?
We update one of our servers to php 5.3.10 and we have same problem whit profile module and some part of newbb module. I check whit xoops 2.5.x,

please check this urls :

http://www.xoops.ir/modules/profile/userinfo.php?uid=581
http://www.xoops.ir/modules/newbb/viewtopic.php?topic_id=2604&forum=31&post_id=18512

Login

Who's Online

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


Members: 0


Guests: 173


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