WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Error when trying to logout (76 posts)

  1. squishy79
    Member
    Posted 3 years ago #

    Just to clarify... I had the issue on multiple browsers, not just Firefox.
    1. Firefox
    2. IE (7,8 and 9)
    3. Opera
    4. Chrome
    5. Safari

  2. hhusted
    Member
    Posted 3 years ago #

    Oh, well my issue is only with Firefox. I have yet to see a change no matter what steps I take. Until someone contacts me and let's me know what needs to be done to fix the problem, I will either use IE or just deal with the issue for now.

  3. TomNorth
    Member
    Posted 3 years ago #

    squishy79:
    Just set up my first WordPress site today. Spent hours trying to find out why I couldn't log off consistently in Firefox. Then I happened upon your fix in the .ini file - tried it and - ahhhhhhhhhh. It worked first time and every time. Let me join the chorus of thanks to you for figuring out and publishing the solution to a very pesky problem. I tried a lot of other things along the way. It's so nice to find the real solution. BTW: I am also on FatCow. Thanks again.

  4. hhusted
    Member
    Posted 3 years ago #

    Squishy79,

    I discovered a couple of days ago something very interesting. I have a number of websites that use WordPress. When I log into each website, using Firefox, I have no problem logging in and out. It is only one website I have a problem with. I contacted technical support at my hosting company, and was advised I had a corrupt installation. So I re-installed WordPress again, but this time instead of installing it in a subdirectory of a subdirectory (public_html/allana/wordpress, I installed it in the root directory of the subdirectory (public_html/allana) and it worked fine.

    Apparently, WordPress doesn't work well in subdirectories. Technical support claimed the database that is set up by WordPress, when it is installed automatically, using a script, to use the root directory for all files. So what would have to be done is to go into the database and manually change the settings to point every file to the subdirectory and other subdirectories.

    I avoided all of this by installing the program in the root directory and now everything works well.

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Apparently, WordPress doesn't work well in subdirectories.

    Bol^H^Halderdash! WP works just fine in sub-folders. I've got multiple WP installs - some going back 7 years - that are all running quite happily in sub-directories.

  6. hhusted
    Member
    Posted 3 years ago #

    Esmi,

    Well, you are lucky. I have talked to a few people, not in this forum, who claim that WP didn't work well in subdirectories until, changes were made to their database. I had my hosting company make the changes for me on one website that had WP in a subdirectory and he told me he made all the changes in the database to allow it to read the subdirectories. The website worked fine after that. However, it took some time for IT to make those changes. So now, to save time, I just install the program in the root directory and be done with it.

    I was told that if you manually install WP in a subdirectory, and create the database yourself, you won't have these connection issues. The program will work even in the subdirectory. I never tried that, but maybe one day I will just to see what happens.

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    It could well be that these kinds of issues are server or host specific but based on my experience, I think it would be fair to say that this isn't a global issue. WP works quite happily in a sub-dir on most servers but may not in specific (and as yet undefined) situations.

    What might help is to try and correlate the different server configs in each case of this type and see if there's any common features. If there is and you can then go onto deliberately replicate the issue on a server with said "feature", it would be worth posting this in Trac.

    Whilst every effort is made to test WP in as many different scenarios as possible, this depends heavily on a community that are willing to test and report back. The more people that test, the greater the variety of servers/scenarios covered and the more bugs that will be squashed.

  8. hhusted
    Member
    Posted 3 years ago #

    I don't think it is server related because I have several websites on the same server and they all work, except for one. This is why my hosting provider told me the installation was corrupt.

    Maybe I should clarify something. When I said that WP doesn't work in sub-directories, I should state that perhaps they don't work in sub-directories unless the database is re-programmed to point to the sub-directories.

    I am only stating this from experience. If you have a different experience, perhaps you installed the program differently and didn't use the script format. I don't know. I'm just telling you what happened to me.

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    perhaps they don't work in sub-directories unless the database is re-programmed to point to the sub-directories.

    I've never "re-programmed" a database to point anywhere. And that's not just when working with WordPress. I've been writing custom PHP/MySQL scripts & sites for years. This is what I mean by different server configs. My guess is that this "re-programming" is actually changes that need to be made at the server level - usually by your hosts.

  10. hhusted
    Member
    Posted 3 years ago #

    Well, tell me Mr. Script Writer, why all the other websites are working fine on the same server. Just the one is not. This is why it is not a server issue. You may have been writing scripts to run databases and programs, but I installed and configured PCs and networks for 16 years and do know about server configuration. I also installed and worked with various database. So I know what they do.

    When I contacted my hosting company, they had to re-program the database just so the installation in the sub-directory would work. However, after I started working with adding pages and posts, and kept getting "not found" error messages, I uninstalled WP in the sub-directory and re-installed it in the root. After I did that, everything worked perfectly and still does.

    By the way, i just checked and found the other websites do have WP installed in sub-directories and they work fine. I didn't realize this until I looked again. So scratch the idea about WP not working in sub-directories, because they do. That is my fault. Thankfully, I double-checked and noticed it. So I re-tract that statement.

    The bottom line is that the installation file seemed to have gotten corrupted, causing it not to work correctly in that particular sub-directory. I could have re-installed it in the sub-directory again, but didn't want to take the chance.

  11. esmi
    Forum Moderator
    Posted 3 years ago #

    Well, tell me Mr. Script Writer

    That's "Ms" to you ;-)
    And there is no such operation as "reprogramming" a database. Don't take my word for it. Ask any other PHP developer.

  12. hhusted
    Member
    Posted 3 years ago #

    Excuse me. Have you ever worked as a database administrator? Have you ever installed, set up, and configured databases from scratch?

  13. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you ever worked as a database administrator?

    Yes

    Have you ever installed, set up, and configured databases from scratch?

    Yes

  14. hhusted
    Member
    Posted 3 years ago #

    Then you know a database can be programmed. I took plenty of database courses in college and the one thing they talked about many times, especially during presentations in class, is that databases can be programmed. If you ever set up a database, then you know you don't have to create fields by the GUI. You can go into the back end and wrote code that will allow the database to do exactly what you want it to do. This makes the database more sophisticated than simply creating fields with data in them.

    I use to program a database using C++ and another language, that I can't seem to remember off the top of my head. I would go into the main database file and write code for each field to do certain things. It was a lot of hard work, but also a lot of fun.

    So yes databases can be programmed to work certain ways.

  15. esmi
    Forum Moderator
    Posted 3 years ago #

    A MySQL database cannot be programmed. It can only be queried, updated etc.

  16. hhusted
    Member
    Posted 3 years ago #

    I guess you don't know much about databases. I am a certified database programmer. I've programmed databases, even MySQL. I used to know how to get into a database from the back end. You only got in from the front end. Most programmers I know about were taught to get into a database from the front end. I learned the opposite.

    Anyway, I am done with this conversation. Think what you will, but I know the score.

Topic Closed

This topic has been closed to new replies.

About this Topic