Jacquemin Serge
Forum Replies Created
-
Forum: Plugins
In reply to: [This page needs files] Not correct link for script in the headDid you add “console.log(‘test’);” a the top of your script to see if it loads properly?
Can you have this website (temporally) hosted on-line? So I could check what’s going on.
Forum: Plugins
In reply to: [This page needs files] Not correct link for script in the headNo, it’s a trick to lazy load the script. It’s another script (this page needs file’sone) which read this script tag and load the real thing (https://my-ste/new/wp-content/themes/Divi/js/savings-calculator.js).
Do you have any javascript error?
Did you try something simple like adding “console.log(‘test’);” a the top of your script to see if it loads properly?PS: also make sure you can access https://my-ste/new/wp-content/themes/Divi/js/savings-calculator.js
.Forum: Fixing WordPress
In reply to: Disable post from being accessible through URLPrivate is already used for excluding a post to appear on any page.
I don’t want the post content to be inaccessible.
I don’t want to include private post on my page.I just want to remove the direct access to a post content.
Forum: Plugins
In reply to: [This page needs files] Blank pageSince the issue came from PHP and not my plugin, I’m marking this topic as resolved.
Forum: Plugins
In reply to: [This page needs files] Blank pageCould you try the new version?
And tell me if you get any error message.
I’m expecting you to have an error “This version of PHP doesn’t support getConstants”.
It doesn’t work in a sidebar either.
What is this -32 code anyway?
Forum: Plugins
In reply to: [This page needs files] Blank pageI think you use a buggy version of php where getConstants just crashes (this bug happened on some of the 5.3 verions of php).
I’m serious about this.
Forum: Plugins
In reply to: [This page needs files] Blank pageOk, well I’m currently clueless because I replaced static/self with direct call to the classes.
line 12 should be :
$class::$List = array_flip($instance->getConstants());
(maybe you could check on that)I’ll get back in touch with you if I reach new enlightenment.
Forum: Plugins
In reply to: [This page needs files] Blank pageCan you download and try the 1.0.3 version, I made it to fix this issue*?
*this issue is not supposed to happen on PHP 5.3+ though.
Forum: Plugins
In reply to: [This page needs files] Blank pageCould you tell me “all” about your environment?
OS/PHP version/things you think might be particular/… ?
Forum: Plugins
In reply to: [This page needs files] Blank pageMaybe you could update your plugin to latest version (1.0.2) and see if it helps?
Forum: Fixing WordPress
In reply to: Are all those files executed?This makes things much more clear for me.
Thank you.
Forum: Plugins
In reply to: [This page needs files] Blank pageAw, sorry, I meant (forward) slashes.
<?php //defined('BE_MCH_TPNF')||die();
Forum: Plugins
In reply to: [This page needs files] Blank pageCould you try editing “requirements.php” from the plugin this-page-needs-files directory and comment the second line (add two backslashes in front of it)?
<?php \\defined('BE_MCH_TPNF')||die();
I’ll investigate what might go wrong about it in the meantime.
Forum: Plugins
In reply to: [This page needs files] Blank pageThat’s weird, because all the CSS and javascript implied should really be scoped to the plugin’s HTMl part only.
CSS looks like
#this-page-needs-files TD { ... }
Javascript uses jquery and goes like
$('#this-page-needs-files ...
Do you have any error showing in the browser console?
Is the main panel really all blank (no editor, etc) or could it be that the content is just far away from where you expect it to be?