• Hi there,

    First of all, let me just say this is an awesome plugin. I’ve been using it for a while but recently ran into a snag.

    I am receiving this error:

    Warning: strpos() [function.strpos]: Offset not contained in string in /home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/includes/public.php on line 651

    Warning: strpos() [function.strpos]: Offset not contained in string in /home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/includes/public.php on line 194

    And it’s apparently quite common, judging from a Google search.

    I’ve manually called sexybookmarks in a custom category page. Strangely though, some custom category pages are fine, while others display those errors.

    You can see an example of the error here: https://www.australiancreditcards.com….

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Shareaholic

    (@shareaholic)

    @valandilearfalas are you still getting this error? Also, are you running the latest version of SB?

    Thread Starter valandilearfalas

    (@valandilearfalas)

    Yup, still getting the error if I enable the plugin. And yes, I was running the latest version.

    Plugin Author Shareaholic

    (@shareaholic)

    Can you try beta mode?

    Jive Dig

    (@jive-dig)

    Any luck getting shareaholic on your category pages? This is a must-have feature for my blog, which is based around category pages

    Thread Starter valandilearfalas

    (@valandilearfalas)

    When I try beta mode, I get this error in the admin panel:

    Warning: fopen(/home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/spritegen/media/js/jquery.shareaholic-publishers-api.min.js) [function.fopen]: failed to open stream: Permission denied in /home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/includes/helper-functions.php on line 150

    Warning: fopen(/home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/spritegen/api/sprite.css) [function.fopen]: failed to open stream: Permission denied in /home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/includes/helper-functions.php on line 150

    Warning: fopen(/home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/spritegen/api/sprite.png) [function.fopen]: failed to open stream: Permission denied in /home/b-web/b7/fb/australiancreditcards.com.au/public/www/wp-content/plugins/sexybookmarks/includes/helper-functions.php on line 150

    In the actual blog post, nothing appears. Turning off beta mode produces the original error.

    Thanks.

    Plugin Author Shareaholic

    (@shareaholic)

    @valandilearfalas you got the above error as permissions are currently set incorrectly.

    You need to set the /spritegen folder and all folders within it to permission 755 or 777 (some servers are fussy with 755 so pl. try both in case one doesn’t work).

    Let us know how that goes.

    Thread Starter valandilearfalas

    (@valandilearfalas)

    Yup, tried both 777 and 775 and that message still appears. Strange. I upgraded to the latest version, 3.3.6, still the same.

    Plugin Author Shareaholic

    (@shareaholic)

    After you 777ed the spritegen folder and all folders within it, did you try to re-save your settings?

    Then after you re-saved your settings, were there .js/.css/.png files in the /spritegen folder?

    bmwau

    (@bmwau)

    Hello,

    I’m having a similar problem with a new WP 3.1 build, which includes BuddyPress.

    Warning: strpos() [function.strpos]: Offset not contained in string in /home/egreen/public_html/wp-content/plugins/sexybookmarks/includes/public.php on line 209

    This looks like it relates to permalink setup for RSS feed links.

    What is the fix for this one?

    I’ve chmod’d all directories spritegen to 777; I’ve also chmoded all php scripts in includes/ to 777 so they are all executable, as I had that separate error issue with those.

    I kept the individual graphics files in those directories as 666, so they are writeable by the plugin scripts.

    enderandrew

    (@enderandrew)

    I’m in the exact same boat as bmwau.

    I wrote about a fix for the offset not contained in string error.

    The short version is pull out the following from the line of code throwing the error:

    , strlen($r['feed_permalink']) - 4

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: SexyBookmarks] Warning: strpos() [function.strpos]: Offset not contained in string’ is closed to new replies.