Jonathan Potter
El Presidente
Just Getting Started
Member Likes (0)
Hello,
On my site, pictures uploaded through the default WP uploader are not showing up to non admin users, even though I don't have membership download protection setup. Here's a sample: http://ecrp.pottervilla.com/hello-world/ . (pictures on other pages of the site I uploaded to a different directory, and they are no longer affected). When you click on a picture to view it, you get this error: Warning: strstr() [function.strstr]: Empty delimiter in /home/ecrp/public_html/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 422
404 — File not found.
(from this link: Warning: strstr() [function.strstr]: Empty delimiter in /home/ecrp/public_html/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 422
404 — File not found. )
I disabled all my other plugins (even WPMUDev ones) and switched back to TwentyEleven, but it didn't help. I also deleted the membership plugin and started over, but that didn't help.
Does that sound like a bug? Would you fix it?
Thanks!
- Jonathan

Responses (13)
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jonathan,
Any chance you uploaded this picture while Membership was not activated?
Please try uploading the picture while Membership is activated and post the results here.
I did visit the site http://ecrp.pottervilla.com/hello-world/ and there is no picture to click on at all that I can see UPDATE: Doing a sanity check on myself I thought to check with IE. I see the missing picture bracket when using IE instead of Firefox. END of update.
I checked the URL for the graphic itself: http://ecrp.pottervilla.com/protected_downloads/2012/05/slider_fairbooth1.jpg
And it is indeed within the protected downloads path as shown above.
Please upload the image while Membership is activated and lets see where the image goes after it is uploaded, if indeed to the same place.
Please advise.
Cheers, Joe
Member (joined December 2011) Likes (0)
Yes, I uploaded the files after Membership was activated.
Any chance you could get the developer in on this, or someone familiar with the membership code? When plugins start throwing PHP errors, there's usually something major going on.
- Jonathan
Member (joined December 2011) Likes (0)
It's been a while since I've heard from y'all--any ideas yet?
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jonathan,
Sorry for the delay here on this ticket and though you bumped it with your last post which could have indeed delayed a response for another week at this point in time, I seen the ticket in the back end of the system and I am of course responding.
You are absolutely correct that when a plugin starts throwing php errors there is something drastically wrong. The problem is that I cannot replicate those errors and the errors that you are getting is something missing.
In one last try to resolve this or at discount anything the lead developer needs to chase down, have you checked the databases yet? i.e. Membership --> Options --> Advanced --> Verify Membership Tables and Repair Membership Tables?
Do the tables checkout OK?
Please advise.
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jonathan,
One more thing if you have not already done so, please upgrade your WordPress installation before I bring in the lead developer, he will certainly want this done so as not to deal with the WordPress bugs as well.
Thank you and I look forward to hearing about the results of the database testing and if all is well with the databases, you are running WordPress 3.4, and you are still having an issue I will flag the lead developer.
Sincerely, Joe
Member (joined December 2011) Likes (0)
Thanks Joe, I'm not sure exactly what happened, but the problem seems half-fixed. It may have been a combination of repairing the database tables (though they all showed OK), upgrading WordPress, installing the Lightbox Plus plugin, and clearing my cache. Anyway, users can now see the pictures that they are supposed to see! That was the main thing.
However, I still get the PHP error when I go here: http://ecrp.pottervilla.com/protected_downloads/2012/05/slider_fairbooth1.jpg . This picture is included in a group "default" which is assigned to be visible to anonymous users (created in Options > Downloads / Media, then assigned to Anonymous in Access Levels).
So, we went from WordPress being broken to just the Membership plugin being broken. :-)
If you could flag the developer, that would be great.
DEV Diva (joined February 2012) Likes (0)
Hi @jonathan.pottervilla
I just landed on your topic by chance while researching another member's problem with the same error message - Home Page Image Blocked. I noticed that you posted recently asking for the Developer's feedback so I've gone ahead and pinged him. Please note that with the weekend approaching you might experience a delayed response, for which I apologize in advance. If you find any further errors during this time, please let us know and we can address those as well.
I wish you a wonderful weekend and thank you for your patience.
Gina
Member (joined December 2011) Likes (0)
Hello Gina,
Thanks for your help here. It's comforting to know that someone else is having this issue now, so it might actually get fixed. (I've been waiting for about 3 weeks for any kind of a solution.) And thanks for pinging the developer.
At this point, I've pretty much given up on WPMUDev support--which I'm sorry to say. But I have a 6 week development cycle, and WP doesn't even get installed until week 3. So when a plugin issue takes a month to resolve, that's unacceptable--especially when I'm paying for both the plugin and "premium" support. I end up fixing the issue myself, or developing a workaround, as in this case. I've had 72 hour turnaround with developer support on free plugins, it seems like you guys could do at least that well.
So if you fix it, great! If not, I've got my workaround.
- Jonathan
Developer (joined June 2008) Likes (0)
To speed things up a bit, can you let me see a screenshot of the media / downloads screen of your membership options and possibly a link to a page that has a couple of images not showing on it?
I've not seen the strstr warning before, but the two things above should give me the information I need to get it debugged.
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jonathan,
Our lead developer is waiting for your response concerning this issue.
Please advise.
Cheers, Joe
Member (joined April 2009) Likes (0)
Hiya,
Just checking in to see if this ticket is now resolved? As we haven't heard back, I'm hoping it is and am marking it accordingly, but if you have any questions on this in the future, feel free to re-open it and let us know.
Additionally, I'm attaching the latest beta of membership which we're working on to specifically address the issue mentioned here. If you find it works for you we'd love to know about it.
Thanks!
Member (joined December 2011) Likes (0)
Sorry about the delay--no, I'm not sure it's fixed, but I worked around it and didn't find the time to get back with you guys. Thanks for the beta, I'll give it a try.
Developer (joined June 2008) Likes (0)
Can you grab version 3.1.2 - it's newer than the beta Mason posted above.
Become a member