BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Icons missing in a multisite instalation
- This topic has 8 replies, 2 contibutors, and was last updated 8 years, 5 months ago by Anonymous.
Question
April 15, 2016 at 9:12 am #68426@tomastdNote: this is my first multisite instalation. It works, but I may do a mistake somewhere.
I have missing icons in the top right bar without any plugin activated.
After that, installing woocommerce, I also have missing icons in admin pannel.
Any idea why it can happen and how to solve it?
Thank you.
Answers
April 15, 2016 at 9:32 am #68432@tomastdIf you want to check the site online, here you have http://azoka.euskaldunak.eus/
Thank you.
April 15, 2016 at 11:48 am #68459@
AnonymousHi @tomastd
seems font awesome files are not loading on your site
(index):1 Font from origin ‘http://euskaldunak.eus’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://azoka.euskaldunak.eus’ is therefore not allowed access.
You can check inside your console, you will have above errors.
Please ask your host to update htaccess rules to allow Cross-Origin ResourceRegards
Varun DubeyApril 17, 2016 at 8:44 am #68662@tomastdThis is the .htaccesss file I have. How should it look like?
Thank you. 😉# BEGIN s2Member GZIP exclusions <IfModule rewrite_module> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR] RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1 RewriteRule .* - [E=no-gzip:1] </IfModule> # END s2Member GZIP exclusions # 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> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
April 18, 2016 at 1:51 pm #68808@
AnonymousHi @tomastd
consult with your hosting, it’s not WP issue
You can also take a look of following thread
http://stackoverflow.com/questions/14003332/access-control-allow-origin-wildcard-subdomains-ports-and-protocolsApril 18, 2016 at 10:55 pm #68857@tomastdSorry. I understood you that it was an .htaccess rules problem. I have tried even with the solution in the link you sent; but it did’t work either.
SetEnvIf Origin ^(https?://.+\.euskaldunak\.eus(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1 Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN Header merge Vary "Origin"
The site is hosted in a personal server. So it’s me who has to solve it. I will ask some colleagues to help me solving it. If you could give me some hints to start from I would be very grateful.
We are not using wildcard subdomains because they are not allowed by our DNS provider.
Thank you.
April 19, 2016 at 4:35 am #68892@
AnonymousHi @tomastd
Your httacess rules are not correct , you have added single site htaccess plus multisite rules both one by one
it should contain only
# BEGIN s2Member GZIP exclusions <IfModule rewrite_module> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR] RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1 RewriteRule .* - [E=no-gzip:1] </IfModule> # END s2Member GZIP exclusions RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]
Regards
Varun DubeyApril 19, 2016 at 5:41 am #68902@tomastdYes, thanks, I realized about that. And didn’t work.
I haver also tried with your code plus the CDN with Webfonts code. But nothing changes.
I will check what else it can be. Will keep you informed. Thanks.
# BEGIN s2Member GZIP exclusions <IfModule rewrite_module> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR] RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1 RewriteRule .* - [E=no-gzip:1] </IfModule> # END s2Member GZIP exclusions # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress # ---------------------------------------------------------------------- # CORS-enabled images (@crossorigin) # ---------------------------------------------------------------------- # Send CORS headers if browsers request them; enabled by default for images. # developer.mozilla.org/en/CORS_Enabled_Image # blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html # hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/ # wiki.mozilla.org/Security/Reviews/crossoriginAttribute # mod_headers, y u no match by Content-Type?! SetEnvIf Origin ":" IS_CORS Header set Access-Control-Allow-Origin "*" env=IS_CORS # ---------------------------------------------------------------------- # Webfont access # ---------------------------------------------------------------------- # Allow access from all domains for webfonts. # Alternatively you could only whitelist your # subdomains like "subdomain.example.com". Header set Access-Control-Allow-Origin "*"
May 26, 2016 at 9:14 pm #70743@
AnonymousThis ticket has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new tickets (linking to this one if necessary)
and one of the team will be only too happy to help.Regards
Varun Dubey
- The question ‘Icons missing in a multisite instalation’ is closed to new replies.