WordPress.org

Ready to get started?Download WordPress

Forums

phpMyAdmin Issues- HELP PLEASE (8 posts)

  1. Shazza
    Member
    Posted 6 years ago #

    Hi
    I am new at this,know nothing about PhP etc...
    in accidentaly installed phpMyAdmin on my blog's root directory, now each time i acces my blog, it takes me to the phpMyAdmin login page.

    I have tried to create Another folder where i can instal phpMyAdmin, hoping it will reverse the first action, but end up having 5 root directory as phpMyAdmin homepage...

    ANY HELP PLEASE

  2. whistler2020
    Member
    Posted 6 years ago #

    to have your blog located at your root directory you need to have a file named index.php which contains....

    <?php
    session_start();
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    make sure there are no spaces outside the <?php ?>

    if wordpress is installed in a folder then you need to add the folder name to the link

  3. Shazza
    Member
    Posted 6 years ago #

    It was initially fine, i fiddled around and messed things a bit, on my index.php the phpMyAdmin site and a lot of gibering appears, i have used the folder's name to the link
    this is how it now looks like
    http://www.nonhlanhla.com/shazzasblog

  4. Shazza
    Member
    Posted 6 years ago #

    thanks that worked, but now the readme and licence files still refer to phpMyAdmin, if i tried to upload these anew would it work?

  5. whistler2020
    Member
    Posted 6 years ago #

    i see two different setups....wordpress in the folder and a main site at the root...so phpmyadmin is no longer an issue?

    what exactly are you trying to do now?

  6. Shazza
    Member
    Posted 6 years ago #

    i just used your earlier advise and it worked, wordpress is the main site, but when i look into the Licence and Read file it still makes reference to phpmydamin, should i worry about that? or just leave it as it is.
    the entire folder was messed up, i have just rectified the index.php

  7. whistler2020
    Member
    Posted 6 years ago #

    i think that your index.php file has gone missing

  8. Shazza
    Member
    Posted 6 years ago #

    Sorted now
    all i had to do, was to delete all the other phpMyAdmin files... and now its all good

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.