# magic\_quotes

**URL:** https://forum.shopware.com/t/magic-quotes/7488
**Category:** Shopware 3.5
**Tags:** installation--gettin
**Created:** [22. Juni 2012 um 14:02 UTC](https://forum.shopware.com/t/magic-quotes/7488 "2012-06-22T14:02:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![faktor2](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@faktor2](https://forum.shopware.com/u/faktor2)
#### Post date: [22. Juni 2012 um 14:02 UTC](https://forum.shopware.com/t/magic-quotes/7488/1 "2012-06-22T14:02:00Z")

</div>

Hallo zusammen ich bin neu hier und versuche das erste mal shopware zu installieren. klappte eigentlich alles super ausser „magic\_quotes“, ich weiss es gibt etliche Forumbeiträge aber ich habe nichts gefunden dass mir hilft. test meldet mir magic\_quotes „on“ ich meldete es meinem Hoster und der meinte: „magic\_quotes sind veraltet und waren bereits auskommentiert, ich bin nicht sicher weshalb Ihnen diese als ‚On‘ dargestellt wurden.“ weiter habe ich in der config.php if (get\_magic\_quotes\_gpc()) { function magicQuotes\_awStripslashes(&$value, $key) {$value = stripslashes($value);} gpc = array(&\_GET, &\_POST, &\_COOKIE, &$\_REQUEST); array\_walk\_recursive($gpc, ‚magicQuotes\_awStripslashes‘); } eigefügt, leider auch ohne Erfolg die Meldung bleibt!!! hat jemand eine Idee? wäre super!!!

---

<div class="post-metadata">

### Author: ![Hansihans](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hansihans](https://forum.shopware.com/u/Hansihans)
#### Post date: [4. Juli 2012 um 21:25 UTC](https://forum.shopware.com/t/magic-quotes/7488/2 "2012-07-04T21:25:20Z")

</div>

Das hab ich vor der Installation eingefügt und nach erflogreicher Installatiom die Datei mit dem gleichen Inhalt überschrieben. .htaccess  
RewriteEngine on

#RewriteBase /shopware/

RewriteRule shopware.dll shopware.php  
RewriteRule files/documents/.\* engine [NC,L]  
RewriteRule application.yaml engine [NC,L]  
RewriteRule images/ayww/(.\*) images/banner/1 RewriteRule sitemap.xml(.\*) shopware.php?controller=SitemapXml RewriteRule templates/.\*(css|js) engine/backend/php/sCacheTemplate.php?file=0 [NC,L] RewriteRule engine/core/php/sAjaxSearch.php engine/backend/php/sAjaxSearch.php [NC,L]  
RewriteRule engine/core/php/campaigns.php$ engine/backend/php/campaigns.php [NC,L]

RewriteCond %{REQUEST\_URI} !(engine/|images/|files/|templates/|.js$|.css$|.jpg$|.png$)  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule ^(.\*)$ shopware.php [PT,L,QSA]  
DirectoryIndex index.php DirectoryIndex shopware.php  
Deny from all  
  
php\_flag magic\_quotes\_gpc off
