Title: Problem loading the icons
Last modified: August 20, 2016

---

# Problem loading the icons

 *  [garethjmsaunders](https://wordpress.org/support/users/garethjmsaunders/)
 * (@garethjmsaunders)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/problem-loading-the-icons/)
 * I’ve just tried this on WordPress 3.5.1 and when I try to “Show Included Admin
   Icons” I get a dialog window reporting, “There was a problem loading the icons”.
 * [http://wordpress.org/extend/plugins/wp-admin-icons/](http://wordpress.org/extend/plugins/wp-admin-icons/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [13 years ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514008)
 * Are you on localhost or a hosting provider? I may need a bit more information
   to successfully troubleshoot the issue.
 *  Thread Starter [garethjmsaunders](https://wordpress.org/support/users/garethjmsaunders/)
 * (@garethjmsaunders)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514012)
 * Sorry about my lack of information. That’s very unlike me.
 * I was testing it out on localhost. I can’t remember if I tried it on a remote
   server, but I doubt I did when I saw it wasn’t working on localhost (I’m running
   XAMPP 1.8.0 on Windows 8 Pro).
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514016)
 * I use XAMPP as my development environment and haven’t seen the exact issue. I
   believe it may be a lack of memory or something with your localhost. Marking 
   this as resolved. Please let me know if you have any further issues.
 *  Thread Starter [garethjmsaunders](https://wordpress.org/support/users/garethjmsaunders/)
 * (@garethjmsaunders)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514017)
 * As I said, I’m running XAMPP 1.8.0 on a clean installation of Windows 8 Pro, 
   on a machine with an Intel Core i7-3770 CPU at 3.40 Mhz, 16 GB RAM, and XAMPP
   is installed on a 120GB SSD. In php.ini memory_limit = 128M. The issue certainly
   isn’t to do with a lack of memory or hard drive space.
 * I’ve just discovered where the issue may lie. I have WordPress installed in a
   sub-directory on localhost, e.g. [http://localhost/wordpress](http://localhost/wordpress).
 * If I change line 89 of icons-scripts.js from
 * var url = ‘/wp-content/plugins/wp-admin-icons/includes/showfiles.php’;
 * to
 * var url = ‘[http://localhost/wordpress/wp-content/plugins/wp-admin-icons/includes/showfiles.php&#8217](http://localhost/wordpress/wp-content/plugins/wp-admin-icons/includes/showfiles.php&#8217);;
 * then I no longer get the error message. I don’t see the icons either, but placeholders,
   but it’s a start.
 * Any ideas?
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514018)
 * Ah, I should get the path using a better method rather than just assuming that’s
   the directory. Let me do some testing on my end and let me see if I can come 
   up with any solutions. When you say placeholders, what do you mean? Broken images?
 *  [ultimatea8](https://wordpress.org/support/users/ultimatea8/)
 * (@ultimatea8)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514035)
 * I’ve got the fix. All you have to do is place 3 “..” (no quotes) and everything
   will be fixed !
 * **Go to showfiles.php and on line 25 and change this
 * > `$image = str_replace('../', '/wp-content/plugins/wp-admin-icons/', $image);`
 * **to this**
 * > `$image = str_replace('../', '../wp-content/plugins/wp-admin-icons/', $image);`
 * **THEN**
 * Go to icons-scripts.js and make sure line 75 looks like this
 * > `jQuery(".myIconList").load('../wp-content/plugins/wp-admin-icons/includes/
   > showfiles-upload.php', function(response,`
 * **and line 177 should be this**
 * > `var url = '../wp-content/plugins/wp-admin-icons/includes/showfiles.php';'`
 * **PS: If you want your uploads to show you have to change line 29 of showfiles-
   upload.php**
 * > `$icon_str = "<li><img src='".$sitename."../wp-content/plugins/wp-admin-icons/
   > icons/uploads/".$iconsArray."'`
 * Thats it ! (so far so good)
 *  [Saulo Padilha](https://wordpress.org/support/users/spadilha/)
 * (@spadilha)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514054)
 * I’ve got the same problem and ultimatea8 fixed the issue.
 * I think the author should change this absolute paths to something using the current
   site URL, as for this specific case I’m my wordpress website is within a subfolder,
   like [http://www.domain.com.br/wordpress/](http://www.domain.com.br/wordpress/)
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514055)
 * I’ll take a look into this ASAP. Thanks guys
 *  [Saulo Padilha](https://wordpress.org/support/users/spadilha/)
 * (@spadilha)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514056)
 * Thanks Devin. It’s a fantastic plugin by the way. Good job. =]
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514057)
 * I’m glad you like it. Please rate it 5-stars if you do. I’ll be fixing this issue
   in this post soon!
 *  [Lincoln Lemos](https://wordpress.org/support/users/lincoln-lemos/)
 * (@lincoln-lemos)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514058)
 * Here is broken too ;/
    Localhost with mamp

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Problem loading the icons’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-admin-icons_5c5d5d.svg)
 * [WP-Admin Icons](https://wordpress.org/plugins/wp-admin-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-admin-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-admin-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-admin-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-admin-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-admin-icons/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [icons](https://wordpress.org/support/topic-tag/icons/)

 * 11 replies
 * 5 participants
 * Last reply from: [Lincoln Lemos](https://wordpress.org/support/users/lincoln-lemos/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/problem-loading-the-icons/#post-3514058)
 * Status: not resolved