Forum Replies Created

Viewing 15 replies - 1 through 15 (of 56 total)
  • Thread Starter kiersten

    (@kiersten)

    I was able to go in and remove the offending spam from the post and this solved the problem of the post not appearing under “Latest activity.” However, the processing of new posts and edits through wordpress is still not working. Any thoughts on why this is would be appreciated.

    Thread Starter kiersten

    (@kiersten)

    The problem seems to be in processing posts — new posts and editing does not process. Could this mean that my post.php file was damaged or changed and needs to be restored? I am able to processes such as moderating comments (marking as spam and deleting) and changing passwords.

    Forum: Fixing WordPress
    In reply to: htaccess redirect
    Thread Starter kiersten

    (@kiersten)

    I got it to work, unbelievably. Here is what I put in the .htaccess file:

    Redirect /index.php/ https://kmareka.com/

    Thanks for your help again.

    Forum: Fixing WordPress
    In reply to: htaccess redirect
    Thread Starter kiersten

    (@kiersten)

    I tried adding that text but it didn’t work. I’m looking to be able to go into google and have an entry that has my old address such as https://kmareka.com/index.php/?p=1088 and have it find the page as addressed now which is:

    https://kmareka.com/?p=1088

    Is this possible?

    Forum: Fixing WordPress
    In reply to: htaccess redirect
    Thread Starter kiersten

    (@kiersten)

    I figured out how to make the .htaccess file and now I am looking for help with configuring the redirect command. I want to redirect pages that have /index.php to just the URL plus whatever additional code is there after the where it used to say /index.php. Can anyone be of help?

    Never mind. I figured it out. Thanks again for all your help.

    Now all that is left of my problem is that my “pages” as opposed to my posts are still inserting the index/php in the code and hence giving an error message, such as this:

    https://kmareka.com/index.php/?page_id=288

    Any ideas on what I need to do?

    Okay, I got the theme to work again. What I had to do was go through the wp login page, then go into the wp-admin page by typing that into the address bar and then change the options that I had messed up. Thanks for your help. Sorry if I was not listening carefully. You are very helpful and kind to work with me. Regards, Kiersten Marek

    Okay. I am still trying to get https://kmareka.com/wp-admin, my dashboard page, to work instead of giving an error code. Permalink pages and category pages are working now. But it’s the website theme that is not working and the dashboard page comes up as an error page.

    I’m not sure why I can’t go to the dashboard for my site — I get an error message. But the content of the site is loading the wordpress features such as permalink and category pages are working, but the theme page is not. I noticed that I have an “option name” called called “recently edited” that has this content:

    a:5:{i:0;s:36:”wp-content/themes/nolimits/index.php”;i:2;s:36:”wp-content/themes/nolimits/style.css”;i:3;s:39:”wp-content/themes/nolimits/comments.php”;i:4;s:39:”wp-content/themes/nolimits/category.php”;i:5;s:40:”wp-content/themes/nolimits/thefuture.php”;}

    I notice that this part has a feature for “autoload” which is on “no.” whereas almost everything else is on “yes” for autoload.

    Could these things be key to the problem?

    To clarify, this came about because earlier today my homepage was opening with the wordpress theme, but permalink and category pages were giving me an error message. I went into the options for wordpress and there were 2 boxes, one for domain and one for site URL. In these slots originally, the first had https://kmareka.com and the second had https://kmareka.com/index.php. I thought perhaps this was what was causing the error messages, so changed the second box to just https://kmareka.com. Then I viewed the site and the category pages and permalink pages were working so I thought everything was fixed. Then I realized outside links would be looking for the code with the /index.php in the code, so I went back and tried to change the second option to https://kmareka.com/index.php to see if the pages would work. When I hit “update” I got an error message and ever since then I have not been able to get into wordpress. They recommended I go into myphp database and change “site url” and “home” values to https://kmareka.com but the theme is still not applying.

    This is the contents of my header php file. I don’t believe there is anything in it hard-coded:

    <?php
    @header(‘Content-type: ‘ . get_option(‘html_type’) . ‘; charset=’ . get_option(‘blog_charset’));
    if (!isset($_GET[“page”])) require_once(‘admin.php’); ?>
    <?php get_admin_page_title(); ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head>
    <title><?php bloginfo(‘name’) ?> › <?php echo $title; ?> — WordPress</title>
    <link rel=”stylesheet” href=”<?php echo get_settings(‘siteurl’) ?>/wp-admin/wp-admin.css?version=<?php bloginfo(‘version’); ?>” type=”text/css” />
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php echo get_settings(‘blog_charset’); ?>” />

    <script type=”text/javascript”>
    //<![CDATA[

    function customToggleLink() {
    // TODO: Only show link if there’s a hidden row
    document.write(‘<small>(<?php _e(‘Show hidden’); ?>)</small>’);
    // TODO: Rotate link to say “show” or “hide”
    // TODO: Use DOM
    }

    function toggleHidden() {
    var allElements = document.getElementsByTagName(‘tr’);
    for (i = 0; i < allElements.length; i++) {
    if ( allElements[i].className.indexOf(‘hidden’) != -1 ) {
    allElements[i].className = allElements[i].className.replace(‘hidden’, ”);
    }
    }
    }

    <?php if ( isset($xfn) ) : ?>

    function GetElementsWithClassName(elementName, className) {
    var allElements = document.getElementsByTagName(elementName);
    var elemColl = new Array();
    for (i = 0; i < allElements.length; i++) {
    if (allElements[i].className == className) {
    elemColl[elemColl.length] = allElements[i];
    }
    }
    return elemColl;
    }

    function meChecked() {
    var undefined;
    var eMe = document.getElementById(‘me’);
    if (eMe == undefined) return false;
    else return eMe.checked;
    }

    function upit() {
    var isMe = meChecked(); //document.getElementById(‘me’).checked;
    var inputColl = GetElementsWithClassName(‘input’, ‘valinp’);
    var results = document.getElementById(‘rel’);
    var linkText, linkUrl, inputs = ”;
    for (i = 0; i < inputColl.length; i++) {
    inputColl[i].disabled = isMe;
    inputColl[i].parentNode.className = isMe ? ‘disabled’ : ”;
    if (!isMe && inputColl[i].checked && inputColl[i].value != ”) {
    inputs += inputColl[i].value + ‘ ‘;
    }
    }
    inputs = inputs.substr(0,inputs.length – 1);
    if (isMe) inputs=’me’;
    results.value = inputs;
    }

    function blurry() {
    if (!document.getElementById) return;

    var aInputs = document.getElementsByTagName(‘input’);

    for (var i = 0; i < aInputs.length; i++) {
    aInputs[i].onclick = aInputs[i].onkeyup = upit;
    }
    }

    window.onload = blurry;
    <?php endif; ?>

    //]]>
    </script>

    <?php do_action(‘admin_head’, ”); ?>
    </head>
    <body>

    <div id=”wphead”>
    <h1><?php echo wptexturize(get_settings((‘blogname’))); ?> <span>(“><?php _e(‘View site’) ?> »)</span></h1>
    </div>

    <?php
    require(ABSPATH . ‘/wp-admin/menu-header.php’);

    if ( $parent_file == ‘options-general.php’ ) {
    require(ABSPATH . ‘/wp-admin/options-head.php’);
    }
    ?>

    I know this is fixable because all I did was change the value in the blog URL on the options page. If I can just go to the place in that page and change it — I assume that is what changing “site URL” and “home” does. But won’t this make all the links I have from other sites get error pages? If so, I guess that’s the price to pay to have the site back up. But why was the site working before with one box of options saying https://kmareka.com and the Blog URL box saying https://kmareka.com/index.php. What changed to make the permalink pages suddenly stop working (error message) when the homepage was still working? That was the original problem and the reason why I went in and looked at my options page and then made the change, which seemed to work initially with getting the permalink pages to come up. Thanks so much for your help.

    They are both changed to https://kmareka.com

    But the theme is not applying.

    The real problem is that I can’t get into my dashboard. What would be preventing me from being able to do that?

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