Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Error when restoring from full schema

#5

When trying to restore from a full schema dump, I get the following errors:


Notice: Undefined property: MigrateShell::$current_version in /Applications/xampp/xamppfiles/htdocs/homeshield/app/vendors/shells/migrate.php on line 327

Notice: Undefined index: /Applications/xampp/xamppfiles/htdocs/homeshield/app/config/migrations/full_schema.yml in /Applications/xampp/xamppfiles/htdocs/homeshield/app/vendors/shells/migrate.php on line 688

Warning: MigrateShell::include(/Applications/xampp/xamppfiles/htdocs/homeshield/app/config/migrations/): failed to open stream: Invalid argument in /Applications/xampp/xamppfiles/htdocs/homeshield/app/vendors/shells/migrate.php on line 695

Warning: MigrateShell::include(): Failed opening '/Applications/xampp/xamppfiles/htdocs/homeshield/app/config/migrations/' for inclusion (include_path='.:/Applications/xampp/xamppfiles/lib/php/pear') in /Applications/xampp/xamppfiles/htdocs/homeshield/app/vendors/shells/migrate.php on line 695


I've had a look at the code around those errors, and I think it's down to the regex being used to load migrations files - "[0-9]+_.+.(yml|php)" - which will exclude the "full_schema.yml" file, causing the undefined index warnings. This is happening both in version 4.0 and the 'trunk' version.

If this could be addressed, I'd be most grateful.

Best, Craig

Reported by Craig Marvelley · February 23rd, 2009 @ 09:55 PM

State: new
Milestone: none

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.