Installed your plugin (Skydrv-hotlink) and activated it. Then it did this:
Complete blank. Would try deleting, but apparently will require me to use an SSH command. Any idea what might be happening?
Installed your plugin (Skydrv-hotlink) and activated it. Then it did this:
Complete blank. Would try deleting, but apparently will require me to use an SSH command. Any idea what might be happening?
Well that's unfortunate, I'm sorry to hear you're having trouble.
I looked at your site, and I can definitely see that there's a problem with the skydrive hotlink plugin.
I don't know what the problem might be.
One way to eliminate the plugin is to remove the .php file . This may not require SSH - you could do it via FTP and you could do it via a file explorer if your hoster provides that kind of access.
the file is ...wp-content/plugins/skydrv-hotlink/skydrv-hotlink.php
I can't tell what the problem is, but if you want me to look further into it, I can give it a shot.
Thanks for your reply!
Sadly, I tried deleting it through an FTP alone. It really does take root level access.
I will probably sudo in and delete it in the next day or so, but it would be great if you could take a look. I like Skydrive and would really like to use the plugin.
Is it possible to use the wp-admin backend?
( http://rivetr.com/wp-admin )
Or is that completely hosed too?
It's too bad that you don't have FTP access. That would be the easiest way to yank it.
No, it looks like the administrative piece is hosed, too.
Wow. I've never seen that before.
I can't imagine how this plugin could cause such problems.
It is a bit of a strange error. I have deleted the plugin through SSH and now the site is working normally again.
I'm glad you resolved it. Were you able to look at the files?
I'm wondering if they were transferred intact, or if one of them was somehow corrupted during install.
It's just so unusual. I've seen cases where a problem with a plugin causes an unpleasant error message, but never saw a case where it would just flatten the site.
Not sure if you're game for it, but the plugin has been updated since the version you tried to install. Consider giving it another shot.
I tried the file again and, unfortunately, same result. I was wondering whether the issue might be with the scraper. Is that possible?
Well I was able to run the scraper from your site, with no problem.
It didn't DO anything, but it didn't throw an error or freeze or deliver partial output. so that looks ok.
I requested http://server/wp-content/plugins/skydrv-hotlink/scraper.php and ... no problem.
Doing the similar thing for the skydrv-hotlink.php script, caused a failure.
------
When you said you "tried the file again"... did you get the latest version of the skydrv-hotlink download? Maybe the version you have is corrupted.
You can try installing this:
http://cheeso.members.winisp.net/source/wp/plugins/skydrv-hotlink/skydrv-hotlink-wp-plugin.zip
It's the latest version.
MD5: BFABAB84D234D8B6124ABB0199147E81
SHA1: 96A487F09255C92692F4D51DEA00845E033338F3
Ah, by "tried the file again" I did mean that I had gotten the latest version of the download.
I just tried the last plugin you sent. It uploaded just fine, as the others had, but will not activate. Is that intentional?
no, that's embarassing.
ok, if you please, download from this location again:
http://cheeso.members.winisp.net/source/wp/plugins/skydrv-hotlink/skydrv-hotlink-wp-plugin.zip
MD5: 57F860A5C907054CE074C06E9ED7D75B
SHA1: 3AF0338027FD4EF0BCA8C17F114FF9D2910EBD2D
it should activate this time. :/
My site crash when I installed a plugin at one point and I thought about it and I downloaded a duplicate zip file that was named file(1) and it broke the path. So I went into my cpanel and renamed the file and it worked just fine.
I tried this new download. It did activate, but sadly, no joy (crashed again, in the same fashion). Could the problem be with the host? Could a server configuration be the culprit?
Hmmmmm....
I don't know, I would have to guess. I've done a code inspection but didn't see any likely culprits.
Let's just check some basic things.
If those basic requirements are satisfied, the next thing I would do, if I were trying to figure this out, is turn on debug mode in WordPress. Do this by modifying the wp-config.php file, which should be in the root of your wordpress installation. There will be a line that looks like:
define('WP_DEBUG', false);
Edit that and replace "false" with "true" (no quotes). See also http://codex.wordpress.org/Debugging_in_WordPress This will not fix anything, but it will provide some additional diagnsotic information that may aid in determnining the problem.
I just updated the plugin to add more diagnostic messages. Download it again (same cheeso location) and re-try, if you're game.
I changed it to debug mode and installed it again. It failed on activation, but it shot out this error message:
skydrv_hl: definitions
skydrv_hl: variable init
skydrv_hl: register hooks
skydrv_hl: skydrv_hl_activate_fn
skydrv_hl: is_admin()
skydrv_hl: operational declarations
skydrv_hl: ajax setup
skydrv_hl: script block
skydrv_hl: ends
Fatal error: Call to undefined function mcrypt_encrypt() in /var/www/vhosts/rivetr.com/httpdocs/wp-content/plugins/skydrv-hotlink/skydrv-hotlink.php on line 356
Bingo.
Can you enable mcrypt on your php install?
I'll want to make the plugin more resilient in the face of such conditions.
Not sure how easy it would be to remove the mcrypt() dependency completely. It's there to prevent external access to the ajax resource.
I'll look into it.
Ok, I looked into it.
I have put together a modified version of the plugin that removes the hard dependency on mcrypt.
Try it and see. It is at the same cheeso url.
let me know.
Good news! I installed the modified version and it installed and activated without incident. One question: the Settings > Skydrive-Hotlinks page does not show any content. Is that to be expected?
Well that is good news. I'm glad it installed properly and is activated. Next question: is it working?
As for the admin settings - yes, well. In my efforts to figure out the problem you were encountering, I changed a bunch of things and one of the changes introduced that problem with the amdin form. Not a critical problem, and I had seen it before. Actually the latest zip downloadable from wordpress.org does not have the problem.
In a moment, I'll post an update to the cheeso URL which will eliminate that problem as well.
Whoops - that was not right. I saw another problem that would occur with the admin form if you do not have mcrypt (as in your case). I just fixed that and posted it to the cheeso url .
I think / hope that should be the last change.
That worked and the admin panel is displaying and working.
One last teeny, tiny issue (sorry!)
I entered the following to activate the plugin:
in this page:
http://rivetr.com/blog/2012/06/24/sky-drive-trial/
Sadly, it doesn't seem to download, but instead to default to a link. I realize that that is the default behavior when the download function fails, so I just want to check and see if my syntax was correct or if it was a plugin issue.
One last issue - hah that's funny. That "one last issue" basically means the plugin isn't working at all. You are very patient.
ok, I looked, and the link you are using for your skydrive doc is of a different form than I had seen previously. I've modified the pattern-matching so that the plugin will detect the form you are using, as well as the form I have seen in other cases.
Once again I posted an update to the cheeso URL and I'll be interested to hear from you if it finally works for you.
It works!!
Thank you for being so patient and troubleshooting all of these hitches. Also, I was looking at the source code for the plugin. Thanks for putting in such a lot of safety features (even if one did trip me up!).
Oh, I'm glad it works for you finally. Thanks for being persistent.
You must log in to post.