Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Several problems with wp eMember
Tagged: reinstall, WP eMember
- This topic has 23 replies, 4 voices, and was last updated 9 years, 3 months ago by wondervegas.
-
AuthorPosts
-
March 22, 2014 at 4:29 pm #10101nickMember
Hello, I buy “wp estore” and “wp emember”, I have several problems.
1. Is it possible for the administrator to be in all the “Membership Level”? Because when I create a page for a subscription level, I can not access it.
2. I suggest a download page to my subscribers, so I secure links and folders where all my rar files, but when I download a file with google chrome, I url of this file.
3. Some rar files returns me an error instead of downloading, it occurs only at the files over 35MB.
4. When I connect with wordpress or WooCommerce, I can not access the subscription pages, and when I connect with wp emember, I’m not connected to WooCommerce, how I should to be connected to WooCommerce and wp emember when I use any of the two plugins to connect me?
5. When I am connected to WooCommerce and I want to connect to wp emember, I receive an error message.
6. The last problem is that I can not access wp emember in admin, I get an error message “You do not have sufficient permissions to access this page.” I deleted the plugin and databases plugin, but when I re-installed, it does not always functioned., I must have did something wrong.
Thank you.
March 22, 2014 at 9:05 pm #61764wzpModerator1. Is it possible for the administrator to be in all the “Membership Level”? Because when I create a page for a subscription level, I can not access it.
4. When I connect with wordpress or WooCommerce, I can not access the subscription pages, and when I connect with wp emember, I’m not connected to WooCommerce, how I should to be connected to WooCommerce and wp emember when I use any of the two plugins to connect me?
5. When I am connected to WooCommerce and I want to connect to wp emember, I receive an error message.
6. The last problem is that I can not access wp emember in admin, I get an error message “You do not have sufficient permissions to access this page.”
Traditionally, the login states between WordPress and eMember were separately maintained. This allowed you to have things like 2,000 eMember users and 1 WordPress admin user. However, there may be circumstances in which you want to allow WordPress users to be automatically logged into corresponding eMember accounts, so that they can use the eMember portion of the system, without having to do a second login. If you are going to use this model, then you must create an eMember user that has the same user name as your WordPress admin account, and then set the following option:
eMember –> Settings –> WordPress User Integration Settings –> Automatically log into eMember
Now, whenever you or anyone else, logs into their WordPress account, they will automagically be logged into their eMember account. Note: This means you must have a matching eMember user name for every WordPress user name you have, or create in the future.
If however, you have WordPress plugins, like bbPress, that are dependent upon the WordPress user identity; then you will want the model in which the WordPress and eMember user databases are kept in sync. This means 2,000 WordPress and 2,000 eMember accounts.
To do this, you must have the following settings turned on:
eMember –> Settings –> WordPress User Integration Settings –> Automatically Create WordPress User
eMember –> Settings –> WordPress User Integration Settings –> Automatically log into WordPress
eMember –> Settings –> WordPress User Integration Settings –> Automatically log into eMember
Under this configuration, it doesn’t matter if a user login occurs through WordPress or eMember; but the preference is for everyone to login using the eMember login.
2. I suggest a download page to my subscribers, so I secure links and folders where all my rar files, but when I download a file with google chrome, I url of this file.
3. Some rar files returns me an error instead of downloading, it occurs only at the files over 35MB.
This concerns the proper setup and understanding of how eStore downloads work. Please familiarize yourself with the following threads:
Downloaded file size is 0 (Zero) byte or 404 error or Other file download error
https://support.tipsandtricks-hq.com/forums/topic/lager-file-download-returning-0kb-or-772kb
March 23, 2014 at 2:50 pm #61765nickMemberHello, I solved the problems 3 and 6.
For those who encounters the same difficulties:
3. I put the “Method 6” in “wp estore – settings – Addon Settings – WP eStore Download Manager Related – Download Method”, now I can download all my files.
6. I just reinstall my database.
For my problem 1, I think you have misunderstood me, I want to access all protected pages on my site, for example if I create two pages with two different memberships, how should I do to access the two pages ?
For my problem 2, My url is secure because it is not the path where my file is located, but I have a url like this:
[https://mywebsite.com/wp-content/plugins/wp-cart-for-digital-products/download.php?file=2FzX%2FikKV%2FGRhqXjgQ%3D%3D]
When I insert the url in my browser without being connected to my site, I can download the file for free. How is that possible?
For my problem 4, when I connect with WooCommerce, I’m not connected to wp emember. I checked “Automatically Create WordPress User” – “Automatically log into WordPress” – “Automatically log into eMember”, it still does not work.
For my problem 5, when I connect with emember, I get an error in the header of my site:
Warning: file_get_contents(/public_html/wp-content/uploads/emember/downloads/.htpasswd) [function.file-get-contents]: failed to open stream: No such file or directory in /public_html/wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 543
Warning: file_put_contents(/public_html/wp-content/uploads/emember/downloads/.htpasswd) [function.file-put-contents]: failed to open stream: No such file or directory in /public_html/wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 554
I do not use the “uploads” folder, I create a “medias” folder, instead of the path “mywebsite.com/wp-content/uploads/”, it’s “mywebsites.com/medias/”, it is because of this that the problem occurs?
thank you.
March 23, 2014 at 11:32 pm #61766wzpModeratorFor my problem 1, I think you have misunderstood me, I want to access all protected pages on my site, for example if I create two pages with two different memberships, how should I do to access the two pages ?
There are 2 solutions…
- Create an “Admin” membership level, assign yourself to it, and make sure that level is also assigned to all of your protected pages.
- Set this option: eMember –> Settings –> Enable Secondary Membership
Then assign yourself to every membership level you have.
Both approaches work, but #1 is the most flexible.
For my problem 2, My url is secure because it is not the path where my file is located, but I have a url like this:
[https://mywebsite.com/wp-content/plugins/wp-cart-for-digital-products/download.php?file=2FzX%2FikKV%2FGRhqXjgQ%3D%3D]
When I insert the url in my browser without being connected to my site, I can download the file for free. How is that possible?
The default expiry for download links is 5 uses, or 48 hours, whichever comes first. See the “Digital Product Delivery Settings” for details or to adjust the expiry.
For my problem 5, when I connect with emember, I get an error in the header of my site:
Warning: file_get_contents(/public_html/wp-content/uploads/emember/downloads/.htpasswd) [function.file-get-contents]: failed to open stream: No such file or directory in /public_html/wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 543
Delete the .htpasswd file.
For my problem 4, when I connect with WooCommerce, I’m not connected to wp emember.
What do you mean by …I connect with WooCommerce…?
March 24, 2014 at 9:30 am #61767nickMemberHello, thank you, thanks to you, I solved two problems.
The problem 1, I create an “admin” membership level.
The problem 2, it returns me an error , so it is perfect.
For my problem 5, I have always the error in the header of my site , I deleted the “htpasswd” file from “http://mywebsite.com/medias/emember/downloads/.htpasswd” my “emember” folder is not in “http://mywebsite.com/wp-content/uploads/emember” but in “http://mywebsite.com/medias/emember”, I modified the file destination images to the root of my site , is it the problem? If my images would be in the path “wp-content/uploads” emembres work?
For my problem 4, let me explain, I use the Avada theme, in the top menu, there is the “My Account” page (with the WooCommerce plugin) when I click on this page, I’m on page connection, when I log in, I am not connected automatically to emember, but when I go on a protected post and I click on the link “login”, emember told me “You logged in as: myusername”, so emember know I am connected but I am obliged of connect me twice. Is it because of my problem 5?
If I can solve both problems, the plugin is really perfect, I would not hesitate to recommend you to my clients.
Thanks.
March 24, 2014 at 1:08 pm #61768nickMemberThis is good, my last two problems are solved.
For my problem 5, I gave the location of the default folder, instead of “http://mywebsite.com/medias/emember/”, it’s “http://mywebsite.com/wp-content/uploads/emember/”, since I have no more error in the header.
For my problem 4, I remove the https on the “My Account” page, now when I connect via this page, I am automatically logged in emember.
This is perfect, thank you.
March 24, 2014 at 6:46 pm #61769nickMemberYou will find me annoying but I have another problem, When I registered on my website, instead of “subscriber”, my role is “customer”, I disable the plugin “bbpress” now role is “none”, I do not understand, I put “subscriber” to the memberships level, I checked / unchecked “Preserve WordPress User role” but nothing changes, can you help me?
Thank you
March 24, 2014 at 10:14 pm #61770nickMemberI have a question, this is not a problem
I would like to customize the css of emember, I saw that he had to use the “eMember_custom_style.css” file, but in an update of emember, the file will be deleted, right?
Thank you.
March 24, 2014 at 10:34 pm #61771wzpModeratorCorrect. However, you can just as well install our free custom CSS plugin, instead, and the customizations will be unaffected by eMember updates:
http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
March 25, 2014 at 9:24 am #61772nickMemberThanks, and for my another problem, When I registered on my website, instead of “subscriber”, my role is “customer”, I disable the plugin “bbpress” now role is “none”, I do not understand, I put “subscriber” to the memberships level, I checked / unchecked “Preserve WordPress User role” but nothing changes, can you help me?
Thank you
March 25, 2014 at 3:22 pm #61773wzpModeratorWhat do you have for: WordPress –> Settings –> General –> New User Default Role
You must also understand the WordPress “Site Role” is not the same as the bbPress “Forum Role.” eMember only interacts with the WordPress “Site Role.”
March 26, 2014 at 11:44 am #61774nickMemberThat is why I do not understand, the default role is “subscriber” I do not know why when I registered with WooCommerce, the role is “customer”, this is weird.
March 26, 2014 at 4:51 pm #61775wzpModeratorBecause WooCommerce supports yet a third set of roles:
[http://docs.woothemes.com/document/roles-capabilities/]
You need to somehow coordinate all three sets.
March 26, 2014 at 9:36 pm #61776nickMemberOkay, I will remove registration of WooCommerce, and put the registration emember, it will be easier.
Thank you very much for your help, if I encounter a new problem, I will open a new topic, goodbye.
August 13, 2015 at 11:12 pm #61777wondervegasParticipantI have tried everything you’ve asked and for some reason when I login wp emember doesn’t recognize my login status and doesn’t let me see the protected content. When I go to a page it shows me you must register to view content. I am registered and am an emember. I am the superadmin of the website.
-
AuthorPosts
- You must be logged in to reply to this topic.