Home › Forums › Criss Cross Skin › Criss Cross icon font page not displaying
This topic contains 8 replies, has 2 voices, and was last updated by keithwjones 9 years, 6 months ago.
-
AuthorPosts
-
October 13, 2014 at 2:59 am #337
I am working on a new site but Criss Cross icon font page not displaying in the Dashboard. The icons do display on the site when you add the code.
I have a couple of test sites and the page displays on both of those.
Keith
October 13, 2014 at 4:06 am #342Hmmm, i’ve never seen/heard this problem before.
My best guess is that the problem lies within a difference between your test sites & your new site.
Different servers? Different plugins (try deactivating)?
Was this with a fresh WP install?
October 14, 2014 at 5:35 pm #362Complete fresh install. Only plugin is Types – deactivated still same. Happens in all browsers. It is on a different server from test sites.
Apart from that all appears to be working.
Permissions seem ok for folders and files.
Keith
October 14, 2014 at 7:40 pm #364That’s so weird. Do you know what version of PHP the sever is running?
October 15, 2014 at 9:14 am #371About Thesis
===========================
Thesis Version: 2.1.9
Current Skin Name: ※ CrissCross
Current Skin Version: 1.0.1
Current Skin Author: Thomas SolerThesis Filesystem Check
===========================
wp-content/thesis: YES
wp-content/thesis/skins: YES
wp-content/thesis/boxes: YES
wp-content/thesis/packages: YES
wp-content/thesis/master.php: YES
Skin CSS Writable: YESAbout WordPress
===========================
WordPress Version: 4.0
Filesystem Method: direct
Using Multisite: NO
Installed plugins: Akismet, Types – Complete Solution for Custom Fields and TypesAbout PHP
===========================
Version: 5.3.10
cURL: YES
Max Upload (according to WP): 8 MB
Memory Limit: 40MAbout Server/Database
===========================
Site URL: http://www.musicmakersacademy.co.uk
Server Software: Apache/2.2.3 (CentOS)
Options Collation: utf8_general_ci
MySQL Version: 5.5.37
PHP Handler: apache2handlerOctober 15, 2014 at 11:57 am #372Ok, I have an idea of what you can try. If you are able to view the Criss Cross icon font page but no content displays, the steps below will hopefully solve your problem.
1) Go into the box.php file and search for the code below:
public function my_admin() { echo wp_remote_fopen( THESIS_USER_SKIN_URL . "/fonts/exothesis-icons/icons-reference.html"); }
2) Replace the code from above with the code below:
public function my_admin() { function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); $data = curl_exec($ch); curl_close($ch); return $data; } echo file_get_contents_curl( THESIS_USER_SKIN_URL . "/fonts/exothesis-icons/icons-reference.html"); }
3) If the code from Step 2 does not work, try replacing it with the code below:
public function my_admin() { echo file_get_contents( THESIS_USER_SKIN_URL . "/fonts/exothesis-icons/icons-reference.html"); }
Since the server configuration supports cURL, I am hoping that Step 2 solves your problem, even though
wp_remote_fopen
is supposed to revert to cURL iffopen
doesn’t retrieve the content. Otherwise,file_get_contents
may be a possible solution but not as good as the other two.This is also assuming that
wp_remote_fopen
is actually the cause of your problem.Hope this information helps. Crossing my fingers!
October 16, 2014 at 6:05 pm #373Tried all of those several times but still not displaying.
October 17, 2014 at 3:46 am #374I have carried out more test. I have CC on 2 test sites which is ok with different hostings.
I have another site using Pearsonified but on same hosting as the one I am having problems with, so installed CC on that one and I got same result icon contents not displaying.
About Thesis
===========================
Thesis Version: 2.1.9
Current Skin Name: ※ CrissCross
Current Skin Version: 1.0.1
Current Skin Author: Thomas SolerThesis Filesystem Check
===========================
wp-content/thesis: YES
wp-content/thesis/skins: YES
wp-content/thesis/boxes: YES
wp-content/thesis/packages: YES
wp-content/thesis/master.php: YES
Skin CSS Writable: YESAbout WordPress
===========================
WordPress Version: 4.0
Filesystem Method: direct
Using Multisite: NO
Installed plugins: Akismet, BackupBuddy, Wp BackupAbout PHP
===========================
Version: 5.3.9
cURL: YES
Max Upload (according to WP): 8 MB
Memory Limit: 40MAbout Server/Database
===========================
Site URL: http://www.kwjassociates.co.uk
Server Software: Apache/2.2.3 (CentOS)
Options Collation: utf8_general_ci
MySQL Version: 5.0.95
PHP Handler: apache2handlerOctober 27, 2014 at 9:59 am #380Tom
I have the answer as to why the page does not display:
After a few more enquiries I started to think it was a server issue and that fopen was not working. The icons do work on the web pages when code added.
Reply from Easyspace Hosting:
Thanks for your query about fopen.
The reason it won’t work is we do not allow it on our shared services for security reasons, if you really need to use it then you would need to have a V server with us.
Keith
-
AuthorPosts
You must be logged in to reply to this topic.