Title: Wrong CSS link
Last modified: August 22, 2016

---

# Wrong CSS link

 *  [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/)
 * On multiple WP sites, the CSS is not loaded correctly. The reason is that the
   generated HTML has this line:
    <link rel=’stylesheet’ id=’NextGEN-css’ href=’
   [http://filmnapok5.kek.org.hunggallery.css?ver=1.0.0&#8242](http://filmnapok5.kek.org.hunggallery.css?ver=1.0.0&#8242);
   type=’text/css’ media=’screen’ />
 * Here filmnapok5.kek.org.hu is the domain and nggallery.css?ver=1.0.0 is the css
   part, and the middle bit is simply just missing.
 * I believe it became this in v23. Can you tell me how to fix it? On WP 3.8.4
 * [https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)

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

 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372457)
 * This was a bug introduced in version 1.9.22, and was fixed in 1.9.23. If you 
   updated the plugin, you must go the admin screen to do a small database upgrade.
 * This is assuming you’re talking about CSS on the website itself. The CSS in the
   admin section also doesn’t load, but that will be fixed in the next version.
 *  Thread Starter [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372458)
 * Some more information:
    downgrading to 1.9.22 did not help downgrading to 1.9.21
   fixed the issue!
 * Please provide a fix in 24 which works like 21 did.
 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372459)
 * This should be fixed in 1.9.23 already, but have you done the database upgrade?
 *  Thread Starter [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372461)
 * I just did the wordpress built-in upgrade. Do I need to manually go and click
   on database upgrade somewhere?
 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372465)
 * Yes, in the admin screen, go to the Gallery option the menu (to go to the overview
   screen of NextCellent)
 *  Thread Starter [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372466)
 * Ah, I see I had to manually go to admin and select any single menu and click 
   upgrade. Can you not make this automatic? I’m using InfiniteWP to manage WP upgrades
   and that just runs the standard upgrade process.
 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372469)
 * We could make this automatic pretty easy, but we opted to not do it to give users
   more control about their database, but we’ll consider make it upgrade automatically.
 *  Thread Starter [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372471)
 * The thing is that for keeping 30 WP websites up to date, I believe everyone uses
   some centralised update management. For example I’m using the excellent and free
   InfiniteWP. These plugins can only trigger the normal auto upgrade process, not
   something custom like clicking on a button.
    [http://infinitewp.com/docs/updates/](http://infinitewp.com/docs/updates/)
 *  Thread Starter [zsero](https://wordpress.org/support/users/zsero/)
 * (@zsero)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372473)
 * Automatic would be the best, but even if not automatic a big global warning would
   be really handy (like the caching plugins for example), so at least the user 
   can see that there is something wrong. The problem with this button was that 
   there was no feedback that it had to be done, unless coming here and asking it.
 *  [marwo](https://wordpress.org/support/users/marwo/)
 * (@marwo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372677)
 * I use WordPress v.4 with multisite. Yesterday i installed NextCellent Gallery
   1.9.23, but I have the same problem. In network settings I don’t select a css-
   file (it’s emty). And I can’t save the other settings – no save-button.
    So I
   read this thread, but I can’t find in the menus of WordPress where I can manually
   start the database update.
 * _Zitat from zsero: “Ah, I see I had to manually go to admin and select any single
   menu and click upgrade”._
 * Please, can you give a detailt description what should I do? I’m a german newbie
   with poor English skills 🙁
 *  [Nessdufrat](https://wordpress.org/support/users/nessdufrat/)
 * (@nessdufrat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372696)
 * I just want to add that I have the very same problem with wordpress multisite.
   Can’t select a css file (which I could live without) but also cannot change the
   permission (allow user to…) because I simply cannot save it. There’s no save 
   button…
    I ended up modifying the wpmu.php file to get rid of the part that wouldn’t
   work (it was calling for an undefined function : ngg_get_cssfiles(), and breaking
   the page), reuploading it, taking care of my user permissions, saving it (the
   button reappeared once I got rid of the faulty code), and putting the faulty 
   code back, waiting for a more permanent fix. Needless to say, I also cannot choose
   a style for my galleries, but I don’t really need that. But that’s the part that’s
   messing everything up.
 * As for the database upgrade, I have absolutely no idea what to do, since I searched
   everywhere for an “upgrade database” button or text, and there is none. Maybe
   because I’m using wordpress multisite. Or maybe I did the database upgrade and
   don’t remember it, but I did have the problem with images showing under one another
   and not in a grid anymore. I fixed that with copying the css file into my theme
   file.
 *  [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * (@niknetniko)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372697)
 * While I’ll look into the issues, it’s better to create your own post about these
   issues, since they’re only partially related.

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

The topic ‘Wrong CSS link’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextcellent-gallery-nextgen-legacy_9c9087.
   svg)
 * [NextCellent Gallery - NextGEN Legacy](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/)
 * [Active Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [niknetniko](https://wordpress.org/support/users/niknetniko/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-css-link/#post-5372697)
 * Status: not resolved