Answer by  
                                                                                          iwillinvent (63)
                                                            
                          
                          
                                                           The sentence is in incorrect form because the phrase "having risen because of the rains" is modifying (talking about) the hikers, when you want it to talk about the river. Better:  The hikers were unable to cross the river, which had risen because of the rains.