K
K
Konstantin Kudelko2016-04-29 12:51:40
Drupal
Konstantin Kudelko, 2016-04-29 12:51:40

How to overcome such an error?

The specified file 366 could not be copied to public://images/bands/366: "copy(366) [ function.copy ]: failed to open stream: No such file or directory File /home/isys/nocover.isys. by/sites/all/modules/migrate/plugins/destinations/file.inc, line 393"
Occurs during migration

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Mokhov, 2015-05-22
@iRumba

If you set a goal - to make it in one request, then there is a solution, how acceptable it is - I don’t know ..

UPDATE `userprofiles` SET 
    `Value` =
    CASE `Field`
        WHEN 'Password' THEN 'pass'
        WHEN 'First name' THEN 'Ivan'
        WHEN 'Login' THEN 'SkyFox'
        ELSE `Value`
    END
WHERE `UserId` = 2

X
xSkyFoXx, 2015-05-22
@xSkyFoXx

No way. Write 10 requests per transaction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question