WordPress.org

Ready to get started?Download WordPress

Forums

Subscriber users can't see their profile (31 posts)

  1. luquerias
    Member
    Posted 1 year ago #

    Hi, i have a wordpress site where i want to activate subscriber users registration. Registration is possible, but when the user is already registered he can't access his profile. You can see what i say logging with next info:

    user: [deleted]
    password: [deleted]

    Message is in spanish but it says somthing like "You don't have enough privileges to access this page"

    I have tried to deactivate plugins and see what happens and to swap the theme, but it wasn't a problem involving themes or plugins... i have read also this, but it's too old and i don't want to give it a try, smells dangerous...

    http://cortometrajesonline.com/wp-admin

    thanks

  2. luquerias
    Member
    Posted 1 year ago #

    Any help with this please?

  3. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Hi, Lucas. For what it's worth, if you use the tag 'dreamhost' I get an email alert. ;)

    When did this problem start happening? Did it EVER work?

    Did you ever play with any membership plugins?

  4. luquerias
    Member
    Posted 1 year ago #

    Ok, i didn't know that tag thing... :) I installed the blog in 2008 and since then i had never activated the user registration, so i don't know if it has never worked... and, i'm not sure if i have played with membership plugins... maybe i've done it but i don't remember when or what plugin i used... I'm not helping much, no? sorry...

  5. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    It's hard to debug things when we don't have a history of what may have changed :) But there are still things to try!

    First, see if changing them from Subscribers to Authors makes any difference. If it's just Subscribers that's something.

    When you tested, you said you tried deactivating plugins and changing the theme, but did you do both at once?

    I noticed your database has two sets of WP tables in it, but only one _users and _usermeta tables. Did you at one point have two WordPress installs using the same user tables?

  6. luquerias
    Member
    Posted 1 year ago #

    Yeah, i know... I have change to authors and it doesn't happen with authors we have something, nop? :)

    And i have deactivated plugins and swap the theme at the same time and nothing happened... same error.

    And the third thing... i'm not sure. I have played with this installation trying hacks, tricks, plugins... maybe i installed another wordpress through the same database but i can't tell for sure. I installed cache plugins once (wp super cache) , and then deactivate them... i had a plugin called edit-area.. that was in 2010. I have seen it on a backup i have. But that is all...

    As you see i'm quite weak on database and wordpress advance knowledge... trying to learn...

  7. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    That it works with Author and not subscribers is really weird!

    Depending on how much you want to dive into the DB, there are a couple different ways about this. If you don't actually care as much about how to fix it and just want it corrected, I would actually install a new version of WP in it's own folder.

    So http://cortometrajesonline.com/wp/ or whatever would be a clean site. Then I'd export all my content from http://cortometrajesonline.com and import it to my new site, add users and, if that works, use the giving WP it's own directory trick.

    Sometimes it's just easier to start with a clean DB than the one you've been playing with for a gazillion years ;)

  8. luquerias
    Member
    Posted 1 year ago #

    So, if i understand you are telling me to swap the folder from root to another folder ( http://www.cortometrajesonline.com/new) and copy everything using the giving WP trick? no?
    Or you mean that i'll have the site on the root and the admin panel on http://www.cortometrajesonline.com/new/wp-admin

    I'm not sure if i understand... it looks too dangerous for me :) , what if i mess everything? But it is solution i can talk with somebody more expert about. Thanks.

  9. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Not swap.

    It would be a brand new install in /new/.

    You don't have to copy anything back over once /new/ is made, you would just change the URLs in /new/ and edit your index.php and .htacces

    It's really not very dangerous since it's totally separate from your current site and never overrides it until the end, and even then, only with two files.

  10. luquerias
    Member
    Posted 1 year ago #

    So, every URL of my site would change from http://cortometrajesonline.com/a-post to http://cortometrajesonline.com/new/apost , no?

    And everything like tags and categories would still have same id's? And images that i had uploaded to the old site would be at the first directory install, no?

  11. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    No, no.

    Everything will remain the same in the end.

    You have to test first, though, to see if it's the install of WP or your server. So let's not put the cart ahead of the horse :) Step one is just to install a new version of WP in a separate folder.

  12. luquerias
    Member
    Posted 1 year ago #

    Ok, step by step... i have already installed a new wp on http://cortometrajesonline.com/wp/

    So now, i have to change the site address (URL) of this installation to http://www.cortometrajesonline.com

    And then copy (NOT MOVE!) the index.php and .htaccess files from the WordPress (wp in our example) directory into the root directory of the site.. but i don't see any .htaccess file there...

    Is that right?

    thanks

  13. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    .htaccess is a hidden file. You have to tell your FTP app to show them :)

    The rest is right, BUT! ONLY do this if you can add subscribers to http://cortometrajesonline.com/wp/

    Does that work?

  14. luquerias
    Member
    Posted 1 year ago #

    Yeah, i know... I see .htaccess in the root but not in /wp folder. Should i activate personalized permalinks?

    And yes, i can add subscribers and they can see their profile :)

  15. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Should i activate personalized permalinks?

    Yes :) Make them match what you have in http://cortometrajesonline.com (just with the extra /wp/ for now).

    And yes, i can add subscribers and they can see their profile :)

    Yay! That means it is just something odd in that old DB. Don't worry about that too much. I think everyone ends up doing a clean re-install at some point in their lives just to clean things up.

  16. luquerias
    Member
    Posted 1 year ago #

    Ok, I've done it. You can see it here.

    Now i have to Copy (NOT MOVE!) the index.php and .htaccess files from the (wp) directory into the root directory of my site, it means i will overwrite root index.php and .htacccess, no?

    The site will not work during this step, no?

    And what about the information from the plugins? Should i make a backup of something?

    One more question, you say post url's will stay as they are now, but what about admin panel? Will it be at http://www.cortometrajesonline.com/wp-admin or at http://www.cortometrajesonline.com/wp/wp-admin

    I don't get what we are doing yet :) thanks a lot for your patience

  17. luquerias
    Member
    Posted 1 year ago #

    And another question, when i update wordpress, will i loose these changes?

  18. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Awesome!

    And what about the information from the plugins? Should i make a backup of something?

    If they're all set up on http://www.cortometrajesonline.com/wp then they'll be just fine :)

    So go to http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Your admin page will remain http://www.cortometrajesonline.com/wp/wp-admin but everyone will see http://www.cortometrajesonline.com/ as your site.

  19. luquerias
    Member
    Posted 1 year ago #

    I know i have to look on http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install I swear that i check this info before writing here (and i re-read what i write before posting), but i don't get it... well, now i'm getting a litle bit more :)

    Sorry, but there are somethings i don't get:

    1) So first, i have to install, activate and configure the plugins i have on root on (wp), before doing anything else?

    2) You said:

    So http://cortometrajesonline.com/wp/ or whatever would be a clean site. Then I'd export all my content from http://cortometrajesonline.com and import it to my new site, add users and, if that works, use the giving WP it's own directory trick.

    Before doing that thing of moving files between directories, i have to export my content from root to wp, no? Plugins info that not work with custom fields will not be exported, no? I will loose it...

    3) After installing, activating and configuring the plugins i have to Copy (NOT MOVE!) the index.php and .htaccess files from the (wp) directory into the root directory of my site, it means i will OVERWRITE root index.php and .htacccess, no? So will happen with wp-config.php

    4) In the future when i have to update wordpress, will i loose the changes i'm going to make? I mean, Will the update owerwrite the index.php file that (will) says require('./wp/wp-blog-header.php');

    5) ok, i'm getting it... so, before tricking i will see if my site works on http://www.cortometrajesonline.com/wp, and then if it works i will make the trick and the frontend will be at the root and the admin panel at (wp)... i see light at the end of the tunnel! :)

    I know, I'm a pain in the ass :) it's just i don't want mess things...

  20. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    You're not a pain :)

    The whole idea is that http://www.cortometrajesonline.com/wp is a fresh install, clean, with the same theme and plugins you have on http://www.cortometrajesonline.com/

    Then I'd export all my content from http://cortometrajesonline.com and import it to my new site, add users and, if that works, use the giving WP it's own directory trick.

    Remember when I said that? You really do export the content from the original site and import to the new one.

    You're rebuilding the site in a new folder, and you want it to be exactly like the original, only with the ability for users to work :)

    So we can totally do this one step at a time.

    Step 1) Build the new WP site (done)
    Step 2) Can you add users etc? (yes!)
    Step 3) Import content
    Step 4) Copy over the themes and plugins
    Step 5) Give WP it's own directory

    But we're on #3, so lets do that first.

  21. luquerias
    Member
    Posted 1 year ago #

    Ok, i go for it... just one thing: i didn't like the folder to be (wp) so i have changed it to (a): http://cortometrajesonline.com/a/wp-admin/

    I have changed the WordPress URL and the site URL from (wp) to (7a)... and then i have changed the name of the folder via http://ftp... and it works! Is that correct or I should install a wordpress again in a folder called (a)?

    Now i'm going for the step 3!

  22. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    No one but you will know about the /a/ stuff :)

    You did the change correctly!

  23. luquerias
    Member
    Posted 1 year ago #

    you will know about the /a/ stuff :)

    I didn't get this... :) but neverminds, because you said the change is correct! I'm going for the the step 3.

  24. luquerias
    Member
    Posted 1 year ago #

    Everything done:
    1) Categories ID's have been changed, so as i was using query for some categories ID's on the theme now they don't show properly.

    2) The media library doesn't work properly... you can see it here. I can't select or deselect all files and the screen options tab does not work, as help tab. (Sin adjuntar) means that the file is not attached to any post.

    3) thumbnails images are lost, this is because no image has been attached to any post...

    And i don't know what else, but probably there should be more issues....

    Now i'm going to delete the index.php from /a/ installation for not messing with the search engines... as it will not be shown if i delete it, no?

    I will probably have to reinstall it again,no? Or what? i don't know what else to do... how could i fix the database without doing the http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install?

  25. luquerias
    Member
    Posted 1 year ago #

    Good morning! (well i woke up a few hours ago but just for say something...) :) I've been looking at my database and I've seen as you said:

    I noticed your database has two sets of WP tables in it, but only one _users and _usermeta tables. Did you at one point have two WordPress installs using the same user tables?

    Now i remember. Once, about 3 years ago, i installed a blog and as i wanted it to be part of the same network, sharing users, i did the installation in the same database. So i have the following tables:
    blogb_commentmeta
    blogb_comments
    blogb_links
    blogb_options
    blogb_postmeta
    blogb_posts
    blogb_terms
    blogb_term_relationships
    blogb_term_taxonomy
    wp_commentmeta
    wp_comments
    wp_jcsp_category_permalinks
    wp_jcsp_post_permalinks
    wp_jmrq_random_quotes
    wp_links
    wp_options
    wp_postmeta
    wp_posts
    wp_ratings
    wp_rg_form
    wp_rg_form_meta
    wp_rg_form_view
    wp_rg_lead
    wp_rg_lead_detail
    wp_rg_lead_detail_long
    wp_rg_lead_meta
    wp_rg_lead_notes
    wp_terms
    wp_term_relationships
    wp_term_taxonomy
    wp_usermeta
    wp_users

    I could delete tables comencing with blogb_ and see what happens, no? I don't think it will solve the problem of the subscriber users, but it will optimize the database a litlle bit, no? At least no harm will be done, i guesss....

  26. luquerias
    Member
    Posted 1 year ago #

    Hi, it's so late... i've been working for a few hours now... i just wanted to say that i deleted all the tables comencing by blogb_ and nothing happened. Subscribers can not see their profile yet... i did this trying to repair the database, but still the same... i will investigate more tomorrow to see if i can fix it... if i find a solution i will post it here... good night!

  27. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Usually I check in on the weekends to see if everything's okay. This weekend I got sick (sinus infections ain't fun!)

    Leave your databases alone for now, Lucas, you will get into trouble trying to do everything at the same time, okay? :)

    Take these things step by step.

    If you want to delete /a/ you can, but if you do, you may want to start it over again to see if, on a CLEAN install with no plugins added you get the same problem. You have a lot of things going on, so you have to pick ONE thing to work on at a time :)

  28. luquerias
    Member
    Posted 1 year ago #

    :( i hope you are fine now! Yeah, i know...i just don't know how to stop doing a thousand things at the same time... i have to rethink what the way i work :) i will try to do it again in a few days (now i have some real work to do) to see if i can export properly all the content from one site to another. Thanks a lot Mika!

  29. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    i just don't know how to stop doing a thousand things at the same time

    Sure you do :) You used to do it all the time as a kid. I know you can do this!

    Take a deep breath. Look at the steps. Do each one, in order, patiently. If things break on a step, STOP. That means there's a problem. Come back and tell us where things are.

    1) Install a clean version of WP (we already know this 'fixes' the subscriber login issues)
    2) Export content from the current WP and import into your new one. When you do this, check the box to import media too :)
    3) Test images. They okay? Can you edit etc?
    4) Install the themes and plugins, configure to your heart's delight.

  30. luquerias
    Member
    Posted 1 year ago #

    I did it! Well, not me... :) i used a script for upgrading the database... First i saw how to force a database upgrade. But it was really scary for me... so i looked for something to do it on its own, and i foun it here!

    Everything looks to be working properly... if something goes wrong i will write again!

    Thanks for the help anyway Mika!

Topic Closed

This topic has been closed to new replies.

About this Topic