Errors when using custom content url and custom content dir
We have a non conventional folder structure in our site, we have defined these two variables in the wp-config.php:
define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/custom’ );
define( ‘WP_CONTENT_URL’, ‘http://mysite.com/custom’ );
And your are not taking them in to account.
Because since we updated the plugin to the 2.0+ we are getting these errors:
So in /wp-admin/admin.php?page=ngg_other_options I get this error:
/workspace/mysite/wp/custom/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_other_options/templates/image_options_tab.php is not a valid MVC template
And in /wp-admin/admin.php?page=ngg_addgallery I get this error:
/workspace/mysite/wp/custom/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_addgallery_page/templates/upload_images.php is not a valid MVC template
So, the path mysite/wp/custom doesn’t exist the right path is mysite/custom
- The topic ‘Errors when using custom content url and custom content dir’ is closed to new replies.