Title: CircleReader's Replies | WordPress.org

---

# CircleReader

  [  ](https://wordpress.org/support/users/circlereader/)

 *   [Profile](https://wordpress.org/support/users/circlereader/)
 *   [Topics Started](https://wordpress.org/support/users/circlereader/topics/)
 *   [Replies Created](https://wordpress.org/support/users/circlereader/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/circlereader/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/circlereader/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/circlereader/engagements/)
 *   [Favorites](https://wordpress.org/support/users/circlereader/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/circlereader/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/circlereader/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/circlereader/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redux Framework] Error on 4.3.1 – Sorry, you are not allowed to access this page](https://wordpress.org/support/topic/error-on-4-3-1-sorry-you-are-not-allowed-to-access-this-page/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-on-4-3-1-sorry-you-are-not-allowed-to-access-this-page/#post-14899442)
 * [@kprovance](https://wordpress.org/support/users/kprovance/) Thanks for your 
   response.
 * The AUTH_COOKIE error popped up after updating Redux to 4.3.0, and disappears
   when I disable the plugin; on reproducing it, the whole error is:
 *     ```
       Warning: Use of undefined constant AUTH_COOKIE - assumed 'AUTH_COOKIE' (this will throw an Error in a future version of PHP) in /home/readingc/public_html/readingcirclebooks/wp-includes/pluggable.php on line 850
       Sorry, you are not allowed to access this page.
       ```
   
 * (What I originally posted was reconstructed from my google search, sorry.)
 * I now see you have posted a 4.3.1 update that fixes the issue. Thanks so much
   for your fast response!
    -  This reply was modified 4 years, 8 months ago by [CircleReader](https://wordpress.org/support/users/circlereader/).
    -  This reply was modified 4 years, 8 months ago by [CircleReader](https://wordpress.org/support/users/circlereader/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redux Framework] Error on 4.3.1 – Sorry, you are not allowed to access this page](https://wordpress.org/support/topic/error-on-4-3-1-sorry-you-are-not-allowed-to-access-this-page/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-on-4-3-1-sorry-you-are-not-allowed-to-access-this-page/#post-14899341)
 * I’m getting the same error (“use of undefined constant auth_cookie – assumed ‘
   auth_cookie’ (this will throw an error in a future version of php) in /home/readingc/
   public_html/read”), and had to disable the plugin to get admin access back.
 * My site is also running multisite, and googling the error led me to this thread,
   which might offer some clues: [https://wordpress.org/support/topic/bug-after-latest-update-2/](https://wordpress.org/support/topic/bug-after-latest-update-2/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Genesis Co-Authors Plus] Stripslashes Error](https://wordpress.org/support/topic/stripslashes-error/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/stripslashes-error/#post-3706492)
 * Looks like the same problem occurs with Co-Authors Plus ([http://wordpress.org/plugins/co-authors-plus/](http://wordpress.org/plugins/co-authors-plus/))
   whether or not you have the Genesis author-box support plugin enabled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] Gallery edits not saving](https://wordpress.org/support/topic/gallery-edits-not-saving/)
 *  Thread Starter [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/gallery-edits-not-saving/#post-3220891)
 * Thanks very much!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [preset admin menu links to create postings with specific category, tags, etc.?](https://wordpress.org/support/topic/preset-admin-menu-links-to-create-postings-with-specific-category-tags-etc/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/preset-admin-menu-links-to-create-postings-with-specific-category-tags-etc/#post-2838502)
 * I’ve been trying to crack this one as well, and have been working from this starting
   point: [http://forums.whirlpool.net.au/archive/1608032](http://forums.whirlpool.net.au/archive/1608032).
   The function defines a `$new_post` array with a category given in the url, uses`
   wp_insert_post($new_post)` to add it to the database & give it a `$post_ID’, 
   and then redirects to the editor page for the new post.
 * I’m adding the link not to the admin menus, but to the dashboard widget of the
   <a href=”[http://wordpress.org/extend/plugins/wp-category-manager/”>Category](http://wordpress.org/extend/plugins/wp-category-manager/”>Category)
   Manager</a> plugin. At the moment my link looks like [http://example.com/wp-content/plugins/my-plugin/wpcm-newPost.php?category=8](http://example.com/wp-content/plugins/my-plugin/wpcm-newPost.php?category=8),
   and the content of that file is a bit simplified from the original, with some`
   echo` statements to help me see what’s happening:
 *     ```
       function new_post_category() {
       	echo '<div>Hello world! Go add a new one!';
       	$category = $_GET['category']; // get the category from the url
       	echo ' This should be a new post in category ' . $category . '</div>'; // checking to see if we've got it
       	$new_post = array(
       		'post_status' => 'draft', // set post status to draft - we don't want the new post to appear live yet.
       		'post_date' => date('Y-m-d H:i:s'), // set post date to current date.
       		'post_type' => 'post', // set post type to post.
       		'post_category' => array($category) // set category to the category/categories parsed in your previous array
               );
       	print_r($new_post); //checking to see that the $new_post array is there
       	$post_ID = 'post_ID_string'; //putting something in this to echo
       	$post_ID = wp_insert_post( $new_post ); // add the new post to the WordPress database. This should return the ID of the new post, replacing the original value of $post_ID (right?)
       	echo '<div>This should be the new post ID: ' . $post_ID . '</div>';//
       	$new_post_redirect = 'http://'.$_SERVER['SERVER_NAME'].'/wp-admin/post.php?action=edit&post='.$post_ID; // construct url for editing of post
       	echo 'Redirect to ' . $new_post_redirect;
       	// wp_redirect($post_redirect); redirect to edit page for new post.
       	exit;
       }
   
       new_post_category();
       ```
   
 * It’s pretty straightforward, and it should work. And it does — except for the`
   wp_insert_post()` statement. With that (and the final redirect) commented out
   the link gives me:
 * <blockquote>
    Hello world! Go add a new one! This should be a new post in category
   8 Array ( [post_status] => draft [post_date] => 2012-07-11 01:44:29 [post_type]
   => post [post_category] => Array ( [0] => 8 ) ) This should be the new post ID:
   post_ID_string Redirect to [http://example.com/wp-admin/post.php?action=edit&post=post_ID_string](http://example.com/wp-admin/post.php?action=edit&post=post_ID_string)
 * </blockquote>
 * The category is there, the post array is there; and the $post_ID is as it was
   assigned. If I uncomment the `wp_insert_post()’ function, though, instead of 
   simply replacing “post_ID_string” with the new ID, I get:
 * > Hello world! Go add a new one! This should be a new post in category 8
   >  Array([
   > post_status] => draft [post_date] => 2012-07-11 01:51:49 [post_type] => post[
   > post_category] => Array ( [0] => 8 ) ) Fatal error: Call to undefined function
   > wp_insert_post() in /home/… /wp-content/plugins/wp-category-manager/wpcm-newPost.
   > php on line 16
 * It seems that calling the file directly does not give it access to WP core functions(
   [http://wordpress.stackexchange.com/questions/7398/how-to-include-php-files-in-plugins-the-correct-way](http://wordpress.stackexchange.com/questions/7398/how-to-include-php-files-in-plugins-the-correct-way)),
   and I’ve been unable to figure out the proper way to call this so those functions
   are included. Which path to include? Or should this be a template that gets called
   instead of a direct call to the file? Or…?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Extra space @ top of page](https://wordpress.org/support/topic/extra-space-top-of-page/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/extra-space-top-of-page/#post-2644521)
 * Having trouble with this one also! Genesis child theme, latest WP, [http://readingcirclebooks.com/development-rcb-1/](http://readingcirclebooks.com/development-rcb-1/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] "Page Link To" – What does this do?](https://wordpress.org/support/topic/plugin-nextgen-gallery-page-link-to-what-does-this-do/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-page-link-to-what-does-this-do/#post-1940445)
 * Ha! I’ve been trying to figure that out as well!
 * Lower down, there’s a “Create new page” option which is also pretty obscure, 
   especially in it’s relation to to that “Page link to.” I think it is to give 
   the gallery it’s own Page, so that the url can be something pretty like [http://www.example.com/zzz-gallery-test/2011-my-nifty-new-gallery/](http://www.example.com/zzz-gallery-test/2011-my-nifty-new-gallery/),
   rather than being embedded in another post or Page, or having an album-display
   url like [http://www.example.com/zzz-gallery-test/?album=7&gallery=18](http://www.example.com/zzz-gallery-test/?album=7&gallery=18).
 * Thanks for pointing out that the “Page Link” info shows up in the album data.
   I notice that the “edit album” dialogue lets you change this for albums as well.
   I wondered if it would attach the gallery or album to the page as a media attachment,
   the way images are when you upload them with the editor; but when I check from
   the media button on the edit Page screen, I don’t see the linked gallery or album
   there.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Password Protection Not Working in IE](https://wordpress.org/support/topic/password-protection-not-working-in-ie-1/)
 *  Thread Starter [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/password-protection-not-working-in-ie-1/#post-1882551)
 * This is a known browser issue with IE: [http://en.forums.wordpress.com/topic/i-am-not-able-to-password-protect-some-pages-in-my-blog](http://en.forums.wordpress.com/topic/i-am-not-able-to-password-protect-some-pages-in-my-blog)
 * Clearing IE’s browser cache under Tools=>Internet Options or CTRL+F5 solves the
   problem for me. The keyboard shortcut is pretty simple, so I could add a note
   to the Page that links to the protected page letting users know that they should
   try it if they have problems. That doesn’t really solve the problem, though, 
   since I’d have to add such a note to every link to the Page!
 * The more logical place for it would be on the password form itself, but WP does
   not give you a way to do that by default. Fortunately, there’s a plugin for that:
   [http://wordpress.org/extend/plugins/password-protect-enhancement/](http://wordpress.org/extend/plugins/password-protect-enhancement/)
   will add a box to the page editor in which you can enter whatever text you like(
   and also choose whether to display an excerpt of a protected post or not).
 * Any chance that could be added to the publish box in the future? May have to 
   learn how to submit a ticket… 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Password Protection Not Working in IE](https://wordpress.org/support/topic/password-protection-not-working-in-ie/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/password-protection-not-working-in-ie/#post-1366342)
 * Problem still exists in WP 3.1-RC3 – exactly the same behavior! Anyone find a
   solution yet?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [A multisite within a multisite or two posting pages in one blog?](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/page/2/#post-1821869)
 * Looks like that plugin is very similar to the custom menu features that are now
   part of the WP core.
 * It is odd that you are seeing the default Page menus rather than the custom menus
   you are trying to create. Perhaps the menu you created (with custom links or 
   whatever you like) still needs to be assigned to the theme location below your
   header?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [A multisite within a multisite or two posting pages in one blog?](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/page/2/#post-1821851)
 * Some good overviews here:
    [http://www.pearsonified.com/2008/02/what_every_blogger_needs_to_know_about_categories.php](http://www.pearsonified.com/2008/02/what_every_blogger_needs_to_know_about_categories.php)
   and here: [http://codex.wordpress.org/Category_Templates](http://codex.wordpress.org/Category_Templates)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [A multisite within a multisite or two posting pages in one blog?](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/a-multisite-within-a-multisite-or-two-posting-pages-in-one-blog/page/2/#post-1821839)
 * Hi, jiri2!
 * It seems to me that Andrea is (as expected) on target with this – you can probably
   do what you want with some creative theme design (custom menus, maybe customizing
   The Loop here & there).
 * > right now i’d like lots of post pages on a subdomain…
   > think a portal that has youtube posts on one page, picture posts on another
   > page and articles posts on another page.
 * Sounds like something that could be handled by categories on a more conventional
   site, but that you would like a little more separation than usual, both for the
   readers and for the writer(s). In addition, it sounds like when your readers 
   click through from the main hub site (1st level), you’d like them to find a video/
   image/article/whatever site (2nd level, maybe on it’s own Top Level Domain) that
   has the ability to make it’s own set of sub-sites (3rd level), as distinguished
   from a stand-alone site with several sections. And the reason you want those 
   second level sites to be able to generate their own third level sub-sites is 
   because each second level site will be handling several distinct stream of posts,
   each displayed (and composed?) in it’s own distinct location / page on the level
   2 site (what you’ve called “multipagepost”) – which seems too complex for a single
   2nd level site to handle (which is where we’re thinking the creative custom themes
   would come in).
 * Does that sound right?
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Existing Pages on multisite giving 404](https://wordpress.org/support/topic/existing-pages-on-multisite-giving-404/)
 *  Thread Starter [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/existing-pages-on-multisite-giving-404/#post-1789630)
 * Went to Settings => Permalinks on the affected blog, selected “Default” and saved
   it, re-selected the permalink structure I wanted and saved it — and voila, the
   Page is back.
 * Thanks, matey!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Worm in WP Responder Email Newsletter and Autoresponder Plugin???](https://wordpress.org/support/topic/worm-in-wp-responder-email-newsletter-and-autoresponder-plugin/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/worm-in-wp-responder-email-newsletter-and-autoresponder-plugin/#post-1722421)
 * I also am getting virus warnings from this plugin. This morning my hosting company
   quarantined one of the files (forms.php) because it looked like an exploit, and
   I am also getting warnings from my own scans on the use of `eval()` in actions.
   php.
 * Obviously, I can’t have files disappearing into quarantine without warning, so
   this makes the plugin unusable for me. That’s a shame, since it looks like a 
   very useful plugin. Any word on a fix?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Pages not showing, Permalinks issue using Multisite](https://wordpress.org/support/topic/pages-not-showing-permalinks-issue-using-multisite/)
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/pages-not-showing-permalinks-issue-using-multisite/#post-1758486)
 * Posted: [http://wordpress.org/support/topic/existing-pages-on-multisite-giving-404](http://wordpress.org/support/topic/existing-pages-on-multisite-giving-404)

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

1 [2](https://wordpress.org/support/users/circlereader/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/circlereader/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/circlereader/replies/page/2/?output_format=md)