0
Welcome Guest! Login
0 items Join Now

RokSpocket error message

  • Re: RokSpocket error message

    Posted 10 years 8 months ago
    • To confirm, I'm still having this problem with 2.1.1

      Probably not using the module as intended - I don't link to any articles and use it for banners - it worked well at the time for my site needs/layout.

      Therefore, Title, Description and Tags for each item are blank and Image and link I use to display the banner and its external link.

      It used to work fine. I am still resolving it now by not displaying site errors though.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 8 months ago
    • Teessider wrote:
      I am still resolving it now by not displaying site errors though.

      On a debugged production site you would normally run with error messaging turned off. However this doesn't sound right that you have to turn it off just to get rid of an existing error. Kind of like removing that annoying "Check Engine Light" bulb in the car to remedy the problem.

      Would you please create a Super Admin login for me and place it in the SECURE part of your Reply

      This image is hidden for guests.
      Please log in or register to see it.


      so that I can take a look.
  • Re: RokSpocket error message

    Posted 10 years 8 months ago
    • Had this same problem while using 'Simple Content' and having the Tags property set to 'None'. I figure the module was not passing the Tags, thus the variable remained empty. The trick is to force the module to pass the tags again.

      Maybe this solution will be useful to another reader.

      Go into the RokSprocket module and on the properties for each of the Simple items click on the tags property and select None again.

      You have to do this for each of the Simple items in your RokSprocket module.

      Save the module and refresh your page.

      Hope this helps.
    • The following users have thanked you: Kristján Þór Árnason, waupo, Matthew D

  • Re: RokSpocket error message

    Posted 10 years 8 months ago
    • I was getting the same error, but I had to set the tags to custom and leave it blank to get the error to go away. I didn't try to set any tags, as we aren't using that function. I am using v. 2.1.1

      Hopefully a fix for this will arrive soon.

      Eric
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 8 months ago
    • Teessider wrote:
      To confirm, I'm still having this problem with 2.1.1

      It used to work fine. I am still resolving it now by not displaying site errors though.


      Okay, some mods can reproduce the error and some (me included) can not. We seen posts where tag = NONE is the error causing the issue and yet others where this turns out to be the SOLUTION to the error :?

      Would you please create a Super Admin login for me and place it in the SECURE part of your Reply

      This image is hidden for guests.
      Please log in or register to see it.


      so that I can take a look. I need somewhere's where the error occures to be able to debug it.
    • waupo's Avatar
    • waupo
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: RokSpocket error message

    Posted 10 years 7 months ago
    • thx Sharon Mckormick, this solves the problem on my system too
    • Last Edit: 10 years 7 months ago by waupo.
    • PK's Avatar
    • PK
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: RokSpocket error message

    Posted 10 years 7 months ago
    • Thank you! This worked for me, had the same problem!
    • MatK's Avatar
    • MatK
    • Newbie
    • Posts: 6
    • Thanks: 1

    Re: RokSpocket error message

    Posted 10 years 7 months ago
    • Hi,

      I had this issue also. I didn't tried to find why the issue was caused (actually this if false... Item is identified as -article- instead of -none- in function setupTags. Why? This is what I did not tried to find). Simply find a way to bypass it. This happens when $tags=null.


      Here is how I fixed it.

      Go to line 106 in RokSprocket_Layout_Mosaic.php
      Add this line of code between line 105 and 106
      if (isset($tags))

      So before:
      $outtags = array();
      foreach ($tags as $tag) {

      And after:
      $outtags = array();
      if (isset($tags))
      foreach ($tags as $tag) {

      No more warning.
    • The following users have thanked you: Matthew D

    • Matthew D's Avatar
    • Matthew D
    • Jr. Rocketeer
    • Posts: 34
    • Thanks: 0

    Re: RokSpocket error message

    Posted 10 years 6 months ago
    • MatK
      That fixed worked for me, since I use tags everywhere I can. For those that are using the code fix, be sure to to add
      your { } between the if statement, like this:

      $outtags = array();
      if (isset($tags)) {
      foreach ($tags as $tag) {
      $cleanName = trim($tag);
      $key = str_replace(' ', '-', str_replace(array("'", '"'), '', $cleanName));
      $name = $this->_camelize($cleanName, true, true);
      $outtags[$key] = $name;
      }
      }
      return $outtags;

      Thanks
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: RokSpocket error message

    Posted 10 years 6 months ago

Time to create page: 0.058 seconds