latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Ravi Sathyanarayana

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Anonymous users – binary/garbage – Ctrl+F5

By:  Ravi Sathyanarayana in: Community Forum

voices: 3
replies: 10

4 years, 8 months ago  Cristián Lávaque

503 (Invalid Key) after a few days

By:  Ravi Sathyanarayana in: Community Forum

voices: 3
replies: 14

4 years, 10 months ago  Jason (Lead Developer)

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Anonymous users – binary/garbage – Ctrl+F5

By:  Ravi Sathyanarayana in: Community Forum

voices: 3
replies: 10

4 years, 8 months ago  Cristián Lávaque

503 (Invalid Key) after a few days

By:  Ravi Sathyanarayana in: Community Forum

voices: 3
replies: 14

4 years, 10 months ago  Jason (Lead Developer)

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 11 replies - 1 through 11 (of 11 total)
Author Replies
Author Replies
Posted: Saturday May 12th, 2012 at 12:05 pm #13304

A new twist.

The “binary garbage” error has resurfaced. The error_log, however, does NOT log the error that was logged before.

[04-May-2012 20:50:21 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/rasikaor/public_html/wp-content/plugins/s2member/includes/classes/files-in.inc.php(387) : eval()'d code:1) in /home/rasikaor/public_html/wp-includes/pluggable.php on line 866

For the heck of it, I FTPd a clean copy of files-inc.inc.php over and sure enough, still get the error when I do “Ctrl + F5”.

After messing with it for a bit, I found that I am able to get rid of the error (consistently, for now) by disabling the “Compress Pages” option in WP Super Cache. Here is the description for that option:

Compress pages so they’re served more quickly to visitors. (Recommended)
Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache.

I am running the most recent versions of s2Member Pro and “WP Super Cache”. I would like to re-enable the “Compress Pages” option in WP Super Cache as it does seem to speed up page loading. Is it possible/likely that this option is causing the the “binary garbage” issue without logging an error to the error_log?

Thanks,
Ravi.

Posted: Friday May 4th, 2012 at 8:59 am #12582

Hi Cristián,

That’s awesome! Replacing the file fixed it!

I had not edited that file at all and I am the only person with FTP access to the server (well, other than the web host obviously). I have no idea how it “changed”. But, it’s modified timestamp was May 1st, 2012. All the other files in that folder have the same date as the downloaded version – March 9th, 2012.

I am surprised and a little concerned that a file on the server was modified in some way. But, that is not an s2Member issue. So, I’ll dig into it.

Thanks again for your help!

Posted: Friday May 4th, 2012 at 12:04 am #12538

I opened a Support Ticket with the webhost and after investigating, here’s their response:

I have checked this and recreated the issue. I could see the below error message in the 
logs while refreshing the site http://www.rasika.org/.

[04-May-2012 00:39:20 UTC] PHP Warning: Cannot modify header information - headers already 
sent by (output started at 
/home/rasikaor/public_html/wp-content/plugins/s2member/includes/classes/files-in.inc.php(387) : eval()'d code:1) 
in /home/rasikaor/public_html/wp-includes/pluggable.php on line 866

It seems the issue with coding. So could you please check this with the developer and let 
us know if you need any further assistance.

Can you please help resolve this. Thanks.

Posted: Thursday May 3rd, 2012 at 3:48 pm #12514

Hi Raam,

I will contact the webhost next. Before I do so, I wanted to do due diligence and make sure it’s not anything in WordPress or any of the plugins.

The reason I suspected s@Member as a possible cause is because the error does not occur when you are logged in. In my first post, I have included credentials for a guest account. Logging in as that user (Level 0) fixes this issue.

Does this seem even remotely connected to s2Member (or is the authenticated vs. anonymous user behavior difference just a red herring) ?

Thanks,
Ravi.

Posted: Thursday May 3rd, 2012 at 7:38 am #12452

Hi Raam,

I can reproduce it even now on pretty much any computer i try it on – tried it on 3 different computers on 2 separate networks (2 PCs at home and 1 at work). Browsers I am currently using are IE9 and Chrome 18 (or 19 or 23 or whatever is the latest :)).

I can reproduce this on the Home page – http://www.rasika.org/. Initial load is OK. F5 refresh is OK. Ctrl+F5 refresh is what generates the “binary gibberish”. And once I get the binary stuff, the only way to get the correct page to show up is to restart the browser or clear the cache.

Did you try a Ctrl+F5 or were you just trying to refresh using the browser’s Refresh/Reload button and/or F5?

Also, the “binary gibberish” issue does not occur if you are logged in.

Thanks,
Ravi.

Posted: Friday Mar 9th, 2012 at 3:48 pm #7749

Wow! Thanks very much for finding and fixing the issue! I really appreciate your help. I’ve verified that the link (and embedded JWPlayer) works fine now.

And thanks so much for being proactive and notifying CloudFlare to fix their code. Really nice to see WordPress plugin developers help improve other plugins as well. Definitely helps grow the WordPress ecosystem.

Thanks!

Posted: Friday Mar 9th, 2012 at 8:40 am #7724

Hi Jason,

I’ve created an FTP account and submitted the form again. Since this is a live site, I hope your diagnostics don’t visually alter the pages (say, by writing debug messages to the page). If they need to do so, can you please create a new, unreferenced/unlinked page for your troubleshooting. Appreciate your help!

Thanks.

Posted: Wednesday Mar 7th, 2012 at 5:10 pm #7590

Hi Jason,

Just wondering – have you had a chance to look at this issue yet?

Thanks.

Posted: Tuesday Mar 6th, 2012 at 8:18 am #7443

Hi Jason,

I’ve submitted the Login details form. Please let me know if I can help navigate the site.

Thanks.

Posted: Saturday Mar 3rd, 2012 at 1:37 pm #7178

Updated S2Member and Pro to v120301. Flushed WP-SUperCache, browser cache and CloudFlare cache.

Same error. However, the inline key is different today from what it was yesterday.

Testing using the page in my link above, the generated url for jwplayer is:

http://www.rasika.org/wp-content/plugins/s2member-files/s2member-file-inline-yes/s2member-file-download-key-0a90d7c50c3ddc717158813eb943c2a6/LGJ-GSrimathi-PMI-1964-Anuraagamule.mp3

I have verified that the files are still there in the s2-member-files folder.

Also tested the “restricted by member levels” files and they are still working ok. Here’s a sample link that works:

http://www.rasika.org/?s2member_file_download=access-s2member-level3/Varisas/01%20Introduction.mp3

Please let me know if you’d like access to either WP Admin or to the page with links that work.

Thanks,
MediocreFred.

Posted: Saturday Mar 3rd, 2012 at 10:21 am #7171

The version is 11120.

Viewing 11 replies - 1 through 11 (of 11 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.