Did you try the solution mentioned over on this post?
Activating and deactivating publishing feature breaks SP2010 wikis?
I don't know if it will work for you, but it might be worth a try.
I didn't have any success with that previous answer though and went the other way and delved into the bowels of SharePoint and found that even though I was re-activating the publishing features on my web I had to actually manually set the property __PublishingFeatureActivated to true with a console application.
SPSecurity.RunWithElevatedPrivileges(
delegate
{
Console.Out.WriteLine("Connecting to site...");
using (SPSite site = new SPSite(new Guid("d0c6ab0a-d112-41e2-bd03-a38219feca21")))
{
Console.Out.WriteLine("Connecting to web...");
using (SPWeb web = site.OpenWeb("/path/to/web"))
{
object test = web.GetProperty("__PublishingFeatureActivated");
web.SetProperty("__PublishingFeatureActivated", "True");
web.Properties.Update();
web.Update();
Console.Out.WriteLine(Environment.NewLine + "Press any key to continue...");
Console.In.Read();
}
}
});