Recent Topics

1 Mar 06, 2012 21:19    

My b2evolution Version: 3.x

My shared hosting service recently upgraded PHP to 5.3.8 and it broke my version of B2Evo (3.x circa 12/09; how do you find the version no.?).

Never having done an upgrade on B2Evo, I tried reading the manual (kidding, right???) and following the instructions. http://manual.b2evolution.net/Upgrade_from_an_older_version

For us wanna-be-computer-types, the instruction to "Run the installation script on your server" actually means type the path to the index.html file in the install folder into your browser and click the only clickable link.

I got past the first screen and set up the database configuration (pw, user, host, db user).

Selected Upgrade radio button, clicked GO! Then, got stuck on the second screen:

***************
Upgrading b2evolution...

Checking files...

Preparing to install .htaccess ... Already installed. (this msg is from a repeat attempt, the first attempt said "successfully installed")

Upgrading data in existing b2evolution database...

Loading module: _core/model/__core.install.php
Loading module: collections/model/_collections.install.php
Loading module: files/model/_files.install.php
Loading module: sessions/model/_sessions.install.php
Loading module: messaging/model/_messaging.install.php
Loading module: maintenance/model/_maintenance.install.php
Checking DB schema version...

OOPS! b2evolution doesn't seem to be installed yet.
****************

I tried tracing the code to see why this happened. The function get_db_version() tries to read the settings table and quits if it can't find it. I queried my db, found the settings table, saw the db_version is 9960. The "auto_prune_stats_done" set_name has a set_value of today's date, so something found this table.

I'd appreciate any help to get me past the OOPS! stage. My site is a food blog and I have all kinds of great preparations for you to enjoy as your reward!

Thanks.

2 Mar 07, 2012 07:46

OOPS! b2evolution doesn't seem to be installed yet.

It looks like the installer couldn't find b2evo tables in specified database. Make sure you entered correct credentials. Also check the table prefix in the database.

If the prefix is not "evo_" you should edit $tableprefix value in /conf/_basic_config.template.php

3 Mar 07, 2012 09:52

If the prefix is not "evo_" you should edit $tableprefix value in /conf/_basic_config.template.php

Thanks! I changed this file (and the _basic_config.php file, too) to have

$tableprefix = '';

I re-ran the install and everything went smoothly. The last steps were to copy over my media files and the "vast_header.jpg" file of my habanero peppers to replace the Monument Valley rocks.

Whew! Disaster averted. Please enjoy some of my recipes. (glenguthrie.com)


Form is loading...