MyBB Community Forums
getting error using vbulletin database in mybb - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Merge System Support (https://community.mybb.com/forum-180.html)
+--- Thread: getting error using vbulletin database in mybb (/thread-241737.html)



getting error using vbulletin database in mybb - kokoko420 - 2024-09-03

I fixed it myself


RE: getting error using vbulletin database in mybb - Omar G. - 2024-09-04

(2024-09-03, 06:46 AM)kokoko420 Wrote: I am getting 2 different error

Warning: Declaration of debugErrorHandler::error($type, $message, $file = NULL, $line = 0) should be compatible with errorHandler::error($type, $message, $file = NULL, $line = 0, $allow_output = true) in /home/hrrathore/public_html/forums/merge/resources/class_error.php on line 34


below error getting when I tried to import vbulletin database
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1045 - Access denied for user '***'@'localhost' (using password: YES)
Query:
[READ] Unable to connect to MySQL server
If you're a visitor of this website, please wait a few minutes and try again. If this problem persists, please contact the site owner.

If you are the site owner, please check the MyBB Documentation for help resolving common issues, or get technical help on the MyBB Community Forums.

Help

Try my fork, which might handle this and additional issues :
https://github.com/Sama34/merge-system


RE: getting error using vbulletin database in mybb - skinmi - 2024-11-27

(2024-09-04, 12:56 AM)OmarĀ G. Wrote:
(2024-09-03, 06:46 AM)kokoko420 Wrote: I am getting 2 different error

Warning: Declaration of debugErrorHandler::error($type, $message, $file = NULL, $line = 0) should be compatible with errorHandler::error($type, $message, $file = NULL, $line = 0, $allow_output = true) in /home/hrrathore/public_html/forums/merge/resources/class_error.php on line 34


below error getting when I tried to import vbulletin database
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1045 - Access denied for user '***'@'localhost' (using password: YES)
Query:
[READ] Unable to connect to MySQL server
If you're a visitor of this website, please wait a few minutes and try again. If this problem persists, please contact the site owner.

If you are the site owner, please check the MyBB Documentation for help resolving common issues, or get technical help on the MyBB Community Forums.

Help

Try my fork, which might handle this and additional issues :
https://github.com/Sama34/merge-system




I ran this version and was able to connect to the database.
The user groups were successfully transferred and that's it.

I'm transferring vbulletin 4 to myBB

When I click to transfer users, nothing happens, nor do topics, posts, etc. from the database.

What could be the problem?

The image is attached.

Why are they showing as locked
user
post

etc...

How to unlock them to make a transfer.


RE: getting error using vbulletin database in mybb - Joey_Pham423 - 2024-11-27

I think the "locks" you see in the MyBB Merge System indicate that certain merge steps have already been completed. These locks are there to prevent duplicate data imports and conflicts if the process is re-run.

To unlock them, follow these steps:

- Access Your Database: Use phpMyAdmin or another database management tool to access the MyBB database.

- Locate the Merge Lock Table: Find the table named mybb_merged_settings (or similar, depending on your database prefix).

- Identify the Locked Actions: Look for rows in this table related to the actions you want to unlock. They often have entries like step_locked.

Delete or Modify the Lock: You can delete the row or modify the value of the lock to allow the step to be re-run.

Example SQL query to remove all locks:
DELETE FROM mybb_merged_settings WHERE name = 'step_locked';



RE: getting error using vbulletin database in mybb - Omar G. - 2024-11-28

The locks indicate that there are missing steps before you can run every step.

From your screenshot, to import the users table you have to first import the usergroups table, for example. And so on for every locked step.

You are not forced to import everything, but you are required to import some in order to be able to import another ones.


RE: getting error using vbulletin database in mybb - skinmi - 2024-11-28

Thanks for the reply

But there is no table
mybb_merged_settings

and there is nothing similar to step_locked

I searched the chelu database and this does not exist.

I have almost 19000 members
about 50000 posts

Is there a way to import vbulletin into myBB at least so that I can transfer topics and posts.

Thanks


RE: getting error using vbulletin database in mybb - Omar G. - 2024-11-28

To import users, you first need to import user groups.

To import threads you need to import forums first as well, then after that you should be able to import posts.


RE: getting error using vbulletin database in mybb - skinmi - 2024-11-28

I managed to get almost to the end and then this error appeared, what should I do, this is practically the most important part that I need to transfer to the new forum.

Any help is welcome.


Fatal error:

Uncaught Error: Class "VBULLETIN4_Converter_Module_Posts" not found in /home/forum/public_html/merge/index.php:957 Stack trace: #0 {main} thrown in /home/forum/public_html/merge/index.php on line 957