PDA

View Full Version : new installation - database error


bosss
Thu 20th Mar '08, 8:56pm
i just make new installation of vbulletin rc1 and it was ok ... have imported databse from my vbulletin 3.7. 0 beta 6 and import was ok (have used phpmyadmin in my CP)

when i try log in in my admin cp on new installlation get this error

Warning: array_merge() [function.array-merge (http://www.belaplay.com/vbx/admincp/function.array-merge)]: Argument #1 is not an array in [path]/includes/init.php on line 314



will just say that new installation is on different directory (folder)

before was ./root/vb/libar (backup from here) vb - beta 6

now is ./root/vbx - new install. vb rc1

some help

bosss

Floris
Mon 24th Mar '08, 5:54am
You can not fresh install vbulletin
and then import an old database on top of it.
you can also not use impex to import.

Revert to the backup normally and do a normal upgrade,
or start fresh and don't import.

Xeos Celeres
Tue 25th Mar '08, 2:25am
You cannot import an old database, not even with impex? Right now I'm in a process of migrating servers, thus Im taking the opportunity to upgrade VB to 3.6 to 3.7.

Floris
Tue 25th Mar '08, 5:45am
If you have a backup. ....

Restore the backup into a NEW database that is 100% empty.
Then upload the 3.7 files and change the config.php.new to config.php and edit its content to point to that new database to which you restored the 3.6 backup to
Then run upgrade.php from the browser.

That's how you can move it, restore it, and upgrade it to 3.7

You can not install 3.7 first, and then import an .sql dump on top of it. Nor can you use impex on 3.7.

Xeos Celeres
Tue 25th Mar '08, 9:21am
Thanks Floris, that worked very well. I have one more question...

How can I reimport ONLY new posts & threads into my new board ?

I would like to work on the style, permissions, etc. - after a few days I'd like to reimport (update) the forum posts & threads, but not overwriting anything else.

Floris
Tue 25th Mar '08, 10:28am
If you keep one forum open, import and later want the 'latest' entries, that's not possible. Impex doesn't 'touch' the source database, so it's not keep track of changes either.

You can do a test import, work on your style, etc .. then export the style. do a fresh import and re-import the style .. that shouldn't have any problems.

Xeos Celeres
Tue 25th Mar '08, 11:11am
Thank you. Basically I would need a backup of my style, and Vbulletin options - this would contain: permissions, user group settings ?

Floris
Tue 25th Mar '08, 11:16am
No, sorry. I thought you meant only the style and settings.. Misread that part. If you want a complete setup and just new data. Perhaps work on that setup - make that work, and then import on top of it. this way the import is done last and has the latest info.