Title: Upgrade from b2 problem
Last modified: August 18, 2016

---

# Upgrade from b2 problem

 *  [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * (@kwyjibo)
 * [23 years ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/)
 * In going through the upgrade process with b2-2-wp.php I get this error in step
   2:
    “So far so good. 1.SQL/DB Error — 2.[Can’t DROP ‘post_karma’. Check that 
   column/key exists] Almost there…” On my main page nothing loads and I get this
   error on my main page where I use Mike’s Link Manager, oops I mean B2Links : “
   Fatal error: Call to undefined function: dbconnect() in /home/httpd/vhosts/ericlindbloom.
   com/httpdocs/b2links.php on line 106” Any ideas on a quick fix? I’m I just a 
   moron and missing something easy?

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

 *  Thread Starter [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * (@kwyjibo)
 * [23 years ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21890)
 * OK, I took out the links to the B2Links and the rest of the page loads, but now
   I get an error where my posts should be of:
    Warning: Supplied argument is not
   a valid MySQL result resource in /home/httpd/vhosts/ericlindbloom.com/httpdocs/
   index.php on line 197 Line 197 is the first line of the b2 loop: <?php while(
   $row = mysql_fetch_object($result)) { start_b2(); ?>
 *  Thread Starter [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * (@kwyjibo)
 * [23 years ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21891)
 * Now I loaded tyhe index.php that came wit hthe WordPress download package and
   I have my posts.
    Is there any modifications that I could do to me original index.
   php to make this work rather than rebuild? I may get this answered too before
   I get a response, but at least maybe I can help someone else who has had the 
   same mental lapses as moi. Sorry for taking up the space.
 *  Anonymous
 * [23 years ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21892)
 * Now I get this error with the login:
    Warning: open_basedir restriction in effect.
   File is in wrong directory in /home/httpd/vhosts/ericlindbloom.com/httpdocs/b2header.
   php on line 4 Fatal error: Failed opening required ‘/b2-include/b2template.functions.
   php’ (include_path=’.:/php/includes:/usr/share/php’) in /home/httpd/vhosts/ericlindbloom.
   com/httpdocs/b2header.php on line 4
 *  Thread Starter [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * (@kwyjibo)
 * [23 years ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21893)
 * b2header.php Line 4 is:
    require_once($b2inc.”/b2template.functions.php”);
 *  Thread Starter [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * (@kwyjibo)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21980)
 * After alot of trial and error I found the answer here:
    [http://wordpress.org/support/2/62](http://wordpress.org/support/2/62)
   all i did was change $b2inc = “/$b2inc”; to $b2inc = “$b2inc/”; and it started
   working. o_O

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

The topic ‘Upgrade from b2 problem’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 2 participants
 * Last reply from: [kwyjibo](https://wordpress.org/support/users/kwyjibo/)
 * Last activity: [22 years, 12 months ago](https://wordpress.org/support/topic/upgrade-from-b2-problem/#post-21980)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
