Settings page broken on Debian
-
The Settings page for the plugin came up blank. It’s 3.6.1 but that’s probably not actually relevant. I looked at my error.log and it looks like the real bug (triggered by Debian’s non-standard way to do multisite) is this:
--- plugins/h-gallery/h-gallery.php.dist 2012-11-05 16:47:31.000000000 -0500 +++ plugins/h-gallery/h-gallery.php 2014-08-27 21:40:23.000000000 -0400 @@ -259,7 +259,7 @@ // ADMIN PAGE function hgallery_admin() { - include(ABSPATH . '/wp-content/plugins/h-gallery/admin/h-gallery-admin.php'); + include(plugin_dir_path(__FILE__) . 'admin/h-gallery-admin.php'); } function hgallery_admin_actions() { @@ -272,4 +272,4 @@ } -?> \ No newline at end of file +?>
- The topic ‘Settings page broken on Debian’ is closed to new replies.