DobsonDev
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Fatal error after updating to version 0.13.2I actually just tried the install again and it worked… they have already done something and just pushed the changes to the 0.13.2 branch as of 7 minutes ago and it appears to work again now.
I just rolled back to 0.13.1 as mentioned in the above comments. Then I tried the install again through WordPress and everything works for me now.
- This reply was modified 5 years, 12 months ago by DobsonDev.
Hello –
I’ve come up with a fix. I tried to check if the class already existed but that caused issues in that if you loaded the plugins out of order then you would get the same error.
What I ended up doing was renaming my Parsedown class from it’s default name to a plugin specific name. This does mean that potentially two instances of Parsedown could be loaded but the effect on performance is basically nothing.
Everything is working now so update your plugin with version 2.1.12 and everything should work.
Thanks for letting me know about this issue.
Hello –
I’m working on a fix now and will update you when I’m done. I’ve installed the other Harrix Markdown plugin and am working to get both working at the same time.
Thanks!
- This reply was modified 6 years, 3 months ago by DobsonDev.
Forum: Plugins
In reply to: [DobsonDev Shortcodes] Could not embed pdf documentsI’m going to mark this as resolved in the mean time. I hope you can find what’s causing the problem!
Forum: Plugins
In reply to: [DobsonDev Shortcodes] Could not embed pdf documentsDo you happen to have any plugins that you think might prevent linking a file from another website or anything? I would try deactivating some plugins and seeing if it works after that.
Do you have an error log or anything with your hosting that could tell you more?
The other thing you could try is going right into the HTML editor and putting this in and seeing if it works:
<object type="application/pdf" data="http://porttownsendrotary.org/Jumping-Mouse-Story.pdf" width="100%" height="600"></object>That is what code my plugin should generate anyway so you could try to put that directly into the HTML editor and see if you can see anything. If you can’t see anything by putting that directly in it may be your hosting setup that is causing the issue.
Forum: Plugins
In reply to: [DobsonDev Shortcodes] Could not embed pdf documentsAre you using Gutenberg or the Classic editor? I just ran a test on my testing site and I got the file to embed no problem with the exact same shortcode you used.
** EDIT ** I just tried it out in Gutenberg as well and it worked fine again for me.
I think the next step would be to disable plugins and see if deactivating any of the plugin fixes the problem.
Forum: Plugins
In reply to: [DobsonDev Shortcodes] Could not embed pdf documentsCan you send me a link to where you tried to embed the document? Also can you send me a copy of the Shortcode you used to do the embed?
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workSounds good! Thanks for working through everything with me! Hopefully it gets figured out!
Thanks again too for using the plugin!
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workWeird… I thought you said before that you had it working but then it stopped randomly after right? Maybe this one will do the same thing? It’s odd that it’s so hit or miss right now but I have a feeling it might be the hosting. I can’t think of what else it could be at this point.
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workIt looks like the page where you embedded the link just forwards to the repository now (I assume you did this since the pictures weren’t loading) so I can’t really take a look at see if anything is happening on the page.
I’ve actually tried the shortcode out on some other sites I manage just to test it out and the pictures loaded on all of them. I even tried different hosting platforms just to be sure and still everything loaded, so it makes me think it had something to do with your host or one of the other plugins on the site. Have you tried disabling all the other plugins on the site and seeing if it works then?
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workCan you send me the link to the page where you are trying to link the shortcode so I can take a look there?
I will definitely take a look at the Parsedown library and try to give it an update today to see if that works any better.
—
I’ve updated the plugin to include the newest version of Parsedown. I’ve also taken a look and there is no additional parsing done by the plugin, I just retrieve the README file and then run it through Parsedown after it’s been run throughbase64_decode().Hopefully that will solve the problem. Let me know!
- This reply was modified 8 years ago by DobsonDev. Reason: Updated the Plugin
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workGlad you found that – it’s odd though since I could get it to load before that but I’ll try to take a look into it when I have time and see. It could be you have some extra code in your Theme or something that required the edits to be made to the README file.
I’m really happy you got it fixed though!
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workI’m going to mark this as resolved for now. If you find out more please just reply and we’ll keep looking at a solution!
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workYeah it depends on your hosting service how you would check it out. Often times there is a cPanel or something like that you can login to and then there’s an “Logs” section in there where you can view it.
The library I’m using to parse the Markdown is called Parsedown (http://parsedown.org/) and it says that it’s been tested in PHP 5.3 to 7.1 so that shouldn’t affect it in any way.
The other thing you might want to check is that your quotation marks are just regular quotation marks (not the kind with directions) and that your shortcode isn’t embedded in any code tags or anything. Sometimes if you copy paste from my examples it ends up doing weird things.
If you want to make sure it doesn’t have the weird quotations or anything feel free to copy from this pastebin: https://pastebin.com/VaLdjVc9. It has just the regular quotations and copying from there should keep it that way.
- This reply was modified 8 years ago by DobsonDev. Reason: Added Pastebin link
Forum: Plugins
In reply to: [DobsonDev Shortcodes] shortcode doesn’t workHi Moritz,
I just tested our your shortcode on my website and it worked, so I’m thinking it has something to do with your hosting maybe that isn’t allowing it to run the Markdown Library I use with the plugin. Do you happen to have access to your PHP error log or anything like that?
You can view my working version here: https://dobsondev.com/testing-page/.
- This reply was modified 8 years ago by DobsonDev.