SmartDown blanking out plugins page
Got a site where they use MarkDown, figured this would be good. But uploading it to my plugins folder blanks out the Plugins page on the site, v1.6.8 (build 20090915 I'm afraid).
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Stephen Lewis on 27 Mar, 2010 12:23 PM
Hi Adam,
Did you copy the
smartdownfolder to your plugins directory, along with thepi.smartdown.phpfile?Cheers,
Stephen
3 Posted by adam on 29 Mar, 2010 09:06 AM
Yes I did.
Support Staff 4 Posted by Stephen Lewis on 29 Mar, 2010 09:12 AM
OK, are any of the following plugins still installed?
pi.mardown.phppi.smartypants.phppi.markypants.phpIf so, could you remove them, to see if it's a conflict with those plugins please?
Thanks,
Stephen
5 Posted by adam on 29 Mar, 2010 09:47 AM
That was quick. Had Markdown, removed it, still blank. No error message either, even with error_reporting(E_ALL) set in the site's system folder index.php.
Support Staff 6 Posted by Stephen Lewis on 29 Mar, 2010 09:59 AM
Very strange. Are you definitely running PHP 5?
Cheers,
Stephen
7 Posted by adam on 29 Mar, 2010 10:21 AM
Yes, 5.2.11
Support Staff 8 Posted by Stephen Lewis on 29 Mar, 2010 12:24 PM
Adam,
Can you comment out the two
require_oncelines at the top of thepi.smartdown.phpfile, and see whether that at least allows the Plugins page to display?Thanks,
Stephen
9 Posted by adam on 29 Mar, 2010 01:54 PM
Good call, yes, with them commented out the plugin page now displays again.
Support Staff 10 Posted by Stephen Lewis on 29 Mar, 2010 05:07 PM
Hi Adam,
OK. The problem is that SmartDown can't load the required files for some reason.
You confirmed that the
smartdownfolder (and its contents) are definitely present in thepluginsdirectory, so we can rule that out.That leaves either read permissions on the
smartdownfolder (and its contents), or some problem with the built-in ExpressionEngine plugin path variable.Regarding the latter, if you've moved the system folder above the root, that could potentially cause a problem; have you?
Cheers,
Stephen
Support Staff 11 Posted by Stephen Lewis on 30 Mar, 2010 10:24 PM
Hi Adam,
Any news on this?
Cheers,
Stephen
12 Posted by wcbaker on 01 Apr, 2010 11:47 AM
Stephen, I'm having the same issue. I've tried setting permissions on the smartdown folder and it's contents to 777, but that didn't help. I also tried to see if PHP could get to the file using
var_dump(file_exists(PATH_PI .'smartdown/markdown/markdown.php'));and it returned true. Any other thoughts?Support Staff 13 Posted by Stephen Lewis on 01 Apr, 2010 11:57 AM
Hi Wes,
Just to confirm that it is the same issue, does commenting out the
require_oncelines solve the white screen problem?Cheers,
Stephen
14 Posted by wcbaker on 01 Apr, 2010 12:07 PM
Yes, as soon as I get rid of that the plugins page loads just fine.
Support Staff 15 Posted by Stephen Lewis on 01 Apr, 2010 02:00 PM
OK, this is really baffling me.
Could you echo out both
require_oncepaths, and confirm that they're correct, please?And could you also confirm that there aren't any other add-ons (plugins or extensions, specifically) that use their own Markdown or SmartyPants classes?
The only ones I'm aware of are the Markdown and SmartyPants plugins, but you may know better.
If both of those are dead-ends, the only other thing I can think of is that your
open_basedirsettings may be causing problems. No idea how though, given that SmartDown is trying to load a file from within the current directory tree...Let me know how you get on.
Cheers,
Stephen
16 Posted by wcbaker on 01 Apr, 2010 04:06 PM
I hadn't tried removing
pi.markdown.phpsince I saw Adam had no luck with it, but once I removed that it started working again.I appreciate your help with this.
Support Staff 17 Posted by Stephen Lewis on 01 Apr, 2010 04:10 PM
Hi Wes,
Excellent. Just as well really, I was out of ideas!
You're welcome, glad you got it all working.
Cheers,
Stephen
Stephen Lewis closed this discussion on 01 Apr, 2010 04:10 PM.