Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • P.S. I also copied over the exact file that you gave me, and I got the same result of not being able to log into my admin dashboard and it returning that page of code that you can see above.

    Dear Dave,

    So I’ve been trying to get ftp access to our site and just now as able to log on. Upon doing so I saw that we have both an .htcaccess file and a .htcaccess1 file.

    This is what the .htcaccess file had in it

    AddType x-mapp-php5 .php

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    and this is what the .htcaccess1 had in it

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    After adding the line of code to the .htcaccess file on the bottom, I tried to go to the admin page of our WordPress and got the following page:
    <?php
    /**
    * Dashboard Administration Panel
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once(‘admin.php’);

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    wp_dashboard_setup();

    wp_enqueue_script( ‘dashboard’ );
    wp_enqueue_script( ‘plugin-install’ );
    wp_enqueue_script( ‘media-upload’ );
    wp_admin_css( ‘dashboard’ );
    wp_admin_css( ‘plugin-install’ );
    add_thickbox();

    $title = __(‘Dashboard’);
    $parent_file = ‘index.php’;
    require_once(‘admin-header.php’);

    $today = current_time(‘mysql’, 1);
    ?>

    <div class=”wrap”>
    <?php screen_icon(); ?>
    <h2><?php echo esc_html( $title ); ?></h2>

    <div id=”dashboard-widgets-wrap”>

    <?php wp_dashboard(); ?>

    <div class=”clear”></div>
    </div><!– dashboard-widgets-wrap –>

    </div><!– wrap –>

    <?php require(ABSPATH . ‘wp-admin/admin-footer.php’); ?>

    So I’m kind of stuck now, and due to my lack of knowledge of WordPress, don’t know where to go from here. Thanks so much again for helping.

    Dear davidizor,

    Thanks for the quick response. I’m not the most advanced at WordPress, but would I find that .htaccess under the edit themes section of the site? and if so, I can’t see one in the theme files, so how would I go about creating one? If any of those are basic questions just say so and I’ll look on google to find how to do it so I dont waste your time. Thanks.

    Dear davidizor,

    So I’m having the same problem on my wordpress as well. Everything was fine until this morning. Nothing changed that I know of, but I can no longer create new posts, upload pictures, or leave comments. My hosting company is 1and1. When I try and create a new post, usually after typing the title it will auto generate a permalink. It doesn’t now and when I try to save draft it just takes me back to my wordpress admin dashboard screen. When I try to upload images it gives me the HTTP Error in red. Finally when I try to comment on the posts it takes me to a 404 page error, and when I try to comment in the admin section of wordpress on user’s replies it shows a red number one in parenthesis next to the cancel button. Any help would be greatly appreciated. Thanks in advance.

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