[Skip to main content](#vessel-content)

#   Problem with view editing

##

- **[Tangram](/forum/user/15436-tangram "View Tangram's Profile")**
- [![Tangram's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15436-tangram "View Tangram's Profile") Topic Author
- [ Offline](/forum/user/15436-tangram)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 7 months ago [\#96518](#96518) by [Tangram](/forum/user/15436-tangram "View Tangram's Profile")  *[Problem with view editing](/forum/3-bug-report/79728-problem-with-view-editing#96518 "Hello, i'm having this problem:  When i make a change in any view in the backend and i save it, automatically the code makes a strange thing, it puts this &#92; everywhere. Here's an example: defined(&#92;'&#95;JEXEC&#92;') or die(&#92;'Restricted access&#92;');  What happens then in the frontend is that it gives me this error: Parse error: syntax error, unexpected T&#95;ENCAPSED&#95;AND&#95;WHITESPACE, expecting T&#95;STRING in /home/tangram0/public&#95;html/Extensiones&#95;Demo/Joomla3/templates/protostar/html/com&#95;hikashop/product/show&#95;default.php on line 9  I'll appreciate any help.  Thanks.")* was created by *[Tangram](/forum/user/15436-tangram "View Tangram's Profile")*

Hello, i'm having this problem:

When i make a change in any view in the backend and i save it, automatically the code makes a strange thing, it puts this **\\** everywhere.
Here's an example: defined(**\\**'_JEXEC**\\**') or die(**\\**'Restricted access**\\**');

What happens then in the frontend is that it gives me this error:
**Parse error: syntax error, unexpected T\_ENCAPSED\_AND\_WHITESPACE, expecting T\_STRING in /home/tangram0/public\_html/Extensiones\_Demo/Joomla3/templates/protostar/html/com\_hikashop/product/show\_default.php on line 9**

I'll appreciate any help.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83OTcyOC1wcm9ibGVtLXdpdGgtdmlldy1lZGl0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 7 months ago [\#96594](#96594) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with view editing](/forum/3-bug-report/79728-problem-with-view-editing#96594 "Hello, i'm having this problem:  When i make a change in any view in the backend and i save it, automatically the code makes a strange thing, it puts this &#92; everywhere. Here's an example: defined(&#92;'&#95;JEXEC&#92;') or die(&#92;'Restricted access&#92;');  What happens then in the frontend is that it gives me this error: Parse error: syntax error, unexpected T&#95;ENCAPSED&#95;AND&#95;WHITESPACE, expecting T&#95;STRING in /home/tangram0/public&#95;html/Extensiones&#95;Demo/Joomla3/templates/protostar/html/com&#95;hikashop/product/show&#95;default.php on line 9  I'll appreciate any help.  Thanks.")*

Hi,

That's because the magic_quote_gpc option of your PHP is turned on and that you're using Joomla 3.0
It is a requirement that this option is turned off for Joomla 3.0 installation. Please ask your hosting company to turn that off and it will work properly.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83OTcyOC1wcm9ibGVtLXdpdGgtdmlldy1lZGl0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
