{"id":929,"date":"2011-05-31T03:12:21","date_gmt":"2011-05-30T18:12:21","guid":{"rendered":"http:\/\/www.weschkalnies.de\/blog\/?p=929"},"modified":"2012-09-22T05:50:49","modified_gmt":"2012-09-21T20:50:49","slug":"contao-tipp-localhost-live-server-4x","status":"publish","type":"post","link":"https:\/\/www.weschkalnies.de\/blog\/contao-tipp-localhost-live-server-4x\/","title":{"rendered":"Contao-Tipp: Localhost <=> Live-Server &#8230; (4\/x)"},"content":{"rendered":"<p>Contao (ehemals TYPOlight) erfreut sich weiterhin zunehmender Beliebtheit. Einzigartig gut ist die Benutzerfreundlichkeit auch f\u00fcr Laien. Ein Contao CMS l\u00e4sst sich einfach anpassen und erweitern. Daher setze ich Contao auch selbst sehr gerne f\u00fcr Internetseiten ein. Ab sofort werde ich hier immer wieder mal sinnvolle Tipps&#038;Tricks zu Contao erl\u00e4utern. Mein vierter Tipp erl\u00e4utert <strong>meine eigene<\/strong> Vorgehensweise, um ein Contao-System inkl. Inhalten, Plugins und Einstellung vom Localhost auf einen Live-Server zu \u00fcbertragen und vice versa.<!--more--><\/p>\n<p>1. Benenne die index.php auf dem Live-Server in index_old.php um.<br \/>\n2. Benenne die index_update.php in index.php um. Meine index_update.php erkl\u00e4rt, dass ich gerade ein Update durchf\u00fchre.<br \/>\n3. SQL-Backup (von localhost)<br \/>\n4. SQL-DB (Tabelle) l\u00f6schen auf Liveserver.<br \/>\n5. SQL von Localhost auf Liveserver importieren.<br \/>\n6. Verzeichnis von Localhost auf Liveserver kopieren (ohne src-Verzeichnis). Am Besten l\u00e4sst man hier auch erstmal noch folgende Dateien und Verzeichnisse aus:<br \/>\n&#8211; .htaccess<br \/>\n&#8211; \/system\/config\/<br \/>\n7. Testen<br \/>\n8. L\u00e4uft nicht? Contao-Install-Tool aufrufen und DB-Infos aktualisieren.<br \/>\n9. Testen.<br \/>\n10. \/system\/config hochladen ohne die localconfig.php in \/system\/config<br \/>\n11. Testen<\/p>\n<p>L\u00e4sst sich auch f\u00fcr Updates auf \u00e4hnliche Weise nutzen.<\/p>\n<p>[contentblock id=1]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contao (ehemals TYPOlight) erfreut sich weiterhin zunehmender Beliebtheit. Einzigartig gut ist die Benutzerfreundlichkeit auch f\u00fcr Laien. Ein Contao CMS l\u00e4sst sich einfach anpassen und erweitern. Daher setze ich&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[35,48,46,47,45],"class_list":["post-929","post","type-post","status-publish","format-standard","hentry","category-contao","tag-contao-2","tag-htaccess","tag-live-server","tag-localconfig","tag-localhost"],"_links":{"self":[{"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/posts\/929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/comments?post=929"}],"version-history":[{"count":0,"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/posts\/929\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/media?parent=929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/categories?post=929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weschkalnies.de\/blog\/wp-json\/wp\/v2\/tags?post=929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}