If you softened the cream cheese at room temperature this could lead to runny frosting. It could also be a result of not enough powdered sugar in the frosting, which helps to thicken it, or too much orange juice in the frosting. You should also make sure your cake is cooled completely before spreading the frosting on. If the cake is warm, the frosting will melt.