-
AuthorPosts
-
April 20, 2018 at 6:18 am #11028
diyguruParticipantPlease Alex Help me on this I have posted a topic 19 hours ago please help me on this topic 401 errors .
1. wp-json/wplms/v1/user/wallet 401 ()
2. wp-json/wplms/v1/user/wallet/update 401 ()3. wp-json/wplms/v1/user/wallet 401 ()
4. wp-json/wplms/v1/user/subscribe 401 ()
Cannot read property ‘amount’ of undefinedAll these errors occured while accessing wallet.
Please help me on this.April 20, 2018 at 7:53 am #11036
AlexKeymastertry adding this chrome extension : https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
Make sure that your wplms theme and all its plugins are updated to latest version .
try adding this lin in your .htaccess file in your root of your site .
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
If above does not works then please share your site url and admin credentials to check this issue at your end .
Ps: mark reply as private while sharingApril 20, 2018 at 12:01 pm #11040
diyguruParticipantThank you for your reply Alex
for admin I used aws
SO In Aws where the root files on my site is present I have add this
<span style=”background-color: #f9f9f9; color: #444444; font-family: Inconsolata, Consolas, Monaco, ‘Lucida Console’, monospace; font-size: 14.4px; white-space: pre-line;”>SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0</span>
after #begin wordpress
Is it correct or not
April 21, 2018 at 5:38 am #11049
diyguruParticipantHi Alex ,Please reply the above
for admin I used aws
SO In Aws where the root files on my site is present I have add this
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
after #begin wordpress
Is it correct or not
April 23, 2018 at 5:33 am #11064
AlexKeymasternope in the end .If issue still not resolves then please share your site url , admin credentials and a valid ftp credentials to check this issue at your end.
April 24, 2018 at 7:50 am #11110
AlexKeymasterOk I checked your site and replicated the issue . I tried to find your ftps but could not find it .
Can you please share a valid FTP credentials to check this issue at your end deeper .I need to debug exactly where this issue is arising .April 25, 2018 at 6:48 am #11126
AlexKeymasterWell if possible please do share your ftp credentials .I guess for Aws we need a key file to connect via ftp .Or if possible share the cpanel Details . Basically I want to access your site files ,edit them to debug this 401 errors .
I also want to access your .htaccess file .April 26, 2018 at 6:23 am #11165
AlexKeymasterWell i have a little knowledge of putty and its a very hard to edit files using ssh (putty) in vim editor and checking it .It would be great if you could share FTP or SFTP of your server.
Meanwhile please try adding these lines also at the very end of your .htaccess file in your server .
RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
April 26, 2018 at 8:01 am #11173
diyguruParticipantHi Alex ,
I have added these lines in .htaccess file but it does not remove my error 401
RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
May 2, 2018 at 8:37 am #11342
AlexKeymasterWell im sorry the error is actually server related from the beginning .
Right now im seeing 500 servre internal error : http://prntscr.com/jco7csand site is not working .Actually checked your error log .
There were these two error :[02-May-2018 04:27:13 America/New_York] PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0
[02-May-2018 04:27:13 America/New_York] PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0
[02-May-2018 04:27:13 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library ‘/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so’ – /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Commented out the lines for the extensions in your php.ini file in root but its still not working .
-
AuthorPosts
- You must be logged in to reply to this topic.