WordPress.org

Forums

[resolved] I think I broke my site (28 posts)

  1. tarotmeister
    Member
    Posted 3 years ago #

    I've been trying to create a child theme and having trouble doing so on GoDaddy's ftp manager. So, I decided to try it on FileZilla which I've been working with for 4 or 5 years. As I was downloading my info into FileZilla I saw an old "Page under construction" index file I had up before I came with WordPress. I tried to delete it. I deleted the wrong index! Now all I can bring up is the old "Page under construction" index file page. Is there anything I can do to fix this? Or will I have to start from scratch and reinstall WordPress? Or what?

  2. Roy
    Member
    Posted 3 years ago #

    Just download WP and upload the missing file again.

  3. tarotmeister
    Member
    Posted 3 years ago #

    I'm not sure how to do that - the missing file is my website's index file.

  4. govpatel
    Member
    Posted 3 years ago #

    You need upload index.php file back to where your wp-config.php file is

  5. Roy
    Member
    Posted 3 years ago #

    http://wordpress.org/download/

    There you download the version of WP that you've got running. Find the file that you deleted and upload it to the server.

  6. tarotmeister
    Member
    Posted 3 years ago #

    I have been working on my site online, so when I deleted that file, I deleted it from my host (GoDaddy). I didn't have it backed up anywhere. That being said, how do I get that missing index file into WP when I download it? I know it's pretty simple for you guys but it's confusing as h--l to me. Duhhhhh.

  7. voala
    Member
    Posted 3 years ago #

    just download the archived wp zip file from http://wordpress.org/download/. Unzip it, and you will find the index.php file in there. Upload and overwrite the file by FTP and that is that.

  8. tarotmeister
    Member
    Posted 3 years ago #

    I did that (I think) but nothing changed. This is what comes up: http://tarotmeister.com/. What now?

  9. govpatel
    Member
    Posted 3 years ago #

    See if you have other index file or default file other then the one you uploaded delete or rename the file

  10. tarotmeister
    Member
    Posted 3 years ago #

    I have three index files on the right side of FileZilla. They are:
    index-extra.php
    index.html
    index.php
    The first and last try to open Microsoft Digital Image but the files don't come up.
    The middle one brings up that Under construction page

  11. govpatel
    Member
    Posted 3 years ago #

    it is index.html file rename the file to index-hold.html

  12. tarotmeister
    Member
    Posted 3 years ago #

    on the right side, right? That's what I did, nothing happened...

  13. govpatel
    Member
    Posted 3 years ago #

    Do have any other website in your root other then wordpress
    If you do not have any content like posts or pages setup I would reinstall

  14. tarotmeister
    Member
    Posted 3 years ago #

    Do have any other website in your root other then wordpress

    The only thing that was left over from my other program was that one under construction page and I don't understand that because I thought I had deleted everything from GoDaddy before installing WP.

    If you do not have any content like posts or pages setup I would reinstall

    I had completely setup my whole website, around 60 pages. That's why I really hoped I wouldn't have to start from scratch again. I have all the necessary text but I used a lot of pictures for effect and that was very time consuming.

  15. govpatel
    Member
    Posted 3 years ago #

    Then do not do any thing let us try this add this
    Indexdirectory index.php index.html
    on first line of .htaccess file which is a hidden file you will need allow to see the file

  16. tarotmeister
    Member
    Posted 3 years ago #

    I can't find .htaccess. Before I take any chances...should I make the changes on the left side of FileZilla?

  17. govpatel
    Member
    Posted 3 years ago #

    Left side of filezilla is what you have on your computer right side is what you have on server.
    Is there any way you can meet me on Skype my id is govindjip

  18. tarotmeister
    Member
    Posted 3 years ago #

    I don't have skype. It looks to me like I have created that child theme. It shows up as a folder and I can switch it over to those files. It seems to contain all the files. If I add those files to the wp-admin file should that get me back the file I deleted? The way I think I would do it is to delete the files that are there now and just replace them with the twentyeleven_child files. Should that get back the missing file?
    Something else - nearly all the files are showing up as Digital Image files (the camera icon) but I can't open any of them. The notice says it is an unsupported file. This is both on the computer files and the server files. Are they supposed to be picture files?

  19. govpatel
    Member
    Posted 3 years ago #

    No you are will be doing all wrong.
    Log in Go daddy account
    Do this delete every thing you have in html folder except for wp-content folder and wp-config.php

    Using ftp upload all wordpress files and folders except wp-content folder

    now see if you have your wordpress back

  20. Digital Raindrops
    Member
    Posted 3 years ago #

    Hi Gary,
    Are you on the latest release of WordPress?

    David

  21. Digital Raindrops
    Member
    Posted 3 years ago #

    index-extra.php is a file from wp-admin, there should be an index.php up one level in the main directory, in filezilla right mouse and open/edit this file it should say.

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    If not then upload via FTP the index.php file from the WordPress download to the main WordPress directory, this is the one where the wp-admin folder is.

    HTH

    David

  22. tarotmeister
    Member
    Posted 3 years ago #

    New Question: If I were to download WP directly to GoDaddy would that lose my previous files and leave me having to totally rebuild the site?

    The reason I'm asking this is, I can't open any of my files. They all try to open in Digital Image and then I get a notice that they are "unsupported files". How can I work with them if I can't open them?

  23. Digital Raindrops
    Member
    Posted 3 years ago #

    Ok, lets start again,

    1. Were you running the latest WordPress install?
    2. Which folder (directory) did you delete the index.php from?
    3. Have you downloaded and unzipped the WordPress install?

    As I was downloading my info into FileZilla I saw an old "Page under construction" index file I had up before I came with WordPress.

    Downloading or uploading, if you were uploading what files and where?

    Asking more questions and not answering them, is only making things more complicated!

    • The main website files are in the Root
    • The /wp-admin/ files should not be touched
    • The themes are in /wp-content/themes/
    • The Plugins are in /wp-content/plugins/
    • Your Images are also in /wp-content/uploads/
    • You should not be touching any root files except wp-config.php and .htaccess
    • You should not delete these or anything in the /wp-content/ folder

    Regards

    David

  24. tarotmeister
    Member
    Posted 3 years ago #

    Ok, lets start again,

    Were you running the latest WordPress install?
    Yes, 3.2.1

    Which folder (directory) did you delete the index.php from?
    From the root file on the server side of FileZilla (the right)

    Have you downloaded and unzipped the WordPress install
    Yes I have. I can't open the files (at least most of them) they're all picture files.
    Gary

    As I was downloading my info into FileZilla I saw an old "Page under construction" index file I had up before I came with WordPress.

    Downloading or uploading,
    Downloading; actually I was trying to see if I could do that so I can work in the file instead of on the internet

    if you were uploading what files and where?
    Asking more questions and not answering them, is only making things more complicated!

    Sorry...

    Regards
    David

  25. Digital Raindrops
    Member
    Posted 3 years ago #

    Ok,

    Yes I have. I can't open the files (at least most of them) they're all picture files.

    That would be because there is no editor assoiciated with the type .php

    If you are using to look at the files 'Windows Explorer', then Organize > Folders and search options > View > Show extentions for know file types (unchecked)

    Select one of the .php files and right mouse click and open with, choose notepad or download notepad++.

    Uploading the files using FileZilla from the download.
    Just upload the file index.php and the folder /wp-admin/, and test again, these files should correct the index.php problem.

    FileZilla should look something like this, and the files are highlighted:
    http://digitalraindrops.net/images/filezilla.png

    It is late in the UK, so I hope someone else will help from here.

    HTH

    David

  26. tarotmeister
    Member
    Posted 3 years ago #

    I've gotta go to bed. I'll try that in the mornin' Thanks very much to both of you for having so much patience. I'm sure I'll be back tomorrow.

  27. tarotmeister
    Member
    Posted 3 years ago #

    Hi folks,

    My total ignorance and lack of understanding have gotten me so frustrated I would rather just rebuild my site from scratch. I've got a 70 year old brain and it is sometimes slow at picking up new things. Once I get WP reinstalled, I would like to develop a child theme so I can do the customizing I want to do. I'm going away for a week - leaving early tomorrow - so I won't be bothering you for at least that long.

    One more question, that's all for now - I promise! ;-)

    If I call my server (GoDaddy) and have them wipe my files clean can I then just reinstall WP and start rebuilding? I would at least like to create a decent looking rebuilding notice before I leave.

    Please answer this one and I'll leave you along for a week or so. :-)

    Thanks for all your help ~ Gary

  28. Digital Raindrops
    Member
    Posted 3 years ago #

    GoDaddy could likely restore your files back a couple of days, the database has the content and that would not have been damaged, if I read this right there could be an auto backup for you to restore, ask them what this means.

    NOTE: WebSite Tonight also creates two (2)auto-backups that are created during template changes and three (3) pre-publish backups.

    If not ask them if they could restore the directory files.

    HTH

    David

Topic Closed

This topic has been closed to new replies.

About this Topic