Brian Humphreys
Forum Replies Created
-
Hi Joachim,
Here’s the link to imgur. As you can see it looks pretty normal.
Brian.Forum: Plugins
In reply to: [WP API SwaggerUI] Basic Auth enforced for allThank you Agus that works ??
Is there any way to pick up a schema or other more textual documentation that your swagger api can use?
It would be good to know before I start writing my knowledge base articles on my new REST API ??Cheers,
Brian.Forum: Plugins
In reply to: [WP API SwaggerUI] Basic Auth enforced for allOK I’ve done some digging.
It seems that my server has REDIRECT_HTTP_AUTHORIZATION without any value which is throwing the logic to try to take that non-existent value and turn it into a username/password.A simple fix would be to check for not empty after checking for the existence of the Server parameter in swaggerauth.php:
if ( $server->has( ‘REDIRECT_HTTP_AUTHORIZATION’ ) && !empty($server->get(‘REDIRECT_HTTP_AUTHORIZATION’))) {Hope you can include this fix (or similar) in your next release so that I don’t get wiped out on the next update ??
Many many thanks,
Brian.- This reply was modified 5 years, 7 months ago by Brian Humphreys.
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Oauth2 Namespace conflictsThat is brilliant, thank you so much Justin, really appreciated.
Brian.
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Client Authorisation no redirectHa! Now I feel like a dunce.
Plugin conflicts – Well they’re only doing what they’re configured to do.
I am running Theme-My-Login and the ‘redirect’ functionality to guide the user to their appropriate page when they login to my website.
This functionality appears to be over-ruling the Oauth2Server parameter to wp_login_url().I’ll investigate this one further Justin to see if I can get what I want.
But if you can still help me out on the ‘Namespaces’ thread I would really appreciate it – otherwise updates are going to be an absolute nightmare.
Cheers,
Brian.OK a long wait, but I’ve fixed it and I’m posting here to help anyone else out.
My problem was that I ported my live site to another environment to use as a staging environment. My Live site had an optimised firewall.
After the port, I cannot ‘Enable Firewall’ because it always errored. The optimisation MUST be removed to work in the new location (presumably re-enabled afterwards)
Follow the instructions here at the Wordfence help. You must do this operation manually – to do it automatically requires that the firewall is enabled, which it wont.
https://www.wordfence.com/help/firewall/optimizing-the-firewall/#remove-optimization-manually
After doing the business with the files …. NOW you can rebuild the configuration files by ‘clicking here‘ as it says :
The Wordfence Web Application Firewall cannot run. The configuration files are corrupt or inaccessible by the web server, which is preventing the WAF from functioning. Please verify the web server has permission to access the configuration files. You may also try to rebuild the configuration file by clicking here. It will automatically resume normal operation when it is fixed.
Then Bob’s your Uncle it works.
Cheers,
Brian.Hello Wfyann,
Thank you for your reply.
Yes I confirmed the owner of the files and folders with my hosting provider – that was one of the first things that I checked before I placed this support request.
It is peculiar and I’ve raised a support ticket with my hosting to see if they can see anything weird on the server.
Thanks,
Brian.Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Authenticate with AlexaThanks Justin,
What about with the non-CE version?
I need each person who wants to use the Alexa Skill to be able to individually authenticate and therefore go through the login process. Each person who logs in will get a different answer to their Alexa questions based on their own data.
Thanks,
Brian.Hi,
Yes it’s PHP 5.6
Thanks,
Brian.It looks like it’s linked to this notice message in debug.log
PHP Notice: Undefined variable: _SESSION in /var/sites/m/mr2dc.com/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 114
which also occurs at line 117 of class-coupon.php resulting in
PHP Warning: Invalid argument supplied for foreach() in /var/sites/m/mr2dc.com/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/class-coupon.php on line 119
- This reply was modified 7 years, 6 months ago by Brian Humphreys.
Closed
Forum: Plugins
In reply to: [WP Super Cache] Preloaded files are not servedClosed
Closed
Forum: Plugins
In reply to: [Collapse-O-Matic] High CPU on Edit PageI have been unable to find the cause of the problem. However since changing my hosting the magnitude of the problem has reduced significantly from ‘hanging’ for 30 minutes to 1 minute.
I have also identified a workaround of copying the content, refreshing the browser window and pasting the updated content.
As a result I have not been able to prove yet which plugin is causing the issue and so I’m closing this thread.
Thank you for the support you gave during my investigations.
Forum: Plugins
In reply to: [Collapse-O-Matic] High CPU on Edit PageHi Baden,
Yes, it happens on while I’m on the edit page – If I kill the edit page it all returns to normal. I’ve tried P3 but I’m not getting anything meaningful out of it at the moment, but I’ll keep plugging away.
Just doing a little more ‘playing’ and I appear to be able to reproduce it simply by entering the [expand] lots of text (as in a few lines) [/expand]. It appears to happen most reliably on the Visual editor.
my site is: https://wwwebbers.co.uk/
It’s a little slower than normal because I’m currently running on a Synology NAS at home.
It’s also a multi-site configuration if that has any bearing.
Thanks,
Brian.