That depends on if you are using Friendly URLs or not. If you are, then the initial ? is necessary. If you are not, then the original URL index.php?id=xx is using that ? and WebLoginPE needs to use a & to start with.
http://www.example.com/index.php?id=4006?service=viewprofile&username=ibrownwhich produced a 404 error on my site.
<a href="[~[*id*]~]?service=with
<a href="[~[*id*]~]&service=all worked perfectly.
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!
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.
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!
« 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?
« 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