Title: 403 &amp; 500 Errors
Last modified: August 22, 2016

---

# 403 & 500 Errors

 *  Resolved [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/)
 * The plugin installed perfectly fine, but when I try to save the settings for 
   it, I get the below:
 * Forbidden
 * You don’t have permission to access /wp/wp-admin/admin.php on this server.
 * Additionally, a 500 Internal Server Error error was encountered while trying 
   to use an ErrorDocument to handle the request.
 * [https://wordpress.org/plugins/content-views-query-and-display-post-page/](https://wordpress.org/plugins/content-views-query-and-display-post-page/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/403-500-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/403-500-errors/page/2/?output_format=md)

 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5212874)
 * Hi,
    Do you update to latest version?
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5212956)
 * I have the latest version of WP (3.9.2) installed and I downloaded and installed
   this plugin today, so I would hope it is the latest version. I have version 1.3.1.2
   of the plugin installed.
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5212989)
 * Hi,
 * Do you try to save settings in other Admin page, e.g. Settings > General? Does
   it work?
 * And do you set .htaccess rule for pages in Admin?
 * Also, please check in folder ‘wp-content/plugins/content-views-query-and-display-
   post-page’, open the .htaccess file and clear all content if you see anything
   there.
 * Thanks,
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213026)
 * Yes, everything else works just fine.
 * I have not set anything in .htaccess for Admin.
 * The .htaccess file in the plugin folder is empty.
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213027)
 * I went through an deactivated all other plugins as well.
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213032)
 * I deleted the plugin and reinstalled it, same outcome. I am able to enable/disable
   this setting: **Don’t load Bootstrap style & script (in frontend of website)**
 * I only get the errors when trying to create/edit/view a view
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213044)
 * Hi,
 * Please do following steps:
    – enable debug in wp-config.php file `define('WP_DEBUG',
   true);`
 * – add this line to wp-config.php file
    `define( 'WP_MEMORY_LIMIT', '64M' );`
 * And tell me what happens.
 * Thanks
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213053)
 * Same result, 403 & 500 errors.
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213054)
 * Hi,
    Please try 2 below solutions: – in your site, please install & activate 
   another theme – If above solution still doesn’t work. Please install this plugin
   on a new WordPress site
 * Thanks
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213062)
 * I have tried it with multiple themes. I will test it on my main domain, and let
   you know.
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213065)
 * I installed this plugin on my MU site, and activated it on one of the blogs. 
   I still get the 403 error, but I didn’t see the 500 this time. I tried a new 
   theme as well.
 * Does this plugin rely on any specific apache mods?
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213066)
 * Hi,
    I tested this plugin on MU site from the first version, it works. No, it
   doesn’t require or reply on any apache mods. Maybe there is some configuration
   in your server that causes this error. Can you tell me what is hosting are you
   using?
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213067)
 * my main host is innohosting.com
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213079)
 * Hi,
    You are having problem on add/edit our custom post type (View).
 * So can you do this test:
    – add following code to the functions.php file in your
   theme (it will register a custom post type “Book”) – try to add/edit Book (then
   tell me if you can do it without error)
 * The code
 *     ```
       add_action( 'init', 'codex_book_init' );
       /**
        * Register a book post type.
        *
        * @link http://codex.wordpress.org/Function_Reference/register_post_type
        */
       function codex_book_init() {
       	$labels = array(
       		'name'               => _x( 'Books', 'post type general name', 'your-plugin-textdomain' ),
       		'singular_name'      => _x( 'Book', 'post type singular name', 'your-plugin-textdomain' ),
       		'menu_name'          => _x( 'Books', 'admin menu', 'your-plugin-textdomain' ),
       		'name_admin_bar'     => _x( 'Book', 'add new on admin bar', 'your-plugin-textdomain' ),
       		'add_new'            => _x( 'Add New', 'book', 'your-plugin-textdomain' ),
       		'add_new_item'       => __( 'Add New Book', 'your-plugin-textdomain' ),
       		'new_item'           => __( 'New Book', 'your-plugin-textdomain' ),
       		'edit_item'          => __( 'Edit Book', 'your-plugin-textdomain' ),
       		'view_item'          => __( 'View Book', 'your-plugin-textdomain' ),
       		'all_items'          => __( 'All Books', 'your-plugin-textdomain' ),
       		'search_items'       => __( 'Search Books', 'your-plugin-textdomain' ),
       		'parent_item_colon'  => __( 'Parent Books:', 'your-plugin-textdomain' ),
       		'not_found'          => __( 'No books found.', 'your-plugin-textdomain' ),
       		'not_found_in_trash' => __( 'No books found in Trash.', 'your-plugin-textdomain' )
       	);
   
       	$args = array(
       		'labels'             => $labels,
       		'public'             => true,
       		'publicly_queryable' => true,
       		'show_ui'            => true,
       		'show_in_menu'       => true,
       		'query_var'          => true,
       		'rewrite'            => array( 'slug' => 'book' ),
       		'capability_type'    => 'post',
       		'has_archive'        => true,
       		'hierarchical'       => false,
       		'menu_position'      => null,
       		'supports'           => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
       	);
   
       	register_post_type( 'book', $args );
       }
       ```
   
 * Thanks
 *  Thread Starter [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * (@dragonsys)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/#post-5213104)
 * Sorry for the delay.
 * I added the code, and I am able to Create/Edit the Book post, without issue. 
   I cannot view it though, I get a 404.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/403-500-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/403-500-errors/page/2/?output_format=md)

The topic ‘403 & 500 Errors’ is closed to new replies.

 * ![](https://ps.w.org/content-views-query-and-display-post-page/assets/icon.svg?
   rev=2932226)
 * [Content Views - Post Grid & Filter, Recent Posts, Category Posts ... (Shortcode, Gutenberg Blocks, and Widgets for Elementor)](https://wordpress.org/plugins/content-views-query-and-display-post-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-views-query-and-display-post-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/)
 * [Active Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [Dragonsys](https://wordpress.org/support/users/dragonsys/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/403-500-errors/page/2/#post-5213112)
 * Status: resolved