WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] HELP editing theme function deleted site. Can't start again. (6 posts)

  1. sierraspiano
    Member
    Posted 2 years ago #

    Please Help.

    My URL is http://www.sierraspiano.com.au.
    Im hosted by WP Hosting Australia and the domain is registered with Crazydomains.com

    1. (Ignorantly) I edited the original twentyeleven 'theme function' in html format (I believe I should say something like .php css) whilst attempting to add an automtic 'delete date/time' function. I did not have a backup.

    Now the only thing that occurs when accessing the site is ' Parse error: syntax error, unexpected '}' in /home/sierrasp/public_html/wp-content/themes/twentyeleven/functions.php on line 248'.

    2. I read on an old forum that suggested I can use a FTP to upload the wordpress files again and start from scratch.

    I downloaded the 'clean' twentyeleven theme and I downloaded firezilla and (I think) managed to upload the new files successfully.

    3. However, now I try to log into wordpress and it says 'Already Installed
    You appear to have already installed WordPress. To reinstall please clear your old database tables first.'

    A lot of advice in the forums suggests I can open a file called wp-config.php and edit it. However, I assume those people can get into their websites, which I can not. Regardless I can't figure out how anyway and am becoming lost in the jargon.

    4. I just want to start again from scratch (save the domain name being attached to a wordpress site.)
    I can not log in (in any way) to my wordpress admin.
    Firezilla does not seem to help.

    Please advise, as this is an urgent request!!!!!!!!!!!!!!!!!!!!
    Thank you thank you thank you

    p.s I am in no way versed on computer or internet jargon so please keep that in mind when responding.

  2. You know... with all due respect... this situation presents itself more often than not. A user goes in with no understanding of php and begins modifying the files....

    First... NEVER edit core files. They will be overwritten the next time you update your theme or WordPress.

    Second... How are we to explain how to fix it if you are unfamiliar with the terminology?

    Third... I understand YOU feel your request is urgent. However, again with all due respect, it is not urgent to me... and probably not urgent to the hundreds of other people who volunteer their time here on the forum.

    So, thank you for reading my rant.

    And, I do have to give you props for doing some "homework" before posting here on the forum. At least you have already tried some steps before coming here. Thank you :)

    Okay... here we go...

    1. How did you install WordPress originally? Did you do a "one-click" or did you upload the files manually... and create your database manually?

    2. If you want a fresh install... and don't care about any content which was already created... then just get rid of it ALL.

    3. Delete all of you WordPress files in the directories of your site.

    4. Delete the database you created.

    5. Begin fresh with a new installation of WordPress.

    Hope this helps you...

  3. sierraspiano
    Member
    Posted 2 years ago #

    Thank you Josh... I have learned my lesson when it comes to editing php.

    I apologise for your grievances as a result of my foolishness! (Though for philosophy's sake I must point out that the ignorant are just so, and therefore would have little inclination that they were so dangerously ignorant until proven to be :/...like me).

    I have deleted all wordpress files and re-installed. Yet now there appears to be a server error (The requested URL / was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.)

    However, I feel you have done as best you can in advising me and will seek further advice with my hosting provider.

    Thanks again.

  4. ramlal.tr
    Member
    Posted 2 years ago #

    hi sierraspiano,
    after uploaded files u can config the db settings in a file like wp-config
    more details.. [ redacted, support is offered via the forum and not email ]

  5. Please don't apologize :) You know what you did. I just get carried away sometimes.

    And I LOVE your philosophical rebuttal.

    Did you also delete your database, create a new one, and enter the new credentials into your new wp-config file of your new installation?

  6. sierraspiano
    Member
    Posted 2 years ago #

    Thanks Josh and ramlal.tr, I seem to have deleted some core files and now need to have my host provider fix my mistakes. I will consider this post resolved since there is nothing left for anyone to do! (expect maybe cross their fingers for me).

Topic Closed

This topic has been closed to new replies.

About this Topic