EastDevonAlliance
Forum Replies Created
-
Forum: Plugins
In reply to: [FL3R FeelBox] Use of ids rather than classesP.S. I pressed post before adding my thanks for working on these improvements for me. ??
Forum: Plugins
In reply to: [FL3R FeelBox] Use of ids rather than classesFirstly…
1. Thanks for looking into this so promptly.
2. For a first plugin, this is a really nice idea and overall well implemented.
But…
1. You have NOT replaced ids with classes at all yet – just in case you don’t understand, ids have to be unique on a page, so that means to have multiple copies on a page you either need to keep track of the instances of your plugin on a page and append a numeric sequence number to the id to make them unique, or you should switch to classes – or use a mixture of the two i.e. classes for css formatting and ids with sequence numbers for objects that the JS has to access. Obviously your javascript needs to be updated to work with these changes. For webmasters like me, using classes for formatting is preferable so we want to override the css.
2. You have only prefaced some of the ids and none of the classes with feelbox. This needs to be consistent.
3. Yes – I have done exactly that – but since you can do it with CSS, it is more friendly to provide an option for the user to disable it.
6. is less important – as I have adjusted the CSS for this to make it look like an h3.
For me, 1. and 2. are the most important.
My site is hosted by 1and1 and I do not get a 500 error with the new version.
Forum: Plugins
In reply to: [Dashboard Log Monitor] Cannot fix log formatI fixed this by looking at the log-parser code which allows header variables like %{User-agent}i which have two hyphenated parts but not %{X-Forwarded-For}i which has 3 hyphenated parts.
Forum: Plugins
In reply to: [jQuery T(-) Countdown Widget] Change Minutes to minsEasiest way to make changes which won’t get overwritten is to use the Word Replace plugin.
That is the minimal htaccess needed for Permalinks. So it is almost certainly not the htaccess which is causing the 500 error.
So I guess it is something in your configuration or theme or plugins.
I don’t think I can help more here.
Paul
My site is hosted by 1and1 and it works fine.
htaccess is not as far as I know provided by 1and1. Some plugins create entries in it.
Please post it here and I will take a look.
Ah yes – so you were – and OP said that it solved it for him.
Still unclear why clearing the cache would solve a 500 error though – though Super Cache may add stuff to htaccess which would cause this.
Forum: Plugins
In reply to: [jQuery T(-) Countdown Widget] Few minor issues with Ajax versionI note also that when my PC is doing other stuff, the timing of the countdown is a bit erratic sometimes more than a second, sometimes less – see point 4b above for a potential cause.
@s.petroni – why do you think that would solve a 500 Internal Server Error issue?
(But worth trying none-the-less.)
P.S. This is NOT a problem with the newer version of Countdown – it is a problem with your server configuration.
yrisse3: As per your other thread, the new version uses ajax to set the countdown so that the page can be cached.
So the new version calls https://croisiere-tour-du-monde.info/wp-content/plugins/jquery-t-countdown-widget/js/now.php and as I said in the other thread, the 500 Internal Server error is likely to be an issue with your htaccess file. (It works fine on my site.)
The previous version 2.2.17 does NOT use ajax and doesn’t call this new file, so doesn’t create the error – but unless you fix your server configuration you will not be able to update this plugin, nor will you be able to use page caching to speed up your site (by 2-5 times!!!).
If you want to post your htaccess file here, then we can try to work out what is causing the issue.
Forum: Plugins
In reply to: [jQuery T(-) Countdown Widget] css in cild themePlease provide a link to your site so we can take a look at how your CSS is being applied.
yrisse3: when you run https://croisiere-tour-du-monde.info/wp-content/plugins/jquery-t-countdown-widget/js/now.php you get a 500 Internal Server Error.
Since you are running Apache, this is typically an issue with configuration of your .htaccess file which is presumably being triggered by the new version of this plugin trying to run a php file directly which is down in the plugins directory.
Hope this helps. You really don’t want to be stuck on back-level software if you can help it.
Forum: Plugins
In reply to: [jQuery T(-) Countdown Widget] Few minor issues with Ajax versionP.S. Code could be simplified in the main php file to:
$date[$i] = array( (int)floor($d/100), (int)floor($d/10)%10, (int)$d%10, (int)$d );
Site link: https://www.eastdevonalliance.org.uk (cached)