2 gcasanova Mar 16, 2009 16:25

Try this:
Re-upload your old files and old DB to your new host (do not use the new files yet) - since your new site is probably mixed-up already, so let's start from scratch to be safe
Open your /conf/_basic_config.php file
Update your settings with your new host's stuff (DB name, password, etc.)
Change "$baseurl" to your new URL
Check "$config_is_done" if it is '1' (should be 1 if you copied from your old files)
Login to your backoffice, and go through each "tabs" and "sub-tabs" and update what needs to be updated
If you see something not working, list it down and please repost here ^_^
Move all your old files to a new sub-directory in your server - do not move your /conf/_basic_config.php file; as well as your media directory and custom skins
Upload the new b2evo except /conf/_basic_config.php file
Go to http://yoururl.com/blog/install/ to upgrade
Thanks laibcoms but I stll get the message:
This is b2evolution version 2.4.6.
You cannot use the application before you finish configuration and installation.
Database schema is not up to date!
You have schema version «0», but we would need «9700».
Please use the installer to finish your configuration/installation now.
On most installations, the installer will probably be either here or here... (but I can't be sure since I have no config info available! :P)
http://www.guillermocasanova.net, try it
gcasanova wrote:
Thanks laibcoms but I stll get the message:
This is b2evolution version 2.4.6.
You cannot use the application before you finish configuration and installation.
Database schema is not up to date!
You have schema version «0», but we would need «9700».
Please use the installer to finish your configuration/installation now.
On most installations, the installer will probably be either here or here... (but I can't be sure since I have no config info available! :P)
http://www.guillermocasanova.net, try it
Hmm, that's weird. You sure you updated your /conf/_basic_config.php file to the DB settings of your new host?
What the error says is basically that it can not find any existing b2evo database. It is also possible that you are missing a DB table when you exported or imported your old DB.
Try also doing a new export of your old DB - this time, cut it into different files - say, every 10 tables, that's one file export.
So check your /conf/_basic_config.php and your DB, one of the two is the problem.
Finally, if all is correct, time to ask your host, I've experience once wherein the server I'm supposed to be connecting to is not the one I am connected at - the localhost is pointing to the wrong DB server :p
I'll try what you suggest; uploading fewer tables and see what happens. The address I'm sure is correct.
I'll keep you updated.
Thanks for your interest and hep.
gcasanova wrote:
I'll try what you suggest; uploading fewer tables and see what happens. The address I'm sure is correct.
I'll keep you updated.
Thanks for your interest and hep.
No problemo ^_^
I know how frustrating it is, happened to me before when I transferred.
You still have access to the old host? If so try using the 'backup' feature to backup your database, then the 'backup' feature on the new host to restore the database using the file 'backup' created. The only tricky part there is that you might have to rename the file it made to match the new database name. For example my database might be named domain_bvlt1 but the new one is named domain_db3, so I would rename the file from "bvlt1.sql.gz" to "db3.sql.gz".
If you use the export feature then there is an option to "add drop table / view / ..... " - make sure it is checked.
The thing is when it finds the database your _basic_config.php is pointing at it finds the schema value of "0" which simply can't be. Therefore the problem is that it is finding a database that does not have any information in it. So getting the database to actually exist on your new home AND to actually contain all the right data is the key.
EdB
Here's what I'm getting when doing what you suggest:
This is b2evolution version 2.4.6.
You cannot use the application before you finish configuration and installation.
MySQL error:
Table 'guille6_b2evo.evo_settings' doesn't exist(Errno=1146)Please use the installer to finish your configuration/installation now.
On most installations, the installer will probably be either here or here... (but I can't be sure since I have no config info available! :P)
To be sure I was doing everything right I deleted the database I somehow had managed to restore, then I proceeded to get a new backup following EdB's instructions but now I can't even import/restore the new MySQL backup.
I must be doing something very wrong but I don't know what!
I'm too tired to try to understand why but the database did get restored and the blog is up again although another blog I had as an addon domain lost its database...
The new problem is that spanish characters are appearing garbled... can anybody point me to the solution?
Thanks to all!
Check that your DB connection (via PhpMyAdmin); DB itself; and the Tables of your DB are all "UTF-8" or whichever charset you were using from your old host.
Check also your /conf/_locales.php file
(Note: I'm going to use UTF-8 here)
$force_io_charset_if_accepted should be: $force_io_charset_if_accepted = 'utf-8';
$db_config['connection_charset'] should be: $db_config['connection_charset'] = 'utf8';
--
Now about the "addon domain"...
any other information? There are many factors for that.
1) They're sharing the same /conf/ files
2) They're sharing the same DB name
3) They're sharing the same Table Prefix on the same DB name
4) and others...
How did you setup your main domain and addon domain in your previous host? Are they sharing the same /conf/ files; DB name?
Now I'm getting this error:
So I go "here or here" and I'm taken to square one...