Support » Fixing WordPress » WP showing parent directory and other files

  • I have installed wp on my site
    problem is that when you got here it is just a page that shows all types of files from my website. I have checked the config file and it had all the rt information I think. However I am barely a webmaster and do not know much about installing scripts. I used fantastico to install this on my server.
    Can someone please take a look at this page and give my some ideas to what I could have done wrong to create this error.
    Thank you in advance for your time and consideration
    Anthony Veneziano

Viewing 9 replies - 1 through 9 (of 9 total)
  • 1. The installation wasn’t correct, see:
    2. It also might be that on your server index.php is not set as a valid index file. Ask your host.

    Check with your web host to make sure they have “index.php” set up as a legit index file….

    Here is the info from my SQL for the Db I created
    DBI:mysql:wwwven7_wrdp1:localhost”,”wwwven7_wrdp1″,”<PASSWORD HERE>”);

    And here is the info in my config file
    define(‘wwwven7_wrdp1’); // The name of the database
    define(‘DB_USER’, ‘wwwven7_wrdp1’); // Your MySQL username

    Can you tell me what I need to do because as far as I cna tell everything looks OK to me
    I have another SQL databases but it used for a different site.
    Thank you for such a speedy reply
    Anthony VEneziano

    Maybe you need in the define db line of your wp-config.php the whole thing? wwwven7_wrdp1:localhost

    that value is defined in the line of code below the snipet Idisplalyed ablove
    See example of it below

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change

    Thank you very much for your input it is greatly appreciated.

    Ah. Okay, just wondered – many hosts have oddball stuff for their db setup input….

    So you’re sure you have the db stuff input correctly. Just double check with your host to be sure “index.php” is a legit index file, and post back with that info, and let’s see what else we can dig up….

    Okk I have the problem fixed
    message from hosting support

    > Hello.
    > I’ve add “DirectoryIndex index.php” in your
    > /home/wwwven7/public_html/exclusivecoupons/.htaccess and did some
    > changes in your WP configuration file.
    > The problem has been fixed.

    NOw does anyone know how I change the title of my blog?
    Thanks alot for all your help everyone
    as I just lost my webmaster and know I am the current one
    I am pretty new at all this stuff
    Thanks Again

    Dont answer my last question as I have already done so myself
    Tahnks again all

    This thread IS done
    Hopefully it helps someone in the future

    Oh good! That’s great, let us know when you’re ready to show it off!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP showing parent directory and other files’ is closed to new replies.