Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Forum: Fixing WordPress
    In reply to: wp_logout()
    Thread Starter mmwaldman

    (@mmwaldman)

    https://domain/clubzone/blog-it/wp-login.php?loggedout=true

    Writes an error message to the error log, too!

    client denied by server configuration: /home/user/public_html/clubzone/blog-it/wp-cron.php

    Forum: Fixing WordPress
    In reply to: wp_logout()
    Thread Starter mmwaldman

    (@mmwaldman)

    Nope. It’s still writing an error message to the domain error_log:

    client denied by server configuration: /home/user/public_html/clubzone/blog-it/wp-cron.php

    function wp_logout() {
    wp_clear_auth_cookie();
    do_action(‘wp_logout’);
    }

    I’m thinking it’s clearing the authentication cache, then trying to do some other things but it is no longer authenticated.

    I’ve looked at do_action, but I haven’t been able to find the location where the variables are set up for the do_action function to perform the logout. Does anyone know where the initialization occurs for all of the do_action calls?

    I’m calling wp_logout from a directory above the blog.

    Using:

    <?php
    require_once($_SERVER[‘DOCUMENT_ROOT’].”/../conf/wp_conf.php” );
    require_once($_SERVER[‘DOCUMENT_ROOT’].$base.”wp-includes/user.php”);
    require_once($_SERVER[‘DOCUMENT_ROOT’].$base.”wp-includes/registration.php”);
    require_once($_SERVER[‘DOCUMENT_ROOT’].$base.”wp-includes/pluggable.php” );
    wp_logout();
    ?>

    Thread Starter mmwaldman

    (@mmwaldman)

    I can list the bookmarks now.

    But it just opens up a new page.

    I never hit the links.php page in the theme.

    Does anyone know how to get to the links.php or image.php pages in the theme?

    For instance, I’m using author links. so http://domain/blog-it/blog/test/ gets me to the blog of the author test.

    What link would get me to a link or an image?

    Thread Starter mmwaldman

    (@mmwaldman)

    Correction: The links are NOT showing up.

    Thread Starter mmwaldman

    (@mmwaldman)

    I went to write link to create a link and added to my side bar:
    <?php wp_list_bookmarks(‘title_after=&title_before=’); ?>

    The links are showing up.

    When I add an img to a post in TinyMCE, it does not give me the option of chosing a post. I am using Multi-user. I don’t see anywhere else to add an image to a post.

    Thread Starter mmwaldman

    (@mmwaldman)

    But I don’t know how to navigate to the links.php or the image.php.

    I added links to the linkManager. How to I get to see that page?

    How do I get to see the image.php page? I added an image to a post, but didn’t see any way to make it bigger.

    Do you know how to create a url to those pages?

    I can’t figure out how to navigate to those two pages to test them out.

    Thanks.

    Thread Starter mmwaldman

    (@mmwaldman)

    I wound up having to edit the editor role. Adding moderate_comments to that role worked.

    Forum: Fixing WordPress
    In reply to: wp_logout()
    Thread Starter mmwaldman

    (@mmwaldman)

    I was clearing my cache at the same time I was calling wp_logout(). Duh!

    Fixed.

    Forum: Fixing WordPress
    In reply to: wp_logout()
    Thread Starter mmwaldman

    (@mmwaldman)

    Those posts didn’t really apply to my post.

    I’m trying to figure out why I can call:

    wp_signon()
    wp_insert_user()
    wp_create_user()
    wp_update_user()

    all with no problems.

    When specifically only wp_logout() is causing this error after logging a person out.

    I don’t think adding “allow for all” because this one function is throwing an error when it’s calling wp-cron.php is the right solution. Why does it need wp-cron.php? What is wp-cron.php doing? Why does wp-cron.php operate on different premissions that the other files used by wp_logout()? Does it try to call wp-cron.php after logging the person out and that’s why they no longer have permissions?

    I was hoping to save some time tracing through the source code yet again. The project is finished. There’s just this one outstanding issue.

    Thread Starter mmwaldman

    (@mmwaldman)

    Here’s what happened. I added a bunch of roles to contributor. They all worked except moderate_comments.

    Forum: Plugins
    In reply to: User Roles

    probably by modifying the options table in the database.

Viewing 11 replies - 1 through 11 (of 11 total)