• I get the following error and have no idea what to do about it when upgrading my site (beyondsurrendered.com)

    Fatal error: Call to undefined function: is_admin() in /homepages/40/d205009528/htdocs/BeyondSurrendered/wp-includes/vars.php on line 16

    I made a back up of wordpress files and my database. I’m on 1and1 fyi.

    I’m quite the noob so any help would be greatly appreciated!
    -reba.

Viewing 15 replies - 16 through 30 (of 38 total)
  • If you changed permalinks to anything other than default, you will have an .htaccess file. .htaccess is not in the WordPress install file or folder that you upload; it is in the root of your web directory, and created by WordPress. The dot in front of the name is important; be sure FileZilla is set to show normally invisible files.

    Thread Starter rebakahblam

    (@rebakahblam)

    I found the .htaccess file finally! Yay! Now – onto the real work. I opened it in Dreamweaver (it is a binary file ja?).

    This is what it says:

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

    Where do I put AddType x-mapp-php5 .php – above the #begin or after?
    -reba.

    Right above
    # BEGIN
    or right after
    # END

    If you put it between them you’ll just lose it next time you touch your permalinks…

    Thread Starter rebakahblam

    (@rebakahblam)

    Okay, I added 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

    But I’m still getting the same error – do I have to delete the spaces or? I saved it as .htaccess and overwrote the other file – still an error?
    -reba.

    Thread Starter rebakahblam

    (@rebakahblam)

    I think I may just give up on 2.9.2. Everytime i try to upgrade somehing like this happens. I wonder if the auto upgrade is just not compatible with m browser? I use firefox.

    The auto upgrade has little to do with your browser and probably everything to do with 1and1 not playing well with WP….

    rebakahblam, contact your hosting support. Ask them politely to install WP for you. I’m sure they will.

    Auto-upgrade mostly fails when your hosts has turned his servers “safe-mode on”. In US lots of servers are “safe-mode off”, in Europe almost all have “safe-mode on”.

    Thread Starter rebakahblam

    (@rebakahblam)

    zeo – I don’t need it installed I need it upgraded. I am going to try going through it again.

    rainer23 – I’m in the US.

    I’ll try calling 1and1 but I doubt they’ll be much help. I would switch hosts but they have been the cheapest one I have found and I wouldn’t even know how to switch my other site with its database and such to a new host.

    Here’s to crossing our fingers! šŸ™‚
    -reba.

    Thread Starter rebakahblam

    (@rebakahblam)

    I did it all over again – even re-downloaded wp and overwrote all files in case a theme was affecting it. Maybe I uploaded my .htaccess file to the wrong directory? Everywhere it says to the root of your wordpress file. Is that my sites file then? For instance…I have site>wordpress>wordpress folders and i uploaded the .htaccess to the site folder – is that not the root of my blog?
    -reba.

    Mark Ratledge

    (@songdogtech)

    Everywhere it says to the root of your wordpress file.

    Folder, not file.

    Your .htaccess file goes the same directory as your WordPress install. So if you do have a folder called wordpress that’s inside site, .htaccess goes in wordpress, not site.

    Thread Starter rebakahblam

    (@rebakahblam)

    It still isn’t working.

    I contacted 1and1 but have not heard back yet.

    -reba.

    weddingcakes

    (@weddingcakes)

    Do a full database backup and then delete all files. Do a fresh install, and backup your database. This is a pretty much a last resort thing, but mostly i end up doing this when ever its messed up.

    however, do wait for your hosting to reply back, and if they don’t reply, i guess it should be time for you to look for a new host…

    i hope you have the cpanel/fantastico option in the 1and1 hosting?

    Thread Starter rebakahblam

    (@rebakahblam)

    I got this response from 1and1:
    “Hi Reba,

    I am sorry to hear about your trouble upgrading wordpress. The error you’re
    getting is a scripting error and unfortunately it is not one we provide
    support for. You’re already on the right track to find a solution. Stick
    with wordpress support, they should be able to help you out.”

    Don’t know what to do now.
    -reba.

    Thread Starter rebakahblam

    (@rebakahblam)

    I’m looking into switching hosts this isn’t the first issue with 1and1. I have three domains two of the. I just want to be redirectors and the third be my actual site. Any tips on what WORDPRESS integrated host I should pick? My main deciding factor is budget. I pay $23 every six months for 1and1 and can’t afford much more than that right now.
    -Reba.

Viewing 15 replies - 16 through 30 (of 38 total)

The topic ‘Fatal Error Upgrading to 2.9.2’ is closed to new replies.