<![CDATA[ WebLoginPE 1.3.0 Bug Reports - My Forums]]> https://forums.modx.com/thread/?thread=44117 <![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-457824 :-(]]> fabryshock Mar 06, 2013, 04:24 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-457824 <![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254402
Quote from: Gav at May 26, 2009, 11:23 PM

I also followed the advice above and altered a couple of the buttons by adding the word "simple" to the value string:
<button type="submit" id="wlpeSaveProfileButton" name="service" value="saveprofilesimple">Save</button>
<button type="submit" id="wlpeProfileDeleteButton" name="service" value="deleteprofilesimple">Delete My Profile</button>


This one change fixed everything.

Probably does not qualify as a bug, but it would save folks just starting out with MODx (like me) a lot of headache if the documentation and default templates for WebLoginPE could be updated to reflect this issue.

It’s a great Add-on BTW - Thanks Dr. Scottie Delicious
]]>
curmudgeon61 Feb 15, 2011, 12:32 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254402
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254401 Bug affecting version 1.3.1 (and maybe others)

If the database field content is blank for a given placeholder, like [+view.some_custom_field+], the placeholder is not replaced by blank content like we would expect.

If you want to display something different wether the field is empty or not, you cannot test for empty [+view.your_custom_field+].

Example
--------
Our snippet in a WebloginPE template:
[[Url_site_web? &url_site_web=`[+view.url_site_web+]` ]]


Wrong way to test for empty field:
<?php
  if ($url_site_web) {   // This test won't work.
     echo "The website url is ".$url_site_web;
  } else {
     echo "No website url given.";
?>


Correct way to test for empty field:
<?php
if ($url_site_web == '[+view.url_site_web+]') {
  return  'No website url given.';
} else {
  return 'The website url is '.$url_site_web; 
}
?>


]]>
Jul Jan 01, 2011, 12:12 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254401
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254400
When running the password reminder/activation page, I cut the activation code from the email, paste it into the activation key field of the form, enter my new passwords, submit the form and am told the activation key or passwords do not match.

After looking into it (and putting some printing in the code) I found that the pasted activation key carried an extra space! Since this is a typical user action, I decided to fix my local copy by adding trim() to each of the password checks (activationKey, activationPW, cacheKey, cachePW). It worked just fine then.

P]]>
phayes Nov 12, 2008, 04:35 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254400
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254399
Code as it stands at present:

[!WebLoginPE? &type=`simple`&liHomeId=`38`!]

**** New Info ****
Am experiencing these problems on IIS/PHP 5 server, snippet runs great on Linux/PHP 4 server.]]>
moniarde Nov 02, 2008, 07:23 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=19#dis-post-254399
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254398 Quote from: moniarde at Oct 31, 2008, 08:00 AM

« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »

PHP error debug
Error: WebLoginPE::require_once(manager/includes/controls/class.phpmailer.php) [function.WebLoginPE-require-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: ...\wwwroot\assets\snippets\webloginpe\webloginpe.class.php
Line: 148
Line 148 source: require_once(’manager/includes/controls/class.phpmailer.php’);

Parser timing
MySQL: 0.0067 s (5 Requests)
PHP: 0.0723 s
Total: 0.0790 s
Is the file manager/includes/controls/class.phpmailer.php actually there?]]>
sjh_vt Nov 02, 2008, 07:04 AM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254398
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254397
I did just post in another WebLogin thread, but as this is the place for bugs...

I’ve just upgraded WebLogin to 1.3.0 as I thought that 1.0 may not be functioning correctly. However 1.3.0 has brought up an error:

« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »

PHP error debug
Error: WebLoginPE::require_once(manager/includes/controls/class.phpmailer.php) [function.WebLoginPE-require-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: ...\wwwroot\assets\snippets\webloginpe\webloginpe.class.php
Line: 148
Line 148 source: require_once(’manager/includes/controls/class.phpmailer.php’);

Parser timing
MySQL: 0.0067 s (5 Requests)
PHP: 0.0723 s
Total: 0.0790 s

I’m running this on a new PHP 5.0 IIS server, maybe there’s something wrong there? Can someone please help me out with this?

Ta.
]]>
moniarde Oct 31, 2008, 03:00 AM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254397
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254396
2sjh_vt: Yeah, i figured that too. And that actually makes it interesting: how come i’ve been the only one to report this issue until now? Or how did others deal with it? I guess they didn’t chmod to 777. grin]]>
nikku Oct 10, 2008, 07:10 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254396
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254395 Quote from: nikku at Oct 10, 2008, 11:27 PM

PHP error debug
Error: move_uploaded_file(/home/rivvi138/domains/orient.ru/public_html/200_48eb903403518.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied
Error type/ Nr.: Warning - 2
File: /home/rivvi138/domains/orient.ru/public_html/assets/snippets/webloginpe/webloginpe.class.php
Line: 2532
Line 2532 source: if (!move_uploaded_file($_FILES[’photo’][’tmp_name’], $userImage))


So, upload doesnt work neither for register nor for a profile. Help please, I actually changed WebLogin to WLPE for a Userpic support! huh huh
I’ve noticed this also. The clues are: the path to your document root and ’permission denied’ What seems to be happening (and I haven’t looked into why) is that the uploaded pic is temporarily saved to your document root of your website. Then moved to the /assets/snippets/webloginpe/userimages folder. You get the ’permission denied’ error because your document root does not have 777 permissions. If you chmod the public_html folder to 777 it will work, but it’s not a good idea to run your site this way.]]>
sjh_vt Oct 10, 2008, 07:04 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254395
<![CDATA[Re: WebLoginPE 1.3.0 Bug Reports]]> https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254394 Quote from: nikku at Oct 10, 2008, 11:27 PM

hi, i’ve noticed a strange bug on my website using wlpe 1.3.1 and modx 0.9.6

i can’t upload userpic, i get modx parse error


PHP error debug
Error: move_uploaded_file(/home/rivvi138/domains/orient.ru/public_html/200_48eb903403518.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied
Error type/ Nr.: Warning - 2
File: /home/rivvi138/domains/orient.ru/public_html/assets/snippets/webloginpe/webloginpe.class.php
Line: 2532
Line 2532 source: if (!move_uploaded_file($_FILES[’photo’][’tmp_name’], $userImage))


So, upload doesnt work neither for register nor for a profile. Help please, I actually changed WebLogin to WLPE for a Userpic support! huh huh

There was a accidental bug that got put into the 1.3.1 release. Basically, some code was called twice. The fix should still be here on the first page (busy --- don’t have the time to fish it out ATM).]]>
Soshite Oct 10, 2008, 06:44 PM https://forums.modx.com/thread/44117/webloginpe-1-3-0-bug-reports?page=18#dis-post-254394