Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Content Views

    (@pt-guy)

    Hi,
    Do you update to latest version?

    Thread Starter Dragonsys

    (@dragonsys)

    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

    (@pt-guy)

    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

    (@dragonsys)

    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

    (@dragonsys)

    I went through an deactivated all other plugins as well.

    Thread Starter Dragonsys

    (@dragonsys)

    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

    (@pt-guy)

    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

    (@dragonsys)

    Same result, 403 & 500 errors.

    Plugin Author Content Views

    (@pt-guy)

    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

    (@dragonsys)

    I have tried it with multiple themes. I will test it on my main domain, and let you know.

    Thread Starter Dragonsys

    (@dragonsys)

    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

    (@pt-guy)

    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

    (@dragonsys)

    my main host is innohosting.com

    Plugin Author Content Views

    (@pt-guy)

    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 https://codex.www.ads-software.com/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

    (@dragonsys)

    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)
  • The topic ‘403 & 500 Errors’ is closed to new replies.