snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Error when updating to 1.2.3

Open kylevitale opened this issue 11 years ago • 4 comments

When I run php composer.phar update I get the following errors:

[RuntimeException] Could not load package phpspec/prophecy in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.0.2: Invalid version string "^1. 0.2"

and

UnexpectedValueException] Could not parse version constraint ^1.0.2: Invalid version string "^1.0.2"

Also, running php artisan migrate gives this:

PHP Fatal error: Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found in /media/vault/snipe-it/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php on line 59

Any ideas?

When I try to load the site now I get this error:

Class 'Illuminate\Database\Eloquent\SoftDeletingTrait' not found

kylevitale avatar Feb 10 '15 22:02 kylevitale

Try running php composer.par self-update first

snipe avatar Feb 10 '15 22:02 snipe

(The second error is because the first bit - the composer update - failed, so it didn't get the new vendor libraries it needed to run the migrations and such)

snipe avatar Feb 10 '15 22:02 snipe

Yes! Thanks.

kylevitale avatar Feb 10 '15 23:02 kylevitale

No problem :)

snipe avatar Feb 10 '15 23:02 snipe