Question

Photo of Don Smallman

0

Error on one home page after upgrading

Hi, I just noticed that one one of our hame apges, there is the following error.  I do not know whcih upgrade caused it, since there were three done back to back.

This error is on the sub-ad section of the page.

ERROR: There was a problem getting content..
Additional text encountered after finished reading JSON content: ". Path '', line 5, position 2.

Thanks!

  • Photo of David Turner

    1

    Don, there a "Enable Query/Route Parameter Filtering" setting on those blocks that needs to be selected if you are displaying content based on the "Item" parameter in the query string. Previous to v4 this did not need to be selected (we fixed the migration for v4 this morning to update it automatically).

    You might also consider joining our Slack community: http://www.rockrms.com/slack

  • Photo of Don Smallman

    0

    I made some changes to the filters for that sub-ad area and it is working again.  I am not sure if that is something I did or what, but there was a filter added without any criteria.

  • Photo of Don Smallman

    0

    Sorry, there still is an issue.  My sub-ads are all going to the same page, and I am not sure why.  Look at https://www.therockaz.org/page/375 and click on any sub-ad ad you will see what I mean.  There is probablly something in my Lava, but not sure what.  Help!  :-)

  • Photo of Seth Thomas

    0

    Ours is doing the same thing. But besides the sub-ads, our website ads also all lead to the same page. I've 'restarted' Rock and also cleared the cache, but its still doing this. The link in the address bar appears to go to the right page, but the page loading is all the same one...

    www.northeastchristian.org

  • Photo of Seth Thomas

    0

    Okay. I fixed it on our website. I think I figured out what David was saying. I selected the 'Enable Query' box from the main home page on our Website Ad Block and the Sub-Ad blocks and there was no difference. They still all led to one detail page. So, then I selected the options on that detail page and ALSO selected the 'Enable Query' box on the detail page. With that one selection on the detail page, now ALL the Website Ads and Sub-Ads are leading to the correct corresponding Detail Pages.

    Hope that helps!

    • Don Smallman

      Hi Seth, I am glad you got it working. I am not sure I understand what you mean when you say " So, then I selected the options on that detail page and ALSO selected the 'Enable Query' box on the detail page".

  • Photo of Don Smallman

    0

    Seth are you talking about these options?  Because I already have them set.

     

    Capture0128.JPG

  • Photo of Seth Thomas

    0

    Don. From your website homepage, click on one of your sub-ads (101-401). I assume any and all of these still lead to the wrong 'Detail Page'. I just checked them and they are all feeding to one page. I also assume you're logged in. Click on the 'Block Configuration' down in the bottom right corner. Now click on the 'Content Dynamic Channel' tab in the block of text. Click on 'Edit Criteria'. Once that configuration window is open, there should be a selection box 'Enable Query'. I checked the box on our site, and that immediately corrected all our sub-ad links and website ad links. They are functioning correctly and that's the only change I made. Hope it helps!

    enable query.png

     

    • Don Smallman

      Thanks! Yes, I had already done that, sorry I thought I had mentioned that. It did not help me, but I have made some Lava modifications to change the behavior of these blocks, that might be messing me up now that I have upgraded.

  • Photo of Seth Thomas

    0

    Okay, good luck! I'm not a coding guy and have left all the Lava stuff intact. I only made that one change and it corrected all our links!