WordPress.org

Ready to get started?Download WordPress

Forums

[RELEASE] WP-phpMyAdmin plugin (29 posts)

  1. silpstream
    Member
    Posted 8 years ago #

    I just created a plugin that incorporates phpMyAdmin (database management) directly into the WP admin console. Installing is the same as any other plugin and you won't even need to worry about the phpMyAdmin setup scripts or double logins. Check it out and let me know what you think.

    http://www.silpstream.com/blog/wp-phpmyadmin/

  2. yosemite
    Member
    Posted 8 years ago #

    Selecting it (after install/activation) from admin menu gives me a 404. Path issue? I have WP in a sub-directory (e.g.; /wordpress/wp-admin/).

  3. manstraw
    Member
    Posted 8 years ago #

    Just tested it. Seems to work good. And it's a newer version of phpmyamdin than I have on my server! :p

    Test was in wordpress 2.0.3 on linux with blog in subdir (i.e. in domain.com/blog)

    handy stuff. I too could do without going through the extra login process.

  4. yosemite
    Member
    Posted 8 years ago #

    man: index.php in / or /blog?

  5. manstraw
    Member
    Posted 8 years ago #

    in blog

  6. yosemite
    Member
    Posted 8 years ago #

    Hmm. Mine's in /.

  7. manstraw
    Member
    Posted 8 years ago #

    well, maybe a hard path in there by accident, or some such similar thing.

  8. silpstream
    Member
    Posted 8 years ago #

    Yosemite,

    I'm a bit lost here with the dir structure you have. There aren't any hardcoded 'includes' in the plugin. But could you explain the difference in the way you have things installed. I just started using WP about 1 month ago so I'm still trying to catch up. :)

  9. moshu
    Member
    Posted 8 years ago #

    I don't want to speak in the name of Y. - but it seems the setup he described is:
    - index +htaccess in root
    - WP in its own dir
    see details: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  10. yosemite
    Member
    Posted 8 years ago #

    Not sure why it would have any effect either (regarding getting my custom 404 page).

    WordPress address (URI): domainname.com/wordpress
    Blog address (URI): domainname.com

  11. silpstream
    Member
    Posted 8 years ago #

    Yose,
    Correct me if I'm wrong. The 404 is in the iframe in the phpmyadmin option panel right? I can't recreate this because I have a diff setup, but if that is where the 404 is, then is there a way that you could tell me what path it is looking for, or you could open up the 'wp-phpmyadmin.php' file and look at the bottom for the iframe part and adjust the relative link that I have there.

  12. yosemite
    Member
    Posted 8 years ago #

    Sorry for the late response, but I'm thinking local problem: Since I first tested it I upgraded to a nightly build (19th) and have been looking at some other issues...

    I downloaded WP-phpMyAdmin 2.8.2 again and reinstalled (on WP 2.1 alpha2) and it works beautifully. And I mean that ;')

    moshu: No problem, you were spot-on.

  13. silpstream
    Member
    Posted 8 years ago #

    Yosemite,
    That's great to hear! I was tearing my hair out earlier trying to reproduce the problem. I even setup a separate test install following the instructions that Moshu sent... lol...

  14. Trent Adams
    Member
    Posted 8 years ago #

    Not sure why, but I installed the plugin and it activated fine. When I went to the page in 'manage' it just brought up my site in the preview window and nothing else. Sorry if I am missing something, but I am not sure why it isn't working or what to do next.

    Trent

  15. silpstream
    Member
    Posted 8 years ago #

    Trent,

    Could I get a bit more info? Your site url? Your WP version? I've only tested this on 2.0.3 since that's what I use. I'd also possibly linke to know if you have a special directory structure. Thanks!

  16. silpstream
    Member
    Posted 8 years ago #

    Trent,
    One more thing. Can you make sure that the plugin is installed while I check it. I want to look at the error messages that I get.

  17. Trent Adams
    Member
    Posted 8 years ago #

    I am running in a blog in a subdirectory. I am using WordPress 2.0.3 as well. My blog is located at:

    http://blog.trentadams.ca

    Trent

    Please email me at trent dot adams at gmail dot com about this matter further

  18. silpstream
    Member
    Posted 8 years ago #

    Trent,
    I just noticed that you only moved the wp-phpmyadmin.php file to your plugins folder. You need to unzip and move the whole wp-phpmyadmin directory (including all the files in it) to your plugin folder and reactivate.

  19. Trent Adams
    Member
    Posted 8 years ago #

    Ahh....simple fix and it works great. Thanks!

    Trent

  20. Ovidiu
    Member
    Posted 8 years ago #

    hello,

    running the newest version of wp and of wp-phpmyadmin. when trying to access the wp-phpmyadmin I get an 403 error. after looking into my plugins directory I found an .htaccess file denying every access.

    where could that come from? is that standard in wp 2.0.3 ?
    How to rewrite the .htaccess to only allow access to url/wordpress/wp-content/plugins/wp-phpmyadmin ?

  21. Ovidiu
    Member
    Posted 8 years ago #

    I found I had already had problems with this .htaccess file, last time I had problems I deleted it and all problems were gone, but now it is back. Thats why I suspected it was part of wordpress...

    any thoughts on this?

  22. manstraw
    Member
    Posted 8 years ago #

    I'm not aware of wordpress doing that. It's never done it to me. Do you have a control panel for your webhost that has some 'security' features?

    Perhaps you could post your .htaccess file here. Our collective eyes can look at it and advise.

  23. silpstream
    Member
    Posted 8 years ago #

    Man,

    He sent this to me separately, but the contents are as follows:

    order allow,deny
    deny from all

    I've not seen WP do something like this. If it is in the plugins folder you should be denied access to all plugins that are happening via http.

    I do have 2 files with these rules that I included in the plugin. They appear in 'libraries' and 'scripts'. But should not ever appear in the main plugins directory.

    Ovidiu, if you are getting this it is from somewhere else, and you can be sure that that is causing the 403 errors that you have. As for WP-phpMyAdmin, are you sure that you uploaded the entire directory, as it comes when you unzip it, to your plugins directory? However unless the .htaccess thing is fixed, the plugin won't work. Try deleting the htaccess file for now and test the plugin so that you can close this thread and start a new one to address the htaccess problem specifically.

  24. Samuel B
    moderator
    Posted 8 years ago #

    Great plugin, slipstream. Unzipped and working like a champ on 2.0.3. Maybe I could even teach some clients how to use it.:>)
    Thanks for your work!

  25. silpstream
    Member
    Posted 8 years ago #

    Samboll,

    Thanks for that!!! Care to leave the feedback on my site instead... lol... ;)

  26. manstraw
    Member
    Posted 8 years ago #

    Actually, I'll go leave some feedback on your site as well. I consider this plugin fairly useful, although I worry slightly about the potential for someone to cockup their database.

    It's dumb question time. Is it only the admin user that can access it? (I would expect so) I'm wondering if access to it could be set in the roles manager plugin.

  27. Samuel B
    moderator
    Posted 8 years ago #

    "I'm wondering if access to it could be set in the roles manager plugin."

    It can be added to the "Custom Capabilities", so I'm assuming "yes". Testing further.

  28. silpstream
    Member
    Posted 8 years ago #

    It actually will only work for someone with access level of 8 and above.

  29. beretta
    Member
    Posted 7 years ago #

    I have just installed the latest vesion of WordPress. Then I downloaded and installed this plugin. It activated fine, but then when I try to use it under the "manage" tab, I get this "Not Found" error: http://www.beretta-online.com/error.jpg

    I appear to be doing everything right. Site = http://www.beretta-online.com, blog address = http://www.beretta-online.com/wordpress

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic