Comments (18)
Hello! I wanted to ask if you've been getting these errors as soon as you installed the plugin, or if these issues started happening a while after installing the plugin. If the latter, have you done anything major which might have affected the plugin? (i.e updating YOURLS?)
from yourls-password-protection.
Great question. I've had this plugin installed for many months, probably since the time I first setup my instance of YOURLS around 2 years ago. Everything was working fine until about January when I started to see these 500 errors.
To my knowledge, I have not done anything to modify my YOURLS instance in the last year. I have not performed any actions other than creating new short URLS. However, I notice that YOURLS released a new version, v1.7.3, on January 7th, almost exactly the date that this issue began: https://github.com/YOURLS/YOURLS/releases.
While I did not take any manual action to update my YOURLS instance, it appears that my instance was automatically upgraded to 1.7.3. My suspicion is that this new version of YOURLS is causing the plugin to not work correctly, but I'm not knowledgeable enough to state that definitively.
from yourls-password-protection.
Can you double check that the current version of the plugin you have installed is the most recent one. There was a modified version sent out 7 months ago, just wanted to check if you have the most recent one, or if you still have the older version.
from yourls-password-protection.
I currently have v1.1 of the YOURLSs Password Protection plugin installed.
from yourls-password-protection.
I see. I haven't been able to reproduce the issue on my end. I'm going to have to ask that you take a look at the Troubleshooting Tips on the YOURLS GitHub page (found here). Try monitoring these files and attempt to recreate the issue, this will ensure that the most recent error is the one related to the issue you are experiencing.
If possible, please upload the file (or at least the lines relating to the issue) here, so that I can assist you further.
from yourls-password-protection.
Alrighty, thank you for looking into this with me. I will report back if I uncover useful information.
from yourls-password-protection.
Hello! I wanted to check if you've made any progressing in searching for the issue.
from yourls-password-protection.
Unfortunately I cannot locate any server logs. My server doesn't seem to have any of the suggested locations listed in that troubleshooting article. I apologize for being unable to provide further info.
from yourls-password-protection.
Have you tried looking at the location of your apache logs for your specific operating system? For example, this?
from yourls-password-protection.
I met the 500 Error too and disable the plugin would avoid it. The bug appears when I upgeade to 1.7.3. And here is the server error log I found:
[Sat May 25 10:16:36.350148 2019] [php7:error] [pid 11687] [client ] PHP Fatal error: require(): Failed opening required '/home/admin/web/[DomainHere]/public_html/includes/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/admin/web/[DomainHere]/public_html/includes/load-yourls.php on line 8
[Sat May 25 10:26:19.613322 2019] [php7:error] [pid 28835] [client ] PHP Fatal error: Uncaught Error: Cannot access protected property YOURLS\\Database\\YDB::$option in /home/admin/web/[DomainHere]/public_html/user/plugins/yourls-password-protection/plugin.php:30\nStack trace:\n#0 /home/admin/web/[DomainHere]/public_html/includes/functions-plugins.php(152): warning_redirection(Array)\n#1 /home/admin/web/[DomainHere]/public_html/includes/functions-plugins.php(191): yourls_apply_filter('pre_redirect', Array)\n#2 /home/admin/web/[DomainHere]/public_html/includes/functions.php(709): yourls_do_action('pre_redirect', 'https://[DomainHere]', 302)\n#3 /home/admin/web/[DomainHere]/public_html/yourls-loader.php(65): yourls_redirect('https://[DomainHere]', 302)\n#4 {main}\n thrown in /home/admin/web/[DomainHere]/public_html/user/plugins/yourls-password-protection/plugin.php on line 30
from yourls-password-protection.
Just to confirm, when you had v1.7.2, the plugin worked perfectly, it wasn't until you updated to 1.7.3 that it began to fail, right? Or did you just do a fresh install of v1.7.3?
from yourls-password-protection.
Tough I had a long time doesn't use it, I can't confirm it clearly, but yes, it should works right when 1.7.2.
And the other thing is, the 500 Error also appears in admin interface, just like disable the plugin, it will meets 500 error at first then refresh the page would reload successfully, and the plugin has been disabled.
from yourls-password-protection.
When did you install the plugin? Could you send me your current plugin.php
file?
from yourls-password-protection.
Base on the server time record, I installed the plugin in Dec 1, 2017. Oh it actually quite old....
The plugin you can find it in here: https://mol.uno/opendownload/plugin.php
Hope I had not done any change cause error.
from yourls-password-protection.
I can't seem to download the file, however, based on the date the plugin was installed, I believe I have solved the issue. @CharlesMagnuson @LenKiMo - I believe both of you have the outdated version of the plugin installed. If you install the latest version you should see the plugin start to work again.
Please update me on if this fixes your problem.
from yourls-password-protection.
It since like everything back to all right. I tried some links and all of them work properly.
I will keep eyes on it if there is any other problem. Thanks for your information.
from yourls-password-protection.
No problem!
from yourls-password-protection.
I also did a quick update to the login screen, if you re-install the plugin.php
file, you'll see the updated login screen! If you like the current one, you are free to keep the current version.
from yourls-password-protection.
Related Issues (15)
- Plugin causing error 500 HOT 1
- Password Delete HOT 1
- Fatal Error after YOURLS 1.9 update. HOT 1
- installed and activated, but not asking for a password HOT 3
- Support pagination
- Support search short url
- Can't submit password HOT 3
- Is Password Protection plugin support yourls-api? HOT 1
- Sorry, but I think I have found a very easy way to crack this! HOT 2
- Text and border not visible in password dialog HOT 6
- 1.7.9 - does not work HOT 11
- About the problem of password forgotten HOT 1
- pre_redirect add_action not working HOT 2
- Errors when enabling plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yourls-password-protection.