soeezauto
Forum Replies Created
-
Forum: Plugins
In reply to: [Instant Articles for WP] transfer articles from development to productionOk, found this out finally on the plugin settings.
Forum: Plugins
In reply to: [ULTIMATE TABLES] conflict with custom javascriptThere was some code on my custom script which probably should not be there and that Ultimate Tables did not like.
Just some document
$(document).ready(function() {stuff.Cheers!
Forum: Plugins
In reply to: [ULTIMATE TABLES] conflict with custom javascriptHold on with this, I seem to have found what the issue was. I will come back with a confirmation soon.
Forum: Fixing WordPress
In reply to: jquery do not seem to be loadedThanks, again.
I know the script is not very elegant, but it does work perfectly well. Outside WP, that is.
It seems clear that I have to remove the javascript event handler in the html and make a jquery setup, attaching to the element.
I would like to avoid that, as this script is used elsewhere.
Too bad.
In any case, thank you for showing me the way.
Forum: Fixing WordPress
In reply to: jquery do not seem to be loadedThanks Stephen
It is doing some of the things that are supposed to do, but it still have issues with some functions inside that file.
Or maybe the issue is with javascript event handlers.
So, unfortunately my problems did not end up there. It still seems to have issues reading that .js file.
I have a javascript onclick() event attached to a navigation menu that I am incorporating into WP, that looks like:
<button id="ad_call" class="btn" onclick="is_signed()" > <i class="fa fa-car"></i> annoncez-le</button>The is_signed() function is within the above file ( bpopup_16051.js ), but firebug gives me a reference error, not defined when I click on the button.
is_signed is :
function is_signed_account() { if (sess === 0) { $("#signin_button").click(); $("#login .account_notice, .signup_link").show(); $("#login_message").hide(); } else { location.href = '/mon-compte'; } }Thanks
Forum: Fixing WordPress
In reply to: jquery do not seem to be loadedWell, it is a bit stranger than that.
I did some additional testing and included the below code on top of the jquery file:
jQuery(document).ready(function($) { $('body').css('background', 'red'); });That works, but still it hangs on the $(window).width(); line
Forum: Plugins
In reply to: [Instant Articles for WP] URL not authorized by app configThanks Paulo
Ok, necessary but may be not so well disclosed.
I just tried that by adding the same domain,ie, soeezauto.ma/soeez-blog to both fields
Still, on the App Domains it will not accept it with the message that the App Domain should correspond to a few possibilities, including the site’s URL, which I believe it does.
Note that I am completely new to API’s generally and FB’s in particular.
I am not sure I should but I added the Facebook SDK code to WP’s body tag and tested it positively ( it is printing out the share buttons ).
Still it is not accepting the domain.
Thanks
BernardHi
Done as requested above.
Note that WAF is now active, which makes sense as the messages I got were for PHP warnings and notices.
I did enable errors display to test if there were errors when opening any articles and did not get any.
So, it might have been something at set up time.
Regards
Bernard
Hi
Thanks for your reply.
Ok, I’ve updated to latest Wordfence version and had all sorts of strange behavior after that.
I also added the php.ini file under public_html/wp and had the public_html/wp/.htaccess file include the command:
SetEnv PHPRC /home/soeezaut/public_html/wp/php.iniAfter cleaning everything up, what seems to be left is the following:
– if I just click on the ‘click here to configure’ button and then ‘continue’ I will get the message that Wordfence is unable to make changes to .htaccess file, possibly due to lack of permissions.
As far as I know, I do not have any permissions set up anywhere else, so that should not be an issue.– if I manually add the command on line 1 below to public_html/wp/php.ini, it will throw several notices and warnings starting with the one on line 2 below ( I do not know how to add a screenshot to show all errors, but I guess they all stem from this initial one):
1-
auto_prepend_file = '/home/soeezaut/public_html/wp/wordfence-waf.php'2 –
Notice: Undefined variable: _SERVER in /home/soeezaut/public_html/wp/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php on line 256I find it odd that $_SERVER is not defined. I did take a quick look at the script in question, but I am not knowledgeable enough to ascertain what is going on.
Thanks
Bernard
Trying some different scenarios
1 – starting situation, ie, no php.ini file on /public_html/wp/
This works normally, albeit without WAF configured. If I try to configure WAP will get error message that it is unable to change .htaccess.
The ‘not enough authorization message’ does not come up.2 – with empty /public_html/wp/php.ini
2.1 – get not enough authorization message
2.2 – Warning: array_merge(): Argument #2 is not an array in /home/soeezaut/public_html/wp/wp-includes/load.php on line 653- /public_html/wp/php.ini only with command
auto_prepend_file = '/home/soeezaut/public_html/wp/wordfence-waf.phpsame response as alternative 2
Interestingly, not getting the same error as before, as per original post.Well, it is worse than I thought.
Now I am unable to modify anything on WP.
Getting the ‘not enough authorization’ or something.
I saw another thread with the same issue, but no solution so far.
Did you have a sudden change of heart?
That’s the way your plugin worked till now.
Always get the first paragraph snippet to place on the description.
And it worked just fine too.
No need to reinvent anything.
Bernard
Forum: Plugins
In reply to: [Flowplayer HTML5 for WordPress] php error on all wp pages with latest upateJust to let you know that I placed the modified code on the script and things seem to be fine again.
ThanksForum: Plugins
In reply to: [Flowplayer HTML5 for WordPress] php error on all wp pages with latest upateThanks Ulrich.
Lets see if I can place your fix without causing any additional harm. Otherwise I will eagerly wait your update.
Forum: Plugins
In reply to: [WP Facebook Open Graph protocol] plugin does not get images from MetasliderThanks Chuck
I am not inclined to manually add an image to each post to accommodate the shortcomings of communication of plugins.
So, I will look for another solution.
Thanks anyway
Regards
Bernard