MyrddinDE
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalink Structure changed, looking for rewrite helpThis suddenly stopped working on my site for an unknown reason. Did too many changes before I noticed the error. Instead of rewrite I use redirect now.
RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*) /$4/ RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)/ /$4/
Hope that helps!
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Font-face not working in FirefoxHah, got it working by changing the apache config:
<FilesMatch "\.(ttf|otf|eot|woff|font.css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*.myrddin.de" </IfModule> </FilesMatch> AddType image/svg+xml svg svgz AddEncoding gzip svgz AddType application/vnd.ms-fontobject eot AddType font/truetype ttf AddType font/opentype otf AddType application/x-font-woff woff
And using the following CSS
@font-face { font-family: 'Copperplate Gothic Light'; src: url('font-webfont.eot'); /* IE9 Compat Modes */ src: url('font-webfont.eot?iefix') format('eot'), /* IE6-IE8 */ url('font-webfont.woff') format('woff'), /* Modern Browsers */ url('font-webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('font-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ }
Hope that helps people a lot of time searching, spent almsot 5 hours on this ??
To convert your truetype font into the abov ementioned formats I have used Font Squirrel
And you can see it here in action (reworking sections atm, hence the sidebar is “empty”). The font issues just bugged me, had to understand why it wasn’t working after activating W3TC with a CDN
kind regards,
Michael
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Font-face not working in FirefoxGreat advices here, thanks, I’d prefer a solution implemented though. How is that working out so far?
Forum: Plugins
In reply to: [WoW-Character-Display] [Plugin: WoW-Character-Display] Armory movedFunny enough, the RSS feed frmt eh characters still gets updated, but I tried to leave a comment at the authors site 1.5 years ago and he wanted to look into it ??
Its pretty much dead, but I do not know an alternative.
What worked for me, was to not use teh delivered .css but to add the code in my own style.css
Then I replaced the teh add to any icons with some bigger ones in the installation folder..addtoany_share_save_container{clear:both;line-height:32px;margin:16px 0}.addtoany_list{display:inline}.addtoany_list a{padding:0 4px}.addtoany_list a img{border:none;height:48px;opacity:.7;overflow:hidden;vertical-align:middle;width:48px}.addtoany_list a:hover img,.addtoany_list a.addtoany_share_save img{opacity:1}iframe.addtoany_special_service{padding:0 9px;vertical-align:middle}a.addtoany_share_save img{border:0;width:48px;height:48px}
https://test.myrddin.de/?p=2662 you can see it in action there (48×48)
Here 2 more screenshots,
1) this is what is being displayed right after logging on: no dashboard
2) and here a list of tables: tables in miniadmind. As you can see the role scoper tables are goneedit: sorry, wrong post
still no access
removed the super cache directory
tried to reload, shift reload, clear browser cache, different browser, no success
I do not really hve access to .htaccess files. They are hidden on FTP, was just able to display the files with a php file manager I have uploaded to the site.
/www/html/wp-content/uploads/.htaccess is nonexistant
/www/html/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # BEGIN WPSuperCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / AddDefaultCharset UTF-8 RewriteCond %{REQUEST_URI} !^.*[^/]$ RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$ RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L] RewriteCond %{REQUEST_URI} !^.*[^/]$ RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$ RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L] </IfModule> # END WPSuperCache # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Did a drop table per php, where gggg_ is a substitute of my $table_prefix.
“DROP TABLE gggg_role_scope_rs”;
“DROP TABLE gggg_user2role2object_rs”;
“DROP TABLE gggg_user2group_rs”;
“DROP TABLE gggg_groups_rs”;
-> success message, second run of the .php showed a “no such table exists error”And then the folder has been removed, I still have no access to the site.
https://domain.tld/wp-admin/ -> “Du har ikke nok rettigheter til ? f? tilgang til denne siden.” -> “You do not have enough privileges to access this page.”Actually the error has been linked, the software has been mentioned above already. NoScript is in no way a “bad” software and is even recommended to use by cert. https://addons.mozilla.org/en-US/firefox/addon/noscript/
The tool shows a warning that the program stopped a ui-readressing which was caused by mouse/keyboard interaction with a partly hidden object. I sent a report to the author, so maybe we will see it fixed at some point.As mentioned above I was sure it was nothing AddTAany related issue, since I also tried the original facebook/twitter iframe and it caused the warning aswell.
Don’t know how it works exactly, just happy to know that outside people will not get an error message and disabling the admin bar (don’t use it anyhow) made the issue disaapear.
After a lot more research I did not come up with a proper solution, so I decided to insert the Facebook/Twitter social bookmarks manual.
The clickjacking warning stayed and I was totally clueless what might be the root of the problem.
I checke various sites and they all used the same code, etc …But in the end … I found out that the only thing I could not see on other sites is the %”$%!&%-admin bar at the top ??
Disabling the admin bar instantly removed the clickjacking issues.
As mentioned above, it is usually something too obvious that gets into my way.
Hope this helps someone
Michael
I forgot to mention, that I wasn’t implying that addtoany was trying to clickjack. Rather I’d like seek help so that error won’t happen to third parties and any advice would be appreciated. Maybe it is something too obvious I am overlooking ??
I changed the DNS of that site today, since it was moved to another server and I was using my windows host entry to acces the new site … wonder if that had something to do with it.
Was also wondering why there were no counters for the amount of likes/tweets for the page or if that was a featuer coming in future versions,
Thanks
Thanks, for the quick response.
Here is the message I get:
https://www.darrensaines.no/wp-content/uploads/addtoany_clickjacking.pngIt is probably noscript firefox plugin that does that. On my own site I do not get this error (for example: https://www.myrddin.de/patch-4-1-fire-nova-preview/).
This is the code I have used:
<?php if (!is_feed() && !is_home()) { echo '<div class="a2a_kit addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) { ADDTOANY_SHARE_SAVE_ICONS(); } echo '</div>'; } ?>
Hope that helps
Michael
Forum: Fixing WordPress
In reply to: Permalink Structure changed, looking for rewrite helpNevermind, I had to delete the cache to make it work. Hope that helps someone else looking for this.