Jump to content

Beam

New Members
  • Posts

    3
  • Joined

  • Last visited

Beam's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi there! I don't know if I've posted this topic in the right place. I am unable to edit my CMS due to an error. In the CMS sitemap it states "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data". In the error log it says "PHP Warning: php.ini settings: Please disable mbstring.encoding_translation or set mbstring.http_input to "pass". Do I need to edit my JSON file or edit the php.ini settings? How do I do this? Many thanks!
  2. Thanks so much for getting back to me so quickly! I'm pretty new to this. Can you please tell me where to paste the code? As soon as I add the svg tag to my php file it breaks. Here is the code for the svg... <button class="md:hidden rounded-lg focus:outline-none focus:shadow-outline" @click="open = !open"> <svg fill="currentColor" viewBox="0 0 20 20" class="w-6 h-6"> <path x-show="!open" fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z" clip-rule="evenodd"></path> <path x-show="open" fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path> </svg> </button>
  3. Hello. I need to use an svg file in my php document but when I add it I get an error. Is there a way to display svg in php? I hope someone can help. Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.