Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Upgrading SilverStripe

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Issues With SilverStripe 3


Reply

12 Posts   1953 Views

Avatar
Liam

28 June 2012 at 1:22pm (Last edited: 28 June 2012 1:30pm), Community Member, 470 Posts

The code I copied above from the txt file was from the json tab, but the website you linked me said there was 1 parse error.

I can keep digging around and see what I can find.

This is the screenshot of the error in firefox. Cut off obviously.

http://shiftideas.com/stuff/ss-error3.png

Avatar
nikrolls

28 June 2012 at 3:01pm (Last edited: 28 June 2012 3:05pm), Community Member, 8 Posts

Hard to tell -- but if json.parser.online.fr is saying there is a parsing error then that could be it. Note, make sure you are copying from the Response tab, not the JSON tab.

If there truly is a parse error then this is likely breaking the Ajax functions of the CMS. The next step is to figure out what is causing it, and where ...

EDIT: It'd quite easy to debug JSON yourself, even if you're not a developer. It's a simple 'key: value' dictionary format, and if you've ever worked with CSS then it's very similar (obviously without the selectors).

Avatar
Liam

29 June 2012 at 7:57am Community Member, 470 Posts

Ya I was copying from the JSON tab, not the response tab.

Doing it the proper way, it comes back clean.

Strange. Not sure what's causing this issue.

I have another install on the same server and just uploaded all these project files into it and installed it. Works fine. So it makes more sense to just start fresh and hope it doesn't pop back up. Luckily I didn't have any content really, just sitetree defined and I can easily just duplicate that again.

The ticket I started was marked as critical by Ingo as he can replicate the issue, so it's not a total lost cause.

Thanks for all your help anyway and hopefully this doesn't come back mid project. Fingers crossed.

Avatar
nikrolls

29 June 2012 at 1:42pm Community Member, 8 Posts

Glad I could help!

I always use an SVN so I can easily revert changes if I've broken something. I've also started making daily exports from PHPMyAdmin in case some content I've entered is causing an issue.

Now that Silverstripe 3.0 is final, you're less likely to be affected by bugs that you didn't know you had much later down the track!