Upgrade Failed! Error on D-Link Dir 878 recovery page

There is not so much we can do.
There is this note in the wiki.

If the upload from the Recovery GUI hangs and doesn't do anything, refer to this forum topic for an alternative exploit that can be used in older versions of the stock firmware to get OpenWrt installed.

Did you consult this topic?