Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • hi, i have the same problem too. the “work around” would be to ftp to the site and open up the xml sitemap file. from there, inspect every url and look for ones where there are double slashes or no slashes (my situation). for me it was at the tail end on the url for category. if you add (or remove) slashes as necessary and upload again you should be able to go into your analytics account, hit “resubmit” and it should work.

    i’m hoping someone will post a reply that will identify a permanent fix since doing this manually each and every time i make a post is a big pain.

    Thread Starter marialipani

    (@marialipani)

    Great news! I just got an e-mail from my host provider and the following worked. He says:

    I’ve removed the functions.php script that was in the public_html/ directory of your account, as this file already exists in the thesis_16/ themes directory.

    Thanks to all for the help with this!!!

    Thread Starter marialipani

    (@marialipani)

    Yes, that’s the site.

    Could it be that when i dragged the functions.php file to the right side i dropped it in the wordpress root folder? i’m not at home and so am not looking at it now, but maybe this is why the error message since as you’ve pointed out it’s not supposed to be there?

    also, remember that after i dragged the functions.php file over to the right side i also modified it using the method below. this is when i started getting the error message.

    update: i posted this problem on the thesis help forum too and it was suggested that i try this: replace completely your current function.php with a fresh, default copy from a download of WordPress. Have the replacement copy of functions.php ready to hand; delete the one that’s on your server, then upload the replacement in its spot. – do you agree that i should try this?

    Quick fix method
    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor (like notepad) and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial “<?php” line.

    update_option(‘siteurl’,’http://example.com/blog&#8217;);
    update_option(‘home’,’http://example.com/blog&#8217;);
    Use your own URL instead of example.com, obviously.

    3. Upload the file back to your site, in the same location. FileZilla offers a handy “edit file” function to do all of the above rapidly, if you can use that, do so.

    4. Load the login or admin page a couple of times. The site should come back up.

    5. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

    If there is no functions.php file in the theme: Create a new text file called “functions.php”. Edit it with notepad, and add this text to it, using your own URL instead of example.com:

    <?php
    update_option(‘siteurl’,’http://example.com/blog&#8217;);
    update_option(‘home’,’http://example.com/blog&#8217;);
    Upload that to your theme directory, then proceed as stated above. Remove the file afterwards.

    Thread Starter marialipani

    (@marialipani)

    yes. i did that last night using the phpMyAdmin.

    Thread Starter marialipani

    (@marialipani)

    when i read the quick fix solution i immediately opened FTP and started looking for the functions.php folder. I found it but it was on the left hand side rather than the right hand side. Thinking that I needed it on the right hand side so that I could open and edit it I dragged it from the left to the right – pretty much following the same procedure that I used when I uploaded each of the WordPress plugins. I didn’t aim for any particular place – based on your comment, maybe it’s in the wrong place?? any help is incredibly appreciated…

    Thread Starter marialipani

    (@marialipani)

    Thank you both so much. This is really anxiety provoking and I’m not out of the woods yet…So I was able to get find phpMyAdmin and to follow the tutorial posted by Clayton James. I then contacted the host and was able to confirm that the domain is now set without the www. BUT, it seems like I created a new error when I originally tried the quick fix method of modifying the functions.php. So, even after the phpAdmin changes there is a new error message that reads:

    Warning: require_once(TEMPLATEPATH/lib/classes/css.php) [function.require-once]: failed to open stream: No such file or directory in /home/mbali/public_html/functions.php on line 41

    So now I’m assuming that I somehow have to correct this functions.php file, but don’t know how. Can you help with this?

    I have no idea if I have backups.

    Thread Starter marialipani

    (@marialipani)

    Okay, thanks. I’m having trouble with the c-panel but have just sent a message to the host. Just one more question if you don’t mind…worst case if I had to reinstall, would that mean that I would lose everything?

    Thread Starter marialipani

    (@marialipani)

    I had found this thread earlier and tried the functions.php fix, but it didn’t work and now there is a different error message.

    Not sure I could handle using phpMyAdmin assuming I could find it. Is there something else you can suggest?

    Does this mean the entire blog is lost??

    Hi, I just tried this method and now have the following message: Warning: require_once(TEMPLATEPATH/lib/classes/css.php) [function.require-once]: failed to open stream: No such file or directory in and then the name of the file location. What did I do wrong?

    The original problem in case this is helpful is that I was in the Settings and I changed the address from: http://example.com to http://www.example.com

    Then I was immediately locked out.

    Any help would be greatly appreciated.

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