Can not enable Site Collection Feature: Office SharePoint Server Publishing Infrastructure

Once I disabled it, I could not renable it any more. Thanks for Microsoft’s error page only showing “There is an error”

But stsadm can do it

 

stsadm -o activatefeature -filename publishingfeature.xml -url http://URL -force

stsadm -o activatefeature -filename publishingresourcesfeature.xml -url http://URL -force

stsadm -o activatefeature -filename publishingSitefeature.xml -url http://URL -force

stsadm -o activatefeature -filename publishingwebfeature.xml -url http://URL -force

stsadm -o activatefeature -filename publishinglayoutsfeature.xml -url http://URL -force

stsadm -o activatefeature -filename navigationfeature.xml -url http://URL -force

Read More