I was following the instructions to hide the Create Site link, but after backing up and modifying the /alfresco-4.2d/tomcat/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/dashlets/my-sites.get.js and my-sites.get.html.ftl and /alfresco-4.2d/tomcat/classes/alfresco/web-extension/site-webscripts/org/alfresco/modules/header/sites.get.js and sites.get.html.ftl files, the link to Create site was still visible. I restored the previous versions of the files above but now cannot log into :8080/share/page/type/login or :8080/alfresco/faces/jsp/browse/browse.jsp. Whe I try to log into share i get a message saying alfresco is not available or my credentials are wrong. When I try to log into alfresco explorer i get a 404 Apache Tomcat 7.0.42 error. I did not touch alfresco-global.properties and run service alfresco restart as well as rebooting the server.
Thanks in advance for any insight on this.