Problem with view editing

  • Posts: 10
  • Thank you received: 0
11 years 7 months ago #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 \ 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 or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 7 months ago #96594

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 or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum