Search…

X3 Photo Gallery Support Forums

Search…
 
lucaonline
Topic Author
Posts: 20
Joined: 18 Oct 2016, 03:40

Website is not loading anymore

07 Jul 2017, 05:07

Hello,

I´ve just enabled the Toolbar and deleted this row 

    {
      "id": "download",
      "icon": "download",
      "label": "Download",
      "url": "{{raw_image_url}}"
    }

then i  cleared the page cache.
Now the Website is not loading anymore. The loading-circle appears and remains.

I even did the X3 Updater again and deleted the Cache-Files manually.

How can i solve this Problem.

http://www.lucaonline.de

thanks!
Attachments
diagnostics.JPG
diagnostics.JPG (11.87 KiB) Viewed 3993 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14003
Joined: 30 Sep 2006, 03:37

Re: Website is not loading anymore

07 Jul 2017, 07:36

lucaonline wrote:{
      "id": "download",
      "icon": "download",
      "label": "Download",
      "url": "{{raw_image_url}}"
    }
This is JSON code, which uses commas "," to separate each property. I'm almost sure you didn't remove the comma before the first "{". If the JSON syntax has orphan commas, the syntax will break, and then it will also break X3.

Likely, you would need to remove this (INCLUDING the starting comma):
Code
,{
  "id": "download",
  "icon": "download",
  "label": "Download",
  "url": "{{raw_image_url}}"
}
To fix, just make sure you don't have any orphan or duplicate commas lying around at the end.
 
lucaonline
Topic Author
Posts: 20
Joined: 18 Oct 2016, 03:40

Re: Website is not loading anymore

07 Jul 2017, 07:46

hmm..still not working...

what am i doing wrong :(


{

  "items": [
    {
      "id": "share",
      "icon": "share",
      "label": "Share"
    },
    {
      "id": "facebook",
      "icon": "facebook",
      "label": "Share on Facebook",
      "url": "https://www.facebook.com/sharer/sharer.php?u={{url}}"
    },
    {
      "id": "twitter",
      "icon": "twitter",
      "label": "Tweet",
      "url": "https://twitter.com/intent/tweet?text={ ... &url={{url}}"
    },
    {
      "id": "google",
      "icon": "google-plus",
      "label": "Share on Google +",
      "url": "https://plus.google.com/share?url={{url}}"
    },
    {
      "id": "pinterest",
      "icon": "pinterest-p",
      "label": "Pin it",
      "url": "http://www.pinterest.com/pin/create/but ... ion={{text}}"
    },
    {
      "id": "linkedin",
      "icon": "linkedin",
      "label": "Share on Linkedin",
      "url": "http://www.linkedin.com/shareArticle?mi ... tle={{text}}",
      "display": "overlay"
    },
    {
      "id": "vkontakte",
      "icon": "vk",
      "label": "Share on vKontakte",
      "url": "http://vk.com/share.php?url={{url}}",
      "display": "overlay"
    },
    {
      "id": "tumblr",
      "icon": "tumblr",
      "label": "Share on Tumblr",
      "url": "http://www.tumblr.com/share?v=3&u={{url}}&t={{text}}&s=",
      "display": "overlay"
    },
    {
      "id": "mailto",
      "icon": "envelope",
      "label": "Share by Email",
      "url": "mailto:?subject={{text}}&body=Hi,%0D%0A%0D%0A{{description}}%0D%0A{{url}}",
      "color": "#00bcf2",
      "display": "overlay|popup"
    }
]
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14003
Joined: 30 Sep 2006, 03:37

Re: Website is not loading anymore

07 Jul 2017, 14:06

Where's the last closing } bracket at the very end? The last char in your post is ].
Code
{
  "items": [...]
}
 
lucaonline
Topic Author
Posts: 20
Joined: 18 Oct 2016, 03:40

Re: Website is not loading anymore

10 Jul 2017, 02:27

yep...that one was missing :)

thanks