error is 'corrupted database' every start of the wallet, yet you also mention you redownloaded the blockchain , did you then get the message after the blockchain downloaded ?
are you on linux or windows and which flavor/version .....
I assume you are using the most recent build of photon that was released on github here
https://github.com/photonproject/photon/releases
if not, which version /wallet are you using,
I cannot reproduce this error as I have tested the wallet quite a bit however one possible cause of it is several releases previously there was an upgrade in the version of level db used , upgrading to a new wallet with the new level db may rebuild your database once....
If you then used that wallet with an older client it may have reindexed again....
If possible can you post debug log file, let's have a look and try to help you out....