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.

s2member-o.php getting a 404!!!

Home Forums Community Forum s2member-o.php getting a 404!!!

This topic contains 2 replies, has 2 voices. Last updated by  Jason (Lead Developer) 3 years, 11 months ago.

Topic Author Topic
Posted: Wednesday Jan 16th, 2013 at 5:48 pm #37824
Mario Benedek
Username: aehelp

My s2member paypal-pro-form page broke randomly, and no updates were made to the code or settings!

https://www.aehelp.com/full-course/?s2-ssl=yes

By viewing the console you will see that the browser is receiving a 404 NOT FOUND on the following 2 includes:

/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals=1&qcABC=1&ver=121213-121213-4122272444

AND

/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_css=1&qcABC=1&ver=121213-121213-4122272444

I have NO IDEA why this is happening. I’ve checked the CHMOD read permissions on this file and it looks normal (644). I even deleted this file and re-uploaded from a virgin s2member plugin zip.

If you navigate directly to this file it loads the default wordpress 404 page. The .htaccess rewrite rules are standard and haven’t been modified. They check for file exist case before rewriting, as it should.

SUPER CONFUSED. PLEASE HELP!

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Wednesday Jan 16th, 2013 at 6:14 pm #37825
Mario Benedek
Username: aehelp

SOLVED!

Looks like it was a folder permissions issue after all! Seems that wp-content NEEDS to be 755 and nothing else! Any other permission hex would break the site.

Look no further for the solution. Make sure your folder permissions are correct!

What has strange that other files inside this folder would load, but not the s2member-o.php

God and linux gurus only know why.

Posted: Thursday Jan 17th, 2013 at 5:18 pm #37949
Staff Member

Thanks for reporting this important issue.

Yes, I’ve seen this before. Some web hosts (servers), are configured NOT to allow PHP scripts to run from directories with 777 permissions. This is for added security. You might be able to serve static files from these directories, but accessing a PHP script will cause the server to trigger an error.

Solution: Set permissions to 755 (recommended) on all parent directories.

FYI: HostGator™ is known to do this.

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

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.