0
Welcome Guest! Login
0 items Join Now

rokcandy + PHP7 + Joomla 3.5 bug

    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13483
    • Web Designer/Developer

    Re: rokcandy + PHP7 + Joomla 3.5 bug

    Posted 8 years 9 months ago
    • JGroove - have you resolved your issue that way too? or do you still have the problem of nested rokcandy macros not working in php7?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • JGroove's Avatar
    • JGroove
    • Rocketeer
    • Posts: 60
    • Thanks: 0

    Re: rokcandy + PHP7 + Joomla 3.5 bug

    Posted 8 years 8 months ago
    • No. The issue is not resolved yet. The issue is when you set 4 nested shortcodes it breaks (PHP 7). The same 4 nested shortcodes worked ok in PHP5
      [macro]
          [macro2]
              [macro3]
                  [macro4]
                  [/macro4]
              [/macro3]
          [/macro3]
      [/macro]

      And something worth noting is when it breaks, the top most parent doesn't render i.e. [macro], the rest of the nested macros do.
      I hope this clarifies the scenario. You can easily test it without the overly complicated example I had provided.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13483
    • Web Designer/Developer

    Re: rokcandy + PHP7 + Joomla 3.5 bug

    Posted 8 years 8 months ago
    • JGroove - I set up a test on a Clean Joomla install (nothing RT) and then just added rokcandy to that and set up the macros that you suggested (see screenshots). I tested on PHP 5.6.15 and you can see that the nexted macros do not work on that either (PHP7 gives the same result). So:

      1. I'm not sure nested macros has ever worked properly
      2. It could still be some some sort of timeout issue.

      I will raise a bug ticket about this though to have our DEVS investigate.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13483
    • Web Designer/Developer

    Re: rokcandy + PHP7 + Joomla 3.5 bug

    Posted 8 years 8 months ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: rokcandy + PHP7 + Joomla 3.5 bug

    Posted 8 years 6 months ago
    • JGroove wrote:
      No. The issue is not resolved yet. The issue is when you set 4 nested shortcodes it breaks (PHP 7). The same 4 nested shortcodes worked ok in PHP5
      [macro]
          [macro2]
              [macro3]
                  [macro4]
                  [/macro4]
              [/macro3]
          [/macro3]
      [/macro]

      And something worth noting is when it breaks, the top most parent doesn't render i.e. [macro], the rest of the nested macros do.
      I hope this clarifies the scenario. You can easily test it without the overly complicated example I had provided.

      The above macro looks wrong.

      Instead of
              [/macro3]
          [/macro3]

      it should be
              [/macro3]
          [/macro2]

      I've not tried it myself yet though.
    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.045 seconds