Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database update 1006 is failing during website import from Drupal 7 #72

Closed
Wylbur opened this issue Nov 3, 2021 · 2 comments
Closed
Assignees
Labels

Comments

@Wylbur
Copy link

Wylbur commented Nov 3, 2021

I'm importing a Drupal 7 website to backdrop for the first time. When I am running the update, it fails with the following error message:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://sapsbd.docksal/core/update.php?op=selection&token=AgdxKy0g68L-6kIg_AZ9oCY93iLny-T_B9UdZArAmCQ&id=707&op=do_nojs&op=do StatusText: Service unavailable (with message) ResponseText: Error: Call to undefined function backup_migrate_include() in backup_migrate_update_1006() (line 494 of /var/www/modules/backup_migrate/backup_migrate.install).

I'll try this again on a few more migrations, but just wanted to document this here to see if anyone else has run into this.

@quackers8me
Copy link
Collaborator

I think you've found a bug in the install file where it's not loading the module into memory first. I believe that 1006 function should include:
module_load_include('module', 'backup_migrate', 'backup_migrate');
before trying to "Get schedule"
I will do further testing and issue a new release if this is the case.

@quackers8me quackers8me self-assigned this Nov 4, 2021
@quackers8me quackers8me added the bug label Nov 4, 2021
@Wylbur
Copy link
Author

Wylbur commented Nov 4, 2021

@quackers8me

Testing

Adding the code line at line 494 of backup_migrate.install resolved the install messages perfectly!

I have further error messages now, and will start additional issues for those items.

Thanks for your quick response!

quackers8me added a commit that referenced this issue Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants